Raised This Month: $ Target: $400
 0% 

Need help to solve money problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 08-15-2007 , 15:41   Re: Need help to solve money problem.
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
PHP Code:
new currentmoney,moneytogive;
moneytogive 3000;
currentmoney cs_get_user_money(id);
if (
moneytogive currentmoney 16000)
     
cs_set_user_money(id,16000);
else
     
cs_set_user_money(id,currentmoney +moneytogive); 

Something like that
Thanks, i will test this.
[X]-RayCat 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 23:52.


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