31.08.2013, 16:19
Hello again
again another thread, I hope I haven't exceeded a limit yet...
Anyways
I am making my admin system, and I'm doing very good, however I'm stuck at the kick and ban command (and pretty much all commands where the admin has to give a reason for the command)
So for example for this setlevel command:
I just use params "ui", id, level.
But if the admin has to give a reason how do I make one of the params a string?
so I can do this:
Any help?
Thanks in advance
again another thread, I hope I haven't exceeded a limit yet...
Anyways
I am making my admin system, and I'm doing very good, however I'm stuck at the kick and ban command (and pretty much all commands where the admin has to give a reason for the command)
So for example for this setlevel command:
pawn Код:
if(sscanf(params,"ui",id,level)) return SendClientMessage(playerid,-1,"Use: /setlevel <id> <level>");
But if the admin has to give a reason how do I make one of the params a string?
so I can do this:
pawn Код:
if(sscanf(params,"us",id,reason)) return SendClientMessage(playerid,-1,"Use: /ban <id> <reason>");
Thanks in advance