someone could help me put this case to spectate that can pass on the block too?
PHP Code:
case OBJECT_ANTICTBLOCK:
{
if( get_user_team(plr, "", 0) == 1)
{
if( !task_exists(TASK_ID_UNSOLID + ent, 0)
&& !task_exists(TASK_ID_SOLID + ent, 0) )
{
set_task(0.1, "tskUnsolid", TASK_ID_UNSOLID + ent, "", 0, "", 0);
}
}
else if( get_user_team(plr, "", 0) == 2)
{
new szName[32];
get_user_name(plr, szName, 32);
set_hudmessage(000, 000, 150, 0.01, 0.18, 0, 0.0, 1.0, 0.25, 0.25, 2);
show_hudmessage(plr, "Apenas Terroristas Passam neste Bloco.", szName);
}
}
Sorry me englesh