How anti sk dont work?
#3

Quote:
Originally Posted by Flamehaze7
View Post
I never used 'RangeOfPoint' but here's how i'd do it:

Top of the code:
Code:
new AntiSK[MAX_PLAYERS];
OnPlayerConnect
Code:
AntiSK[playerid] = 0;
OnPlayerSpawn
Code:
AntiSK[playerid] = 1;
SetTimerEx("AntiSpawnKill",5000,false,"d",playerid);
Code:
public AntiSpawnKill(playerid)
{
AntiSK[playerid] = 0;
}
OnPlayerTakeDamage
Code:
if(AntiSK[playerid] == 1) SetPlayerHealth(issuerid, 0);
That should work just fine
Ok thanks i will do how you said, bat maybe you can explain why "RangeOfPoint" are bad?
Reply


Messages In This Thread
How anti sk dont work? - by Pokemon64 - 13.03.2017, 12:22
Re: How anti sk dont work? - by Flamehaze7 - 13.03.2017, 12:33
Re: How anti sk dont work? - by Pokemon64 - 13.03.2017, 12:42
Re: How anti sk dont work? - by Toroi - 13.03.2017, 12:46
Re: How anti sk dont work? - by Flamehaze7 - 13.03.2017, 12:47
Re: How anti sk dont work? - by Pokemon64 - 13.03.2017, 12:50

Forum Jump:


Users browsing this thread: 1 Guest(s)