Im new to scripting and I wonder if by using 0, instead of id would give the WHOLE team instead of just the person using the command
This is what I got now and only gives the person whos using it godmode
Code:
case 1:
{
if (get_user_team(id) == 2)
{
set_user_godmode(id, 1)
ColorChat(0, RED, "[EventManager]^4 Every CT have received godmode!^3")
}
}
This is what I was thinking what might work:
Code:
case 1:
{
if (get_user_team(id) == 2)
{
set_user_godmode(0, 1)
ColorChat(0, RED, "[EventManager]^4 Every CT have received godmode!^3")
}
}
Will the second one work, if not please explain and show me how to make the whole CT team godmode