Raised This Month: $ Target: $400
 0% 

cs_set_user_money


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tomy91
Member
Join Date: Jun 2006
Location: Latvia
Old 01-10-2007 , 11:50   cs_set_user_money
Reply With Quote #1

Hello, i need a little help with cs_set_user_money! I took the swear_filter plugin and tried to add myself a part that, if user says badword, it removes 500 $ from user's money! I tried to add like this: cs_set_user_money(id, -500) it works, but it doesn't remove 500 $ but sets user money -500$... If user had 5050 $, and he types a badword, his money sets to -500$! I need a help, how is the correct script when it removs that 500$ not sets the amount!

Thanks and sorry for incorrect engllish!
__________________
tomy91 is offline
Send a message via Skype™ to tomy91
 


Thread Tools
Display Modes

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 22:29.


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