Jump to content
Sign in to follow this  
exigent

Adding weapons to vehicles

Recommended Posts

I have ECP, and i like how you can add weapons to a vehicle. I have the new Ocean island and i want to add LSR's M4 to the Police Cruiser. Anyone know can i do this? I know the class names for the weapon and mags, thanks. Also whats the classname for the Berrita?

Share this post


Link to post
Share on other sites

Put this in the vehicles init line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addweapon "nameofweapon";this addmagazine "namemagazine"

copy the addmagazine part to put more magazines into the vehicle, but before you start a new part put a ;

and the name for the Berreta is "Beretta" and "BerettaMag"

Hope that helps smile_o.gif

Share this post


Link to post
Share on other sites

The commands for putting gear in vehicles are:

this addweaponcargo ["weaponname",1]

and

this addmagazinecargo ["magazinename",1]

Changing the number will put that number of items in the vehicle.

Share this post


Link to post
Share on other sites

Nope didn't work confused_o.gif .

Thanks Kooky, i'll try it tomorrow and see if it works biggrin_o.gif .

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×