Jump to content
  • 0

Remove Ammo from Vehicles?


Prof.Heini

Question

Hey guys,

 

we have got Armed Vehicles on the Server. And we are using a Repair and Rearmscript.

 

Now, we want to remove ammo from the vehicles.

 

A Ghosthawk has got a magazine with 3000 Rounds, Armed Offroader has got 3x100 Rounds.

 

It's to much ammo! 

 

Our Plan is to give few ammo to the vehicles. For exampble 1000 rounds for Ghosthawk and 1x100 Rounds for Offroad.

 

The people should rearm at the Servicestations for much of money.

 

Somebody can write a script or have a plan to fix my matter?

 

 

 

 

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I have a script which removes the gun turrets completely but doesn't do anything to the ammo.

You would probably need to check for the amount of magazines in the gun and remove any over the limit you want.

Be careful removing magazines from mounted guns when players are operating them though because if you don't specify exactly what ammo to remove you will more than likely end up removing items from the player instead.

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...