Admin Commands not working
#10

Quote:
Originally Posted by scottyishere
Посмотреть сообщение
REPLACE THIS:
pawn Код:
if(UserStats[playerid][Admin] >= 5 || IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR]"embed_white"You are not authorized to use this command!");
WITH THIS:
pawn Код:
if(UserStats[playerid][Admin] < 5 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR]"embed_white"You are not authorized to use this command!");
EDIT:

and this

pawn Код:
if(UserStats[playerid][Admin] >= 1 || IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR]"embed_white"You are not authorized to use this command!");
WITH THIS:

pawn Код:
if(UserStats[playerid][Admin] < 1 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR]"embed_white"You are not authorized to use this command!");
This one is working thanks +rep
Reply


Messages In This Thread
Admin Commands not working - by Sanady - 23.08.2012, 16:24
Re: Admin Commands not working - by ZBits - 23.08.2012, 16:33
Re: Admin Commands not working - by Sanady - 23.08.2012, 16:34
Re: Admin Commands not working - by [KHK]Khalid - 23.08.2012, 16:43
Re: Admin Commands not working - by Sanady - 23.08.2012, 17:04
Re: Admin Commands not working - by DeadLy™ - 23.08.2012, 17:06
Re: Admin Commands not working - by ZBits - 23.08.2012, 17:06
Re: Admin Commands not working - by scottyishere - 23.08.2012, 17:13
Re: Admin Commands not working - by Lordzy - 23.08.2012, 17:13
Re: Admin Commands not working - by Sanady - 23.08.2012, 17:23

Forum Jump:


Users browsing this thread: 3 Guest(s)