Hi, I dont know if I can somehow execute the command like this
PHP Code:
public func_money(id, money1, money2, command)
{
if(cs_get_user_money(id) >= money1)
{
cs_set_user_money(id, cs_get_user_money(id) + money2, 0)
command //execute command here
}
else
{
NoMoney(id)
}
}
And then func_money(id, 10, -10, SetGlow(id, 1))?
Thanks.