Raised This Month: $12 Target: $400
 3% 

[csgo] csweaponid for new weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 08-19-2019 , 15:06   [csgo] csweaponid for new weapons
Reply With Quote #1

Is there any csweaponids for weapon_fists, weapon_axe?
I cant find it here -> cstrike api

Usually I store a weapon type with csweaponid, but I think I cannot do that with weapon_fists.
Is any way I can fix it without changing whole storing system?
__________________
impossible_cc is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 08-19-2019 , 15:14   Re: [csgo] csweaponid for new weapons
Reply With Quote #2

Those are just enums, part of the cstrike extension. I'm pretty sure they're all tied to an index. Or a string such as what you listed above. You could write a plugin that prints what weapon index you have out. For new items with the Danger Zone release you won't find items like CSWeapon_Fists. Not until someone updates it. Just use weapons_fists fo the time being it shouldn't hurt anything. Just the eye candy of your plugin.

What are you storing these in?
Halt is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode