But you will also then need to switch to it. Is that the part that is missing? Did you try switching to it?
no im straight up not getting the weapon, when the game tries to give me the weapon it throwss a error "struct is not an entity" even if i add a SwithToWeapon() or swith weapons in game i dont get it
Title: Re: How to give a weapon in BLack Ops 3?
Post by: karelkopp on September 30, 2016, 04:20:52 pm
its will be better to post here your complete script
Title: Re: How to give a weapon in BLack Ops 3?
Post by: DeletedUser on September 30, 2016, 04:32:39 pm
This worked perfectly fine until i decied i wanted to call another function and give my weapon from what function
This does not work but above does
Reason i want to split the functions up is because i want to add my gamemode mod to BO3 and for that to work i need to init the player specfic to the gamemode (calling different functions)
Spoiler: click to open...
Title: Re: How to give a weapon in BLack Ops 3?
Post by: MakeCents on September 30, 2016, 05:44:37 pm
what you posted above should work just fine as long as you still have the usings
Title: Re: How to give a weapon in BLack Ops 3?
Post by: DeletedUser on September 30, 2016, 05:54:33 pm