Multiple enter/exit commands
#1

Hello again, HOw can i can multiple enter and exit commands?

Код:
	if (strcmp("/enter", cmdtext, true) == 0)
	{
		SetPlayerPos(playerid, 1169.1206,-1330.0065,1386.4193);
		return 1;
		}
		else
		{
		SendClientMessage(playerid, COLOR_BLUE, "You are not at the entrance to any building!");
		}
	if (strcmp("exit", cmdtext, true) == 0)
	{
	  SetPlayerPos(playerid, 1172.6040,-1325.2792,15.4032);
	  return 1;
	}
Can you show me were to enter them?
Reply


Messages In This Thread
Multiple enter/exit commands - by Luis- - 01.06.2010, 12:08
Re: Multiple enter/exit commands - by Luis- - 01.06.2010, 12:31
Re: Multiple enter/exit commands - by IanDaCJ - 01.06.2010, 12:31
Re: Multiple enter/exit commands - by Luis- - 01.06.2010, 12:34
Re: Multiple enter/exit commands - by Luis- - 01.06.2010, 12:45
Re: Multiple enter/exit commands - by Fj0rtizFredde - 01.06.2010, 12:47

Forum Jump:


Users browsing this thread: 1 Guest(s)