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.