nuterious Posted December 25, 2014 Share Posted December 25, 2014 Hi i see on Zombie hell party server this server can make a weapon holdable when the ammo is 0 I wanna ask u guy how to do that normally when ammo is 0 or out of ammo the weapon will disappear but i wanna make it still appear with ammo 0 Thank Link to comment
ViRuZGamiing Posted December 25, 2014 Share Posted December 25, 2014 bone_attach and weapon object Link to comment
-Blaze- Posted December 26, 2014 Share Posted December 26, 2014 Well , you can do that easily with a little bit of scripting knowledge. Set a timer that checks the players ammo every 50 milisecs . If ammo is lesser than 2 then toggle the fire control off. If more than 1 then toggle the fire control on. You can easily mess with the hud by adding a "-1" in the getPedTotalAmmo part. 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