Raised This Month: $ Target: $400
 0% 

Need help witch cost


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 06-08-2009 , 08:40   Re: Need help witch cost
Reply With Quote #2

Before giving add the cs_get_user_money(id) and check if it is lower or higher than what you want it to cost and if its higher use cs_set_user_money(id, userMoney - WeaponCost)

(userMoney and WeaponCost is variables)
micke1101 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:34.


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