[FilterScript] Spawn Protected
#1

Hello to any and everyone! :P
Today I present my little FilterScript simply consists in having the Spawn protection ..
So for 10 seconds your life is unlimited.


download:
http://pastebin.com/KUWd8bmS

sorry for the mistakes I'm French
Reply
#2

wrong
SetPlayerHealth (playerid, 100,0);
* will cause error as will read 0 wich new parameter

correct
SetPlayerHealth (playerid, 100.0);
Reply
#3

Ah sorry ... I have not been paying attention
Reply
#4

Very Simple, but nice
Reply
#5

SetTimerEx ("SpawnProtection", 10000, false, "i", playerid); that is longer than 10 seconds.

Also, what if a player gets a weapon and starts shooting while invulnerable? You should turn off spawn protection as soon as they attack.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)