[Include] double-damage.inc - 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] double-damage.inc (
/showthread.php?tid=658834)
double-damage.inc -
AmirSavand - 13.09.2018
Double Damage (v1.1)
View
code and
download:
https://gist.github.com/AmirSavand/8...11ffc20882d52b
Leave comments here or on the GitHub page if you have any questions/suggestions.
Installation
Just include it in the gamemode.
Usage
Call
SetPlayerDoubleDamage(playerid, duration) to make player do double amount of damage for a duration.
In my gamemode, I call this function when player picks up a double damage pickup.