Hello guys, so I'm trying to make a code for my VIP users to get +1000$ every round (without the first one ofcourse, it would be unfair), but unfortunately I failed... This is my code, can you tell me where am I making a mistake and fix it for me please?
PHP Code:
public onSpawn(Player)
{
if(is_user_alive(Player))
{
if(get_user_flags(Player) & ADMIN_RESERVATION)
{
cs_set_user_money(Player, clamp(cs_get_user_money(Player) + 1000, 0, 16000));
new name[33]
get_user_name(Player,name,charsmax(name))
ClientPrintColor(Player, "^4[^3FrontLineD2^4]^1Because of his ^4VIP privileges^1, player ^3%s^1 is getting^4 1000$^1 bonus!", name)
}
}
}
__________________