13.03.2017, 12:33
I never used 'RangeOfPoint' but here's how i'd do it:
Top of the code:
OnPlayerConnect
OnPlayerSpawn
OnPlayerTakeDamage
That should work just fine
Top of the code:
Code:
new AntiSK[MAX_PLAYERS];
Code:
AntiSK[playerid] = 0;
Code:
AntiSK[playerid] = 1; SetTimerEx("AntiSpawnKill",5000,false,"d",playerid);
Code:
public AntiSpawnKill(playerid) { AntiSK[playerid] = 0; }
Code:
if(AntiSK[playerid] == 1) SetPlayerHealth(issuerid, 0);