As you already may know, giving noclip to a player will give the godmode as well.
I tried to remove the godmode for terrorists but it doesn't work.
They still have godmode on.
PHP Code:
if(StrEqual(selection, "noclipfight"))
{
GAME_ON = true;
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i))
{
if(GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i))
{
SetEntityHealth(i, 100);
SetEntityMoveType(i, MOVETYPE_NOCLIP);
SetEntProp(i, Prop_Data, "m_takeDamage", 2, 1);
}
}
}
}
__________________