get_weaponname help
Im using get_weaponname, but its returing weapon_* names and i want my own names:
Code:
|
Re: get_weaponname help
why not get the weapon id and use it in a array whit your names?
|
Re: get_weaponname help
Quote:
|
Re: get_weaponname help
Quote:
|
Re: get_weaponname help
Quote:
|
Re: get_weaponname help
You can use replace()... "weapon_" with "".
|
Re: get_weaponname help
Depending its code, it's useless to use a native when you can do what i've said.
w e a p o n _ 0 1 2 3 4 5 6 so, wname[6] will show your weapon name without "weapon_" |
Re: get_weaponname help
Quote:
0 1 2 3 4 5 6 7 = wname[7] right? |
Re: get_weaponname help
You're right. Forget to count the character after _. :mrgreen:
|
Re: get_weaponname help
Quote:
@Arkshine i dont know why, but it returns wrong names.. :O |
| All times are GMT -4. The time now is 03:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.