omg, people, don't be hard..
here you go.
PHP Code:
if (cs_get_user_money(id) < 10000)
I think "Epic Fail" you will understand this, if not, you have a problem with scripting, however if you are a begginer i can do a example plugin for you.
PHP Code:
// LOOK AT THE "<" ">" "="
if (cs_get_user_money(id) < 10000){
client_print(id, print_center, "Sorry but you're poor")
return PLUGIN_HANDLED;
}
if (cs_get_user_money(id) >= 10000 ){
client_print(id, print_center, "yeayeayea, you bought this")
if(is_user_connected(id))
{
// Here you have to do something
}
cs_set_user_money(id , cs_get_user_money(id) - 10000, 0)
}