/report - Doesn't show Reason
#1

Well I made this /Report Command: http://pastebin.com/f113d3bf3
Now the thing is when i type /report [PlayerID] [Reason]
like so:
Код:
/report 0 Hacking
It shows:


What wrong with my Code?
Reply
#2

You have this on line 14:
pawn Код:
rReason = strlen(cmdtext);
this sets rReason to an integrer, equal to cmdtext's length xP

replace it with this:
pawn Код:
rReason = strtok(cmdtext, idx);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)