LS Admin Base
#7

It works with:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/system7", cmdtext, true, 6) == 0)
	{
		if(mainigais == 0)
		{
			SendClientMessage(playerid, 0x33AA33AA,"The gate was opened");
			MoveObject(baze, 1017.226563, -913.239319, 38.000492, 3);
			mainigais = 1;
		}
		else
		{
			SendClientMessage(playerid, 0xAA3333AA,"The gate was closed");
			MoveObject(baze, 1017.226563, -913.239319, 43.000492, 3);
			mainigais = 0;
		}
		return 1;
	}

	return 0;
}
Reply


Messages In This Thread
LS Admin Base - by Cookie_CreeMy - 21.02.2009, 20:00
Re: LS Admin Base - by Synkro93 - 21.02.2009, 20:03
Re: LS Admin Base - by Cookie_CreeMy - 21.02.2009, 20:08
Re: LS Admin Base - by Synkro93 - 21.02.2009, 20:53
Re: LS Admin Base - by Xpl0ad3r - 21.02.2009, 21:01
Re: LS Admin Base - by Snickers - 21.02.2009, 21:08
Re: LS Admin Base - by Xpl0ad3r - 21.02.2009, 21:18
Re: LS Admin Base - by Cookie_CreeMy - 21.02.2009, 22:04
Re: LS Admin Base - by Weirdosport - 22.02.2009, 00:38
Re: LS Admin Base - by ExtremeCommunity - 06.07.2009, 09:14

Forum Jump:


Users browsing this thread: 4 Guest(s)