Getting part of a StatusText?
What I'm trying to do is use StatusText to report what class a spy has disguised into. I have been using this very inefficient piece of code:
Code:
register_event("StatusText", "CLASS_SCOUT", "b", "2&#Spy_disguised Blue #Scout") |
Re: Getting part of a StatusText?
Here is just an example of getting what class a player disguised to.
PHP Code:
|
Re: Getting part of a StatusText?
Thank you so much striker! I tried that same method first, but I never did the != -1 part! +Karma for your help!
|
| All times are GMT -4. The time now is 16:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.