SA-MP Forums Archive
[FilterScript] Anti Spawn Kill [08.10.2011] Version 1.0 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Anti Spawn Kill [08.10.2011] Version 1.0 (/showthread.php?tid=288582)



Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Anti Spawn Kill
Hello everybody today i got great idea about Anti Spawn Kill and i think its good.When player Spawn dialog will show up with 2 cases.One is Spawn Kill On.If you type that on.Textdraw will show you.If you click off then you your heath will be on 100.0.I got this idea by my friend which got greats ideas how to make a great FS.

Screen/Video
[ame]http://www.youtube.com/watch?v=s_P7XOB0iwY[/ame]

Download
Pastebin.com
Mediafire.com


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - Wispo - 08.10.2011

Cool one FS good job!!


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Quote:
Originally Posted by Wispo
Посмотреть сообщение
Cool one FS good job!!
Thanks XD


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - [MWR]Blood - 08.10.2011

It is simple and can be abused to kill other players in those 15 seconds.


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
It is simple and can be abused to kill other players in those 15 seconds.
I know in next version time will be lower


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - [MWR]Blood - 08.10.2011

Quote:
Originally Posted by SpiderWalk
Посмотреть сообщение
I know in next version time will be lower
No, just detect if a player is shooting while he is being "protected".


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - DRIFT_HUNTER - 08.10.2011

There is no need for protect variable and other things

pawn Код:
OnPlayerSpawn(playerid)
{
    SetPlayerHealth(playerid, 9999);
    SetTimerEx("UnProtect", 5000, 0, "d", playerid);
    return 1;
}

forward UnProtect(playerid);
public UnProtect(playerid)
{
    SetPlayerHealth(playerid, 100);
    return 1;
}
Also
pawn Код:
SetTimerEx("UnPro", 7000, 0, "i");
Its working for you cos its returning 0 replace that "i" and add playerid behind


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
No, just detect if a player is shooting while he is being "protected".
Ok,I will delet dialogs and i will give maybe new system


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - [MWR]Blood - 08.10.2011

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
There is no need for protect variable and other things

pawn Код:
OnPlayerSpawn(playerid)
{
    SetPlayerHealth(playerid, 9999);
    SetTimerEx("UnProtect", 5000, 0, "d", playerid);
    return 1;
}

forward UnProtect(playerid);
public UnProtect(playerid)
{
    SetPlayerHealth(playerid, 100);
    return 1;
}
Also
pawn Код:
SetTimerEx("UnPro", 7000, 0, "i");
Its working for you cos its returning 0 replace that "i" and add playerid behind
What?!?! Where are you returning 0?!


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - DRIFT_HUNTER - 08.10.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
What?!?! Where are you returning 0?!
Not me him check out code in pastebin


Re : Anti Spawn Kill [08.10.2011] Version 1.0 - Naruto_Emilio - 08.10.2011

Simple..., but nice.


Re: Re : Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Quote:
Originally Posted by Naruto_Emilio
Посмотреть сообщение
Simple..., but nice.
Finaly positive reply thank you


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - vassilis - 08.10.2011

omg man returning 0??btw its a nice filterscript good luck with it..


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 08.10.2011

Quote:
Originally Posted by vassilis
Посмотреть сообщение
omg man returning 0??btw its a nice filterscript good luck with it..
Thanks


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - Flake. - 09.10.2011

Really nice FS, would be nice for a TDM or even a DM serve r


Re: Anti Spawn Kill [08.10.2011] Version 1.0 - SpiderWalk - 10.10.2011

Quote:
Originally Posted by (*|Flake|*)
Посмотреть сообщение
Really nice FS, would be nice for a TDM or even a DM serve r
Thanks