[QUESTION]How to increase the damage of a gun? - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [QUESTION]How to increase the damage of a gun? (
/showthread.php?tid=193376)
[QUESTION]How to increase the damage of a gun? -
Lilcuete - 25.11.2010
I was wondering can someone tell me or show me a example to increase a weapons damage?thanks
Re: [QUESTION]How to increase the damage of a gun? -
Lilcuete - 25.11.2010
Sorry for early bump but can someone please reply thanks.
Re: [QUESTION]How to increase the damage of a gun? -
Austin - 25.11.2010
Not possible I'm afraid, not unless you calculate the damage of each weapon individually maybe and then OnPlayerUpdate, depending on damage done, you could increase/decrease health.
Re: [QUESTION]How to increase the damage of a gun? -
Lilcuete - 25.11.2010
Quote:
Originally Posted by Austin
Not possible I'm afraid, not unless you calculate the damage of each weapon individually maybe and then OnPlayerUpdate, depending on damage done, you could increase/decrease health.
|
Can u show me a example how to do it?
Re: [QUESTION]How to increase the damage of a gun? -
[UG]Scripter - 26.11.2010
Use the IsPlayerAiming and then use a few variables to change th e players health