Scooping out pieces of a string
Hey all,
My ultimate goal is to get the name of the weapon a user is holding. So for example, when a player is holding an AK47, I want to have a variable holding "AK47". get_weaponname() does something similar ... only it adds "weapon_" in front of the name .... so the AK47 would look like "weapon_AK47". I'm looking for a way to scoop out "AK47" from "weapon_AK47" This is what I have so far.... Code:
new weapName[32] |
Re: Scooping out pieces of a string
Code:
|
Re: Scooping out pieces of a string
thanks, this is exactly what I needed
|
| All times are GMT -4. The time now is 06:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.