I sorted it out by adding:
PHP Code:
native mm_get_money(client);
native mm_set_money(client, money);
stock mm_add_money(client, money)
{
return mm_set_money(client, mm_get_money(client) + money);
}
PHP Code:
actionMoney(id, OverrideTimer)
{
new Float:fTime = halflife_time();
if (fTime >= g_money_next_use[id] || OverrideTimer)
{
if ( get_user_team ( id ) == 1 )
{
mm_add_money(id, 75);
ColorChat(id, GREEN, "[%s]^x03 You have been given^x04 75 Money^x03!", g_prefix);
}
g_money_next_use[id] = fTime + get_cvar_float("bm_moneycooldown");
}
else
{
set_hudmessage(g_hud_red, g_hud_green, g_hud_blue, g_text_x, g_text_y, g_hud_effects, g_hud_fx_time, g_hud_hold_time, g_hud_fade_in_time, g_hud_fade_out_time, g_hud_channel);
show_hudmessage(id, "[%s]^nWait Time: One Round", g_prefix, g_money_next_use[id] - fTime);
}
return PLUGIN_HANDLED;
}
This thread can be closed :-)