Quote:
Originally Posted by rak
i see wrong.. and you are wrong.. is bunnyserver2
|
Nope, it's "bunnyserver" because the player is supposed to activate the bhop, not deactivate it.
PHP Code:
// If the player has ENOUGH money to get bhop
if(money > cost || money == cost)
{
cs_set_user_money(id, money - cost);
// ACTIVATE bhop
client_cmd(id, "bunnyserver")
That's not the best way to do things, though. Better would be to directly call
PHP Code:
//client_cmd(id, "bunnyserver")
cmdBhopActive(id);
And you're removing player's money even if he already has bhop.