Checking
#1

Can some one post here the code that how to check if a player is an admin?
please!
Reply
#2

https://sampwiki.blast.hk/wiki/IsPlayerAdmin

Reply
#3

Search before you post please.
Reply
#4

if you mean not rcon admin.
then you need a enum + register system.

ex.

pawn Код:
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1, "Nice try n00b only for level 1 admins");
the code i give up works if player is not admin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)