[CS:GO] Get weapon name by its classname
Hello guys, I'm new to sourcemod. well I am trying to get weapon name by it's classname for example:
classname is: 'weapon_ak47', I want to format a string 'AK-47'. Thanks! |
Re: [CS:GO] Get weapon name by its classname
bump
|
Re: [CS:GO] Get weapon name by its classname
If you want it in that format you may want to look at this:
StrEqual PHP Code:
ReplaceString PHP Code:
|
Re: [CS:GO] Get weapon name by its classname
Quote:
|
Re: [CS:GO] Get weapon name by its classname
Quote:
Not sure how you would do that sorry. This may push you in the right direction though. https://forums.alliedmods.net/showpo...8&postcount=13 You will also have to do something with the "paint_kits" part for that as well. GLHF |
| All times are GMT -4. The time now is 08:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.