Jessecar96
02-12-2012, 13:22
I was making a plugin that sets the player to use Stock weapons all the time.
I was using
new weapon = GivePlayerItem(client,"tf_weapon_flamethrower");
EquipPlayerWeapon(client,weapon);
for this, and it works fine. There's a problem with tf_weapon_flamethrower and tf_weapon_club though. They both do this:
http://cloud.steampowered.com/ugc/486624056186031380/944CEF3D31C76451C706543E0E3BACFCA7D1718E/
Any ideas on how to fix this? I thought of setting the view model, but i'm not sure how. Everything I try doesn't work.
Thanks
I was using
new weapon = GivePlayerItem(client,"tf_weapon_flamethrower");
EquipPlayerWeapon(client,weapon);
for this, and it works fine. There's a problem with tf_weapon_flamethrower and tf_weapon_club though. They both do this:
http://cloud.steampowered.com/ugc/486624056186031380/944CEF3D31C76451C706543E0E3BACFCA7D1718E/
Any ideas on how to fix this? I thought of setting the view model, but i'm not sure how. Everything I try doesn't work.
Thanks