lopezloo Posted March 20, 2013 Posted March 20, 2013 Is possible to detect moment while player reloading?
PaiN^ Posted March 20, 2013 Posted March 20, 2013 You mean reloading a weapon ? If so, then i don't think so ...
lopezloo Posted March 20, 2013 Author Posted March 20, 2013 Yes, reloading a weapon. Something like this function for custom weapons: https://wiki.multitheftauto.com/wiki/GetWeaponState or other way.
Castillo Posted March 20, 2013 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.
lopezloo Posted March 20, 2013 Author 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.
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