Raised This Month: $ Target: $400
 0% 

More than 16000 $$ Error?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fang
Senior Member
Join Date: Nov 2007
Location: New Jersey
Old 12-20-2008 , 23:04   More than 16000 $$ Error?
Reply With Quote #1

When I'm using a more than $16000 plugin and I try to use my buy menu. I set the charge to be $20000
Ex.
Code:
new money = cs_get_user_money(id) 
    new cost = get_pcvar_num(pcvars[i])
    
    if(money<cost) 
    {
        client_print(id, print_chat, "[ZH-Shop] You Don't Have Enough Money ($%i Needed).", cost) 
        return PLUGIN_HANDLED
    }
*Note this is not the full code*
When I have $25000, it keeps sending me the error message. But when I select something to purchase that is $16000 or under it works.
fang is offline
 


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 09:17.


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