13.06.2014, 05:49
Problem with return that shows when trying to make myself admin in-game.
I wanna make the command to be able to make myself admin when even I'm logged in as RCON.
but I did it,everything fine in the gamemode success to compile but in-game it shows the error message I've put in the return string.
+rep for helpers
PHP код:
if(PlayerInfo[playerid][pAdmin] >= 6 || IsPlayerAdmin(playerid))
return SendErrorMessage(playerid, "ERROR: You are not able to access this command");
but I did it,everything fine in the gamemode success to compile but in-game it shows the error message I've put in the return string.
+rep for helpers