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