SA-MP Forums Archive
[Include] [INC] Custom Instagib [0.3] - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Custom Instagib [0.3] (/showthread.php?tid=111852)



[INC] Custom Instagib [0.3] - _[HuN]_Epsilon_ - 04.12.2009

In the new version of SA:MP the creaters took out the instagib feature, what means 1 shot = 1 kill.

This is the death new for the paintball servers? - Not yet.


I made this include, becouse i have a paintball mode and if this include isnt that is unuseable.

This include contains 3 functions SetInstagib(value), GetInstagib() and InstagibUpdate(id).

How to use it?

Paste the downloaded file to your includes.

Write this under #include <a_samp>:

pawn Код:
#include "e-instagib.h"
Write to the OnPlayerUpdate this:
Код:
InstagibUpdate(playerid);
Use SetInstagib(value) on GameModeInit or FilterScriptInit to set the feature as you want.
If you write to the value 0 or a number above 100, you disable it.
The value means the sensitivity of the include. Closer to 0 more sensitivity.

If you want to get the set of instagib just use the GetInstagib, what simply returns that.

Example gamemode: http://forum.sa-mp.com/index.php?topic=136956.new#new


Epsilon



Re: [INC] Custom Instagib [0.3] - skaTim - 04.12.2009

This inc is usefull for hitman Great Job!


Re: [INC] Custom Instagib [0.3] - _[HuN]_Epsilon_ - 04.12.2009

Thanx


Re: [INC] Custom Instagib [0.3] - acade - 04.12.2009

Nice release, thanks.


Re: [INC] Custom Instagib [0.3] - _[HuN]_Epsilon_ - 04.12.2009

Thank you.