25.08.2009, 19:55
Your use of the 'strcmp' function is incorrect for what you'retrying to achieve.
That's better.
Also, on the line with the format, change "cmdtext[0]" to "cmdtext[4]"
remove the "&& i!=playerid" from your 'if' statement
and last but not least, remove the "SendClientMessage(playerid,COLOR_PURPLE,strin g);" line.
pawn Код:
if(!strcmp,cmdtext[1],"me",true,2))
Also, on the line with the format, change "cmdtext[0]" to "cmdtext[4]"
remove the "&& i!=playerid" from your 'if' statement
and last but not least, remove the "SendClientMessage(playerid,COLOR_PURPLE,strin g);" line.