Help Please
#1

How Would I Make This Command Work Only For gTeam if the gteam id is 3 ?


Код:
AGate1 = CreateObject(969, 2830.5666503906, -1565.1704101563, 10.096872329712, 0, 0, 250.82507324219);
return 1;
}

public OnFilterScriptExit()
{
	return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])//
{
	if (strcmp("/MGOPEN1", cmdtext, true, 10) == 0)
	{
		MoveObject(AGate1, 2832.1252441406, -1555.6474609375, 10.096872329712, 3.5);
		SendClientMessage(playerid, 0xB8860BAA, "The Maldini Family Gate Has Open");
		return 1;
	}
	if (strcmp("/MGCLOSE1", cmdtext, true, 10) == 0)
	{
	  MoveObject(AGate1, 2830.5666503906, -1565.1704101563, 10.096872329712, 3.5);
	  SendClientMessage(playerid, 0xB8860BAA, "Thank you The Maldini Family Gate Has Closed");
	  return 1;
	}
	return 0;
}
#endif

Reply


Messages In This Thread
Help Please - by matthew32112 - 13.03.2010, 11:37
Re: Help Please - by Jeffry - 13.03.2010, 11:49
Re: Help Please - by Miguel - 13.03.2010, 11:52
Re: Help Please - by matthew32112 - 13.03.2010, 11:56
Re: Help Please - by matthew32112 - 13.03.2010, 11:57
Re: Help Please - by matthew32112 - 13.03.2010, 11:58
Re: Help Please - by aircombat - 13.03.2010, 12:19
Re: Help Please - by matthew32112 - 13.03.2010, 12:20

Forum Jump:


Users browsing this thread: 2 Guest(s)