MustacheShotz's Contact & Social LinksSuh Dudehttps://www.youtube.com/u
I have been working on my challenge map for a little while now and have decided to add a shootable easter egg. I scripted in the shootable easter egg from a tutorial but it is only for giving perks. How do I change it to give a weapon (preferably the wunderwaffe)? Any help would very much be appreciated!
I have been working on my challenge map for a little while now and have decided to add a shootable easter egg. I scripted in the shootable easter egg from a tutorial but it is only for giving perks. How do I change it to give a weapon (preferably the wunderwaffe)? Any help would very much be appreciated!
I don't know what tut you followed, but typically there would be a function to reward the player/players. In that function you would give the players a gun instead. Use this function to give the weapon:
Code Snippet
Plaintext
player zm_weapons::weapon_give(weapon);
If your script does not already have the using you will have to add it to the top:
I don't know what tut you followed, but typically there would be a function to reward the player/players. In that function you would give the players a gun instead. Use this function to give the weapon:
Code Snippet
Plaintext
player zm_weapons::weapon_give(weapon);
If your script does not already have the using you will have to add it to the top: