Ban problem..
#2

Make a new global int:

At top of script
PlayerLogged[MAX_PLAYERS];

under OnPlayerConnect:
PlayerLogged[playerid] = 0;

under your Login Feature:
PlayerLogged[playerid] = 1;

Now edit your anticheat:
if(GetPlayerWeapon(i) == 36 || GetPlayerWeapon(i) == 37 && PlayerLogged[i] == 1)

Should work.
Reply


Messages In This Thread
Ban problem.. - by Unknownich - 16.12.2011, 18:03
Re: Ban problem.. - by GamingTurf - 16.12.2011, 18:08
Re: Ban problem.. - by Unknownich - 16.12.2011, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)