Raised This Month: $ Target: $400
 0% 

About CSSTATS.SMA


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 11-30-2011 , 20:05   Re: About CSSTATS.SMA
Reply With Quote #4

OK, i will be try, but in another plugin this function is compiling normally.

Quote:
Originally Posted by jim_yang View Post
plus, switch() only support integar matching, and you should manage your if-else if statement like this
if( x > 1000 )
else if( x > 750 )
else if( x > 500 )
...
else if( x > 0 )
else
PHP Code:
switch(Value)
{
    case 
10 .. 20:
    {
        
result
    
}

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 11-30-2011 at 20:11. Reason: Ops.....
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 08:31.


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