Is Player Admin?
#9

pawn Код:
if(sscanf(params, "s[50]", str)== 0) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /report [text]");
Just remove the == 0 in that line. sscanf returns 0 on success, and 1 on fail.
Reply


Messages In This Thread
Is Player Admin? - by Slash01 - 29.04.2011, 10:28
Re: Is Player Admin? - by Ironboy500[TW] - 29.04.2011, 10:49
Re: Is Player Admin? - by Sascha - 29.04.2011, 10:50
Re: Is Player Admin? - by Slash01 - 29.04.2011, 10:51
Re: Is Player Admin? - by Sascha - 29.04.2011, 11:04
Re: Is Player Admin? - by Slash01 - 29.04.2011, 11:19
Re: Is Player Admin? - by leong124 - 29.04.2011, 12:33
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:36
Re: Is Player Admin? - by Vince - 29.04.2011, 12:37
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:40

Forum Jump:


Users browsing this thread: 3 Guest(s)