20.01.2013, 14:16
First of all, you should read this: http://forum.sa-mp.com/showthread.ph...ighlight=speed
Second of all: Is this your own script? In that case I presume someone gave you code without explaining.
If you're already storing admin levels in a 2D-array (PlayerInfo), then you can simply replace the GetPVarInt line with "PlayerInfo[ playerid ][ Admin ]":
Second of all: Is this your own script? In that case I presume someone gave you code without explaining.
If you're already storing admin levels in a 2D-array (PlayerInfo), then you can simply replace the GetPVarInt line with "PlayerInfo[ playerid ][ Admin ]":
pawn Код:
if(!IsPlayerAdmin(playerid) && PlayerInfo[ playerid ][ Admin ] <= 0)