Jump to content
Sign in to follow this  
granQ

add one (1) weapon to cargo

Recommended Posts

this addweaponcargo ["m16", 1]

Works perfectly in SP or in MP if done in the mission, however I wish to do this later on with lets say a script "sniperRiffle.sqs" it will be either on server only (noone can use it) or for all clients (more then one sniper rifle).

I need it to be just 1 that can be picked up by any client.

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">guy setpos [getpos player select 0,getpos player select 1,700]

guy addweapon "SFP_Drugpack"

guy action ["DROPWEAPON", guy ,"SFP_Drugpack"]

~3

guy setvelocity [0,0,0]

guy setpos getpos baggyPos

this works for now.. hope action doesnt fuck up.

Anyone got some input on this or something?

Share this post


Link to post
Share on other sites

Have you tryed the addweapon command

guy addweapon "weapon"

Not sure if it will create more then one but I tink it should only give one.

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  

×