Raised This Month: $ Target: $400
 0% 

[HELP] Switch between const size numbers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-26-2014 , 09:49   Re: [HELP] Switch between const size numbers
Reply With Quote #2

When the user type /hp or /armor, the will get those 10 cases in one time.

Why don't you try with this?

PHP Code:
new szCmd[33];
read_argv(1szCmdsizeof szCmd);

if (
equal(szCmd"/hp"))
else if (
equal(szCmd"/armor")) 
__________________
What are you looking for here?
DavidJr is offline
 



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 09:43.


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