SA-MP Forums Archive
[Include] OnPlayerReload - 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] OnPlayerReload (/showthread.php?tid=576201)



OnPlayerReload - J4Rr3x - 01.06.2015

OnPlayerReload
By J4Rr3x
Hi all, today I've made this useful callbacks. With this you can control reload action.

Callbacks:
pawn Код:
OnPlayerReload(playerid, weaponid, ammo)
Changelog:
Код:
05/06/2015:
- Made this include
Downloads:
BitBucket Page


Re: OnPlayerReload - SickAttack - 01.06.2015

Just no, why are you using OnPlayerUpdate(...)?

This can be done with OnPlayerWeaponShot alone.


Re: OnPlayerReload - Pottus - 01.06.2015

I'm going to put this out there has anyone tested it in that callback to see if it is accurate ?
Why not make it OnPlayerStartReload() and OnPlayerEndReload() ?