Monkeynutz

Remove certain ammo from vehicles.

8 posts in this topic

The script is self explanatory. 
Ammo is removed and so are the weapons when you get in the vehicle, so when you buy it from trader, you don't even notice.

The Readme on GITHUB explains all. 

Thanks to those who helped:

@wombdilator for helping me with the jets configs.

and @eraser1 for the help with Event handler configs earlier on this year!

and @MGTDB for his work on this and @kuplion for the pointers!

 

Link: https://github.com/GamingAtDeathsDoor/Remove-Vehicle-Ammo

Edited by GamingAtDeathsDoor
2 people like this

Share this post


Link to post
Share on other sites

You'll probably find its better to do this when the vehicle is spawned, instead of EVERY TIME someone gets into it..

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

@MGTDB Interesting... and this would only apply to vehicles bought at traders or spawned in as persistent vehicles? Or does it work for non-persistent too?

I'm thinking of mission vehicles here ;) 

Thanks for the suggestion to both of you! Really appreciate it because i wanted the removal of weapons on here as i couldn't find one shared before :) 

 

Will definitely change this around a bit :) 

Share this post


Link to post
Share on other sites
59 minutes ago, GamingAtDeathsDoor said:

@MGTDB Interesting... and this would only apply to vehicles bought at traders or spawned in as persistent vehicles? Or does it work for non-persistent too?

I'm thinking of mission vehicles here ;) 

Thanks for the suggestion to both of you! Really appreciate it because i wanted the removal of weapons on here as i couldn't find one shared before :) 

 

Will definitely change this around a bit :) 

It works for everything. :)

1 person likes this

Share this post


Link to post
Share on other sites
1 hour ago, GamingAtDeathsDoor said:

@MGTDB Interesting... and this would only apply to vehicles bought at traders or spawned in as persistent vehicles? Or does it work for non-persistent too?

I'm thinking of mission vehicles here ;) 

Thanks for the suggestion to both of you! Really appreciate it because i wanted the removal of weapons on here as i couldn't find one shared before :) 

 

Will definitely change this around a bit :) 

Works for all vehicles in Exile, also works for DMS as it calls careful create vehicle as the spawner

1 person likes this

Share this post


Link to post
Share on other sites

@kuplion @MGTDB
Thanks guys! I just looked at the CreatePersistentVehicle and the CreateNonPersistentVehicle in the Exile code and saw it call to this file :P 

Already implimented! 
You mind if I update the GitHub repo and make the necessary commendations to you guys? I want this to be available for all ;) 

1 person likes this

Share this post


Link to post
Share on other sites
13 hours ago, GamingAtDeathsDoor said:

You mind if I update the GitHub repo and make the necessary commendations to you guys? I want this to be available for all ;) 

Be my guest buddy

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

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.