Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Client.Other.SecondaryWeapon Bug?
#1
Hello,

I set the server classes with only a simple gun as secondary weapon.
I set no primary weapon and i set a trowingknife to those classes.

When i use this code to change the weapon, (primary, secondary and current do the same result) it didn't change the weapon but it take off the throwingknife...
Code:
// Client.Other.PrimaryWeapon = GetWeapon("iw5_m4");
Client.Other.SecondaryWeapon = GetWeapon("iw5_m4");
// Client.Other.CurrentWeapon = GetWeapon("iw5_m4");

I did something wrong with Client.Other.PrimaryWeapon, and the 2 others functions or there is a bug?

Thank you in advance for you help!
Reply

#2
All multiplayer weapons have the suffix _mp. Look here for weapon names (thanks to the awesome @Yamato)
http://www.itsmods.com/forum/Thread-Tuto...ments.html
He also states there
Quote:You need to add on weapons: _mp at the end.
[Image: azuw.jpg]
Reply

#3
Thank you for your answer! And thank you @Yamato for the tutorial Wink
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink [News] Call of Duty Online (CN) Enters BravoTest (client is avaliable for download kjkszpj 17 10,265 05-06-2013, 02:18
Last Post: logitechnoob
  Help Client xuid + playername 99IRock 2 2,672 12-15-2012, 23:45
Last Post: Ich1994
  [Request] Easy Dvar set server / client. Dumas 10 7,588 09-24-2012, 16:44
Last Post: Nekochan
  Help 1.9.441 Client Offsets jakata 9 5,107 08-23-2012, 07:07
Last Post: zxz0O0
  Client Say Deviler86 12 5,851 08-08-2012, 17:53
Last Post: Deviler86
  Read Client Offset Value or Text zraile 1 2,326 04-06-2012, 03:00
Last Post: Nukem
  [Tutorial] SIP Calls using Android Client crAyon 3 7,140 02-07-2012, 19:32
Last Post: alvarogt95
Rainbow [Release] MW3 Custom RCON Server + Client ALPHA JariZ 25 22,488 01-06-2012, 13:36
Last Post: JariZ
  Battlefield 3 Beta client doesn't start? maybe this helps ddaavvee 15 14,265 10-08-2011, 17:54
Last Post: ddaavvee
  [Request] Getting client FPS (not com_maxfps value) Pyroh 4 2,426 08-15-2011, 17:35
Last Post: Pyroh

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.