Hello!
Code:
case 6:
{
new money = cs_get_user_money(id)
if (money >= 1000)
{
set_user_health( id, get_user_health(id) + 25 )
cs_set_user_money(id, money - 1000)
client_print_color(id, print_chat, "^4[L15]^3You just bought Extra HP")
}
else
{
client_print_color(id, print_chat, "^4[L15]^3You did not afford Extra HP")
return PLUGIN_HANDLED;
}
When I buy first Extra HP I get 125 hp. And when I buy it again I get 150 hp but I want the money to dublicate from 1000 - 2000 next time and so on. How can I make this?
__________________