Page 1 of 1

How to affect only axis plz.

Posted: Sat Dec 11, 2004 2:57 pm
by agentmad007
why the command physics_off freeze allies and aixs plz ????

Code: Select all

while (1) 
{		
	for (local.i = 1; local.i<=$player.size; local.i++) 
	{
		if ($player[local.i].dmteam == "axis") 
		{
			if (Isalive $player[local.i] == 0) 
			{
				$player physics_off
			}
		}
	}
	wait .1
}
thx

Posted: Sat Dec 11, 2004 3:03 pm
by jv_map
$player physics_off

shall be

$player[local.i] physics_off

Posted: Sat Dec 11, 2004 3:07 pm
by agentmad007
yeah i also tried this command , it freeze allies also .

Posted: Sat Dec 11, 2004 4:48 pm
by jv_map
No it doesn't :?

Posted: Sat Dec 11, 2004 7:13 pm
by lizardkid

Code: Select all

if($player[local.i].dmteam == "Allies")
{
$player[local.i] physics_off
}
i htink, you never specified a team there jv

Posted: Sat Dec 11, 2004 9:57 pm
by agentmad007
nah jv is right , it work .

All this week i tried at least 50 architectures and all gave me the same effect .

I was just stupid i tried the script alone so when i was freezed, i switched to other team and get freezed also...then i thought it doesnt work.

today i tested with someone else and that worked fine ......


:oops: :oops: :oops: sorrrrry :oops: :oops: :oops: