cocowen Posted February 29, 2012 Share Posted February 29, 2012 good morning,sir i have found a nice resource named reload which allow play use r to reload ammo,i just want to make it better i have played in a zombies d server,in the server the empty weapon never disappear like single player game , and you can buy some ammo to fill it then the gun can use again, please tell me how to do it , or give me some example so i can learn from it,thank you Link to comment
Dev Posted February 29, 2012 Share Posted February 29, 2012 You need to either disable the weapon fire when the ammo reaches 1, so the weapon doesn't get destroyed ( use toggleControl ), or you can either attach the weapon object created using createObject to the player's hand bone. ( use attachElements or getPedBonePosition ) 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