A little More Explanation Plz.
:\
btw there are Many other set_tasks too
but
PHP Code:
#define TASK_MODEL 248600
public plugin_init()
{
set_task(5.0, "Model_check", id+TASK_MODEL, _, _, "b")
}
as Cant Define id in plugin_init
so I tried it like this
PHP Code:
public Model_check(id)
{
set_task(7.0, "Model_check", id+TASK_MODELCHECK, _, _, "b")
if(cs_get_user_team(id) == CS_TEAM_CT)
{
if(user_Simon [id])
{
cs_set_user_model(id, "Simon")
}
else if(Zombie_Day)
{
cs_set_user_model(id, "zombie")
}
else
{
cs_set_user_model(id, "guard")
}
}
if(cs_get_user_team(id) == CS_TEAM_T)
{
cs_set_user_model(id, "prisoners")
}
}
but it also didnt work