Raised This Month: $ Target: $400
 0% 

Call command under if of other command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dady000
Junior Member
Join Date: May 2012
Old 04-23-2013 , 05:43   Call command under if of other command
Reply With Quote #1

Hi, I dont know if I can somehow execute the command like this
PHP Code:
public func_money(idmoney1money2command)
{
    if(
cs_get_user_money(id) >= money1)
    {
        
cs_set_user_money(idcs_get_user_money(id) + money20)
                
command //execute command here    
    
}
    else
    {
        
NoMoney(id)
    }
    

And then func_money(id, 10, -10, SetGlow(id, 1))?
Thanks.
dady000 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 10:45.


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