[Help]Slap CMD
#4

RandomGuy, your line says:

pawn Код:
if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "NOPE!");
That says if the player IS and admin, it will return the error. Make sure you add an exclamation mark (means ' NOT ' in pawn language)

pawn Код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "NOPE!");
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
Reply


Messages In This Thread
[Help]Slap CMD - by xRandomGuy - 12.12.2011, 23:16
Re: [Help]Slap CMD - by Storm203 - 13.12.2011, 00:16
Re: [Help]Slap CMD - by [HiC]TheKiller - 13.12.2011, 00:57
Re: [Help]Slap CMD - by grand.Theft.Otto - 13.12.2011, 01:00
Re: [Help]Slap CMD - by xRandomGuy - 13.12.2011, 01:51
Re: [Help]Slap CMD - by SomebodyAndMe - 13.12.2011, 05:28
Re: [Help]Slap CMD - by suhrab_mujeeb - 13.12.2011, 07:13
Re: [Help]Slap CMD - by SomebodyAndMe - 13.12.2011, 07:34
Re: [Help]Slap CMD - by shitbird - 13.12.2011, 10:07
Re: [Help]Slap CMD - by grand.Theft.Otto - 13.12.2011, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)