14.02.2014, 02:05
I'm making a /fakeban command, where you type /fakeban and then it'll make it look like they got banned to other players.
I don't get how I could make a way to input the reason. Can anyone offer me some help? I may have wrote this entirely wrong from the get-go, but I don't know. Thanks in advance.
Код:
if(strcmp("/fakeban", cmdtext, true) == 0 ) { new strs[100], xname[24], pname[24], reason[100]; format(strs,sizeof(strs),"{AA3333}AdmCmd{FFFF00}: %s was banned by %s, reason %s",pname, xname, reason); SendClientMessageToAll(playerid, strs); return 1; }