12.04.2016, 14:57
Checker for self-promoting/demoting:
Checker for promote/demote:
I've already told you for promoting
and for demoting? it's the same!
the only difference is /demoteadmin with same if() { } checker
Код:
if(playerid == targetid) // Checks if the playerid and targetid(the person to get promoted) is equal. return SendClintMessage(playerid, GREY, "You can't promote/demote yourself!");
I've already told you for promoting
and for demoting? it's the same!
the only difference is /demoteadmin with same if() { } checker