All pastes #998178 Raw Edit

Anonym

public text v1 · immutable
#998178 ·published 2008-04-26 07:32 UTC
rendered paste body
entweder so:
	if(dUserINT(PlayerName(playerid)).("SWAT")==1)
	    {
		if(IsPlayerInCircle(playerid,-2433.8806,495.7267,20)==1)//SWAT
		    {
	   		if(gateSWATbit == 0)
				{
				MoveObject(gateSWAT[0],-2424.020508, 500.370728, 30.780979,1); // Tor Rechts Auf
				MoveObject(gateSWAT[1],-2444.606689, 491.810974, 30.802921,1); // Tor Links Auf
				gateSWATbit = 1;
				} else
			if(gateSWATbit == 1)
				{
				MoveObject(gateSWAT[0],-2430.857666, 497.595062, 30.630833,1); // Tor Rechts zu
				MoveObject(gateSWAT[1],-2437.544434, 494.783081, 30.650169,1); // Tor Links zu
				gateSWATbit = 0;
				}
			}
		}

oder so

	if(dUserINT(PlayerName(playerid)).("ID")==1 || dUserINT(PlayerName(playerid)).("ID")==3)
	    {
		if(IsPlayerInCircle(playerid,417.0490,-1250.7423,20)==1)//snoop
		    {
	   		if(gatesnoopbit == 0)
				{
				MoveObject(gatesnoop,420.902466, -1249.834473, 50.378826, 2); // snoop auf
				gatesnoopbit = 1;
				} else
			if(gatesnoopbit == 1)
				{
				MoveObject(gatesnoop,414.709930, -1252.187988, 50.704796,2); // snoop zu
				gatesnoopbit = 0;
				}
			}
		}