Problems with admin script
#8

Why using PVar's if you have AccInfo[playerid][OnDuty] on your script?

Also you are checking if player is lvl 1 or more, then if theyre on duty, if not, they will get text "Admin on duty\n Do NOT attack!"...

The problem is in this:
if(AccInfo[playerid][Level] >= 1)

should be:
if(AccInfo[playerid][_____ADMIN____] >= 1)
Reply


Messages In This Thread
Problems with admin script - by ColdIce - 21.05.2011, 10:57
Re: Problems with admin script - by Venice - 21.05.2011, 11:21
Re: Problems with admin script - by ColdIce - 21.05.2011, 11:23
Re: Problems with admin script - by ddnbb - 21.05.2011, 11:49
Re: Problems with admin script - by ColdIce - 21.05.2011, 11:53
Re: Problems with admin script - by ddnbb - 21.05.2011, 11:59
Re: Problems with admin script - by ColdIce - 21.05.2011, 12:08
Re: Problems with admin script - by ddnbb - 21.05.2011, 12:37
Re: Problems with admin script - by ColdIce - 21.05.2011, 12:39
Re: Problems with admin script - by ColdIce - 21.05.2011, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)