[Include] [INC] Custom Instagib [0.3]
#1

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
Reply
#2

This inc is usefull for hitman Great Job!
Reply
#3

Thanx
Reply
#4

Nice release, thanks.
Reply
#5

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)