![]() |
|
[Request] Might be a silly question... regarding SetPlayerData - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Request] Might be a silly question... regarding SetPlayerData (/Thread-Request-Might-be-a-silly-question-regarding-SetPlayerData.html) |
Might be a silly question... regarding SetPlayerData - camxxcore - 08-10-2013 With setplayerdata how do I tell the game to put no attachments on the weapon? self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", "???" ); thanks.. RE: Might be a silly question... regarding SetPlayerData - Howl3r - 08-10-2013 i think its based on the weapon name example you add ak47_mp well for ak47 with grenade launcher you type ak47_gl_mp RE: Might be a silly question... regarding SetPlayerData - camxxcore - 08-10-2013 (08-10-2013, 04:56)Howl3r Wrote: i think its based on the weapon name example you add ak47_mp well for ak47 with grenade launcher you type ak47_gl_mp what I'm trying to do is clear the attachments from the secondary weapon and then add custom weapons all using setplayerdata so it sticks in custom classes.. otherwise I get bugs like the previous attachments sticking and can't switch to the weapon if the attachment doesn't match up with the weapon.. (null representing the value I need to clear the attachment) Quote: self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", "null?" ); RE: Might be a silly question... regarding SetPlayerData - Yamato - 08-10-2013 http://www.itsmods.com/forum/Thread-Tutorial-Change-Custom-Classes.html RE: Might be a silly question... regarding SetPlayerData - camxxcore - 08-10-2013 (08-10-2013, 14:16)Yamato Wrote: http://www.itsmods.com/forum/Thread-Tutorial-Change-Custom-Classes.html thanks so much thats perfect |