Reloading
#2

You can use GetPlayerWeaponState (https://sampwiki.blast.hk/wiki/GetPlayerWeaponState) in a timer or OnPlayerUpdate to detect it. Create a variable storing the last state, then add the label when it changes from somethiong to WEAPONSTATE_RELOADING and remove it when it changes back.

Hope i could help you
Reply


Messages In This Thread
Reloading - by Dime - 13.09.2010, 22:04
Re: Reloading - by Mauzen - 13.09.2010, 22:42
Re: Reloading - by Dime - 14.09.2010, 01:12
Re: Reloading - by Mauzen - 14.09.2010, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)