Jump to content

[Help]:Weapon ?


nuterious

Recommended Posts

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...