gate open from skins
#1

How can I make this scripting "automatic gate" to be able to add that only some skins gates to open, for example (skin 288, 281, 282, 283) ?

Код:
public CheckAPGates()
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i)) {
		  new Float:x, Float:y, Float:z;
			GetPlayerPos(i, Float:x, Float:y, Float:z);


			if (PlayerToPoint(30.0, i, 15980.288696, -16387.887085, 14.706839))
	  	{
				MoveObject(lsgate, 15987.288696, -16387.887085, 14.706839, 4);
				SetTimerEx("CloseAPGate", 1000, 0, "ii", 4, i);
			}
Reply


Messages In This Thread
gate open from skins - by Log1teCk - 02.12.2009, 16:28
Re: gate open from skins - by CaHbKo - 02.12.2009, 16:41
Re: gate open from skins - by Log1teCk - 02.12.2009, 16:44
Re: gate open from skins - by Mike Garber - 02.12.2009, 16:48
Re: gate open from skins - by CaHbKo - 02.12.2009, 18:13
Re: gate open from skins - by Correlli - 02.12.2009, 19:04
Re: gate open from skins - by Log1teCk - 02.12.2009, 19:06
Re: gate open from skins - by laserhel50 - 02.12.2009, 19:09
Re: gate open from skins - by Log1teCk - 02.12.2009, 19:49
Re: gate open from skins - by laserhel50 - 02.12.2009, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)