Anti Spawn Kill [reps]
#8

Effectively, there's no way to make something happen after a certain exact time without the use of a timer. Also:
pawn Код:
if(gettime() - antispawnkill[playerid] < 10)/*10 stands for 10 seconds*/ return SetPlayerHealth(playerid, 100);
under OnPlayerTakeDamage will pretty much just make the player invincible. Every time they take damage their health will be restored to 100...
Reply


Messages In This Thread
Anti Spawn Kill [reps] - by SPA - 25.07.2014, 22:45
Re: Anti Spawn Kill [reps] - by David (Sabljak) - 25.07.2014, 23:25
Re: Anti Spawn Kill [reps] - by Sawalha - 25.07.2014, 23:41
Re: Anti Spawn Kill [reps] - by Wizzy951 - 25.07.2014, 23:43
Re: Anti Spawn Kill [reps] - by Threshold - 26.07.2014, 00:39
Re: Anti Spawn Kill [reps] - by BroZeus - 26.07.2014, 04:52
Re: Anti Spawn Kill [reps] - by Smileys - 26.07.2014, 07:05
Re: Anti Spawn Kill [reps] - by Threshold - 26.07.2014, 09:02
Re: Anti Spawn Kill [reps] - by Wizzy951 - 26.07.2014, 10:16
Re: Anti Spawn Kill [reps] - by arlindi - 26.07.2014, 10:20

Forum Jump:


Users browsing this thread: 2 Guest(s)