Good day!!!
Have any a few questions - I think you can help me
Have any a few questions - I think you can help me
How do I display the third value in the chat?Here's an example
DataStore.Get("Players", Player.Name);
The FACT that after Player.Name = need to get in chat
DataStore.Get("Players", Player.Name);
The FACT that after Player.Name = need to get in chat
function On_PlayerConnected(Player) {
if(DataStore.Get("Players", Player.Name) == null){
Server.Broadcast("Player");}
if(DataStore.Get("Players", Player.Name) == "1"){
Server.Broadcast("VIP player");}
if (DataStore.Get("Players", Player.Name) == "2"){
Server.Broadcast("Moderator player");}
if(DataStore.Get("Players", Player.Name) == "3"){
Server.Broadcast("Admin player");}}
Made so that when connecting the player checked the grade and who is allowed to connect - but for some reason does not work..... the grades are prescribed in the database....
if(DataStore.Get("Players", Player.Name) == null){
Server.Broadcast("Player");}
if(DataStore.Get("Players", Player.Name) == "1"){
Server.Broadcast("VIP player");}
if (DataStore.Get("Players", Player.Name) == "2"){
Server.Broadcast("Moderator player");}
if(DataStore.Get("Players", Player.Name) == "3"){
Server.Broadcast("Admin player");}}
Made so that when connecting the player checked the grade and who is allowed to connect - but for some reason does not work..... the grades are prescribed in the database....