Sign in to follow this  
wkuzma

primary weapon

Recommended Posts

Posted (edited)

I am trying to change the primary weapon by using

level.player setweaponslotweapon("primary", weapon);

I replaced the weapon with a mp weapon name  like m16_mp or ak47_mp etc

however I do not know what the names of the weapon are supposed to be so when it runs it gives a script error 

what I am trying to do is replace the M16A4 with nade launcher with something else without a nade launcher or even the m16a4 without the nade launcher when a player picks that weapon

Edited by wkuzma

Share this post


Link to post
Share on other sites
On 7/20/2019 at 4:34 PM, wkuzma said:

I am trying to change the primary weapon by using


level.player setweaponslotweapon("primary", weapon);

I replaced the weapon with a mp weapon name  like m16_mp or ak47_mp etc

however I do not know what the names of the weapon are supposed to be so when it runs it gives a script error 

what I am trying to do is replace the M16A4 with nade launcher with something else without a nade launcher or even the m16a4 without the nade launcher when a player picks that weapon

disregard I figured out how to do it

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this