GetPVarInt problem
#1

....
Reply
#2

Just use to indentify if player is admin also
ex:
pawn Код:
if(GetPVarInt(pID, "Aduty") == 1 && IsAdmin[pID][Admin] < 1) return SendClientMessage(playerid, COLOR_RED, "You Cannot Expose Yourself To An Admin On Duty.");
that was just an example
Reply
#3

Try it

pawn Код:
if(!GetPVarInt(playerid, "Aduty")) return SendClientMessage(playerid, COLOR_RED, "You Cannot Expose Yourself To An Admin On Duty.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)