[Tutorial] Simple ZCMD Commands! (Using sscanf)
#5

i think there is an mistake in the end.

pawn Код:
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "(([!]You cannot access this command as you're not admin!))");

if(IsPlayerAdmin(playerid))
{
     Command here...
}
you forgot to add '!' . which checkes whether he isn't an admin

Anyway Good Job
Reply


Messages In This Thread
Simple ZCMD Commands! (Using sscanf) - by Keyhead - 29.10.2013, 22:07
Re: Simple ZCMD Commands! (Using sscanf) - by iAnonymous - 29.10.2013, 22:11
Re: Simple ZCMD Commands! (Using sscanf) - by DanishHaq - 29.10.2013, 22:13
Re: Simple ZCMD Commands! (Using sscanf) - by Keyhead - 29.10.2013, 22:14
Re: Simple ZCMD Commands! (Using sscanf) - by newbie scripter - 31.10.2013, 10:49
Re: Simple ZCMD Commands! (Using sscanf) - by Konstantinos - 31.10.2013, 11:03
Re: Simple ZCMD Commands! (Using sscanf) - by newbie scripter - 31.10.2013, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)