05.01.2014, 02:01
I'm trying to make a really simple command, however, it's not working for me. I might be doing something wrong.
What I need in this function, is /makeja - so that if you use the command, it will set [pAdmin] to 2. It will not let you use the command if you have the [pHelper] status of 1 and above.
I need it to logs/makeadmin - send a COLOR_LIGHTBLUE message to the player (SendPlayerMessageEx) saying 'You have been made a Junior Administrator by 'playername that used the command.'
Then it will send a message to the person that used the command. "You have made 'player name that you made a ja' a Junior Administrator.
Then it will ABroadCast a message in COLOR_LIGHTRED "AdmCmd: 'Playername' has made 'New Admin Name' a Junior Administrator.'
Thank you if you take time in doing this for me, it will be greatly appreciated.
What I need in this function, is /makeja - so that if you use the command, it will set [pAdmin] to 2. It will not let you use the command if you have the [pHelper] status of 1 and above.
I need it to logs/makeadmin - send a COLOR_LIGHTBLUE message to the player (SendPlayerMessageEx) saying 'You have been made a Junior Administrator by 'playername that used the command.'
Then it will send a message to the person that used the command. "You have made 'player name that you made a ja' a Junior Administrator.
Then it will ABroadCast a message in COLOR_LIGHTRED "AdmCmd: 'Playername' has made 'New Admin Name' a Junior Administrator.'
Thank you if you take time in doing this for me, it will be greatly appreciated.