Code is below
I join the server no menu then resets when player joins other team i get the menu.
on new round i get no menu
any idea why?
PHP Code:
public PlayerSpawn(id)
{
new players[32], inum;
get_players(players,inum);
for(new x=0; x <= inum; x++)
{
if(is_user_connected(players[x]) && is_user_alive(players[x]))
{
if(cs_get_user_vip(players[x]))
{
if(is_user_alive(players[x]) && is_user_connected(players[x]))
{
menu_display(players[x], Menu);
client_print(players[x], print_chat, "[VIP] You are the VIP. Have fun and good luck")
}
}
}
}
}