23.11.2012, 18:39
(
Последний раз редактировалось Tamer; 24.11.2012 в 19:18.
)
Alright, I am planning to make a command that will set the players admin to 4 which will turn them undercover.
I want it to work this way:
/command (password)
It won't be stored at any place,simply,it will give an error when you type the command: /command default and the password is default,making your admin level 4. But if you do /command madness it will say invalid password!
So I want the password to be editable besides can be used by anyone at any situation. If you write the wrong password it will give you an error.
Thanks
I want it to work this way:
/command (password)
Код:
CMD:pppucucuc(playerid,params[]) { SendClientMessage(id,RED,"You are undercover."); PlayerInfo[id][pAdmin] = 4; return 1; }
So I want the password to be editable besides can be used by anyone at any situation. If you write the wrong password it will give you an error.
Thanks