Lzombie
Veteran
- Messages
- 27
- Reaction score
- 7
- Points
- 793
Hi, I'm trying to create a function that gives the player a weapon "zombie_bgb_grab" then waits a certain time and takes the weapon.
Either that or play the gum grab animation without giving/taking etc.
I have the commands that would work INGAME, but for GSC. I have tried these
Both did not seem to work, I tried switchtoweapon and switchtoweaponimmediate with them too.
The command that does it perfectly via ingame console commands;
That alone is what I need....but for some reason I cannot find the name for the weapon that would work with
Either that or play the gum grab animation without giving/taking etc.
I have the commands that would work INGAME, but for GSC. I have tried these
self zm_weapons::weapon_give("zombie_bgb_grab");
and self zm_weapons::weapon_give(getweapon("zombie_bgb_grab"));
.Both did not seem to work, I tried switchtoweapon and switchtoweaponimmediate with them too.
The command that does it perfectly via ingame console commands;
take zombie_bgb_grab;give zombie_bgb_grab;wait 350;take zombie_bgb_grab
That alone is what I need....but for some reason I cannot find the name for the weapon that would work with
giveweapon()
.