SetPvar
#5

Quote:
Originally Posted by LarzI
Посмотреть сообщение
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 ]":
pawn Код:
if(!IsPlayerAdmin(playerid) && PlayerInfo[ playerid ][ Admin ] <= 0)
I use an admin system of which I downloaded
I downloaded an fs as well which is called a temporary ban. I want to set the pVars for them to cross communicate (fs and the gamemode)
So that the /temporaryban command will work on my admin levels as well, instead of (IsPlayerAdmin)
Reply


Messages In This Thread
SetPvar - by Neil. - 20.01.2013, 12:52
Re: SetPvar - by Neil. - 20.01.2013, 14:13
Re: SetPvar - by LarzI - 20.01.2013, 14:16
Re: SetPvar - by Threshold - 20.01.2013, 14:17
Re: SetPvar - by Neil. - 20.01.2013, 14:37
Re: SetPvar - by LarzI - 20.01.2013, 14:41

Forum Jump:


Users browsing this thread: 2 Guest(s)