lopezloo Posted March 20, 2013 Share Posted March 20, 2013 Is possible to detect moment while player reloading? Link to comment
PaiN^ Posted March 20, 2013 Share Posted March 20, 2013 You mean reloading a weapon ? If so, then i don't think so ... Link to comment
lopezloo Posted March 20, 2013 Author Share Posted March 20, 2013 Yes, reloading a weapon. Something like this function for custom weapons: https://wiki.multitheftauto.com/wiki/GetWeaponState or other way. Link to comment
Castillo Posted March 20, 2013 Share Posted March 20, 2013 The resource: "reload" triggers "onPlayerReload" to reload the weapon ( server side event ), is not an event triggered by MTA, but by the script. Link to comment
lopezloo Posted March 20, 2013 Author Share Posted March 20, 2013 Yeah but only when player reload weapon by pressing button. I think I use getPedAmmoInClip() to detect this, thanks for trying help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now