Quote:
Originally Posted by Arkshine
First, why do you loop though all players when the forward is called by player ?
|
Had no idea what i was doing and saw that on the wiki...
This is what i did now same thing
PHP Code:
public PlayerSpawn(id)
{
if(is_user_connected(id) && is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT)
{
if(cs_get_user_vip(id))
{
menu_display(id, Menu);
client_print(id, print_chat, "[VIP] You are the VIP. Have fun and good luck")
}
}
}