Jump to content
Sign in to follow this  
Callisto

Adding a weapon to a civilian

Recommended Posts

Hello. I am trying to add a weapon to a civilian by using addWeapon.

However, I need to specify the unitName, and I don't know what I should type there. If I want to add a weapon to myself, I type "player addWeapon" but what if I want to add it to say a civilian?

Share this post


Link to post
Share on other sites

Say you wanted to add an AK-74. On the civi's On Activation line, you'd put.

this addmagazine "30Rnd_545x39_AK"; this addmagazine "30Rnd_545x39_AK"; this addmagazine "30Rnd_545x39_AK"; this addweapon "AK74"

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  

×