Entering Buildings
#1

Dose anyone mind explaining this script?!



Code:
if(strcmp(cmd, "/enter", true) == 0)
	{
	if(PlayerToPoint(5.0,playerid, x,y,z) || PlayerToPoint(5.0,playerid, x,y,z) || PlayerToPoint(5.0,playerid, x,y,z))
	{
	  SetPlayerPos(playerid, interior:x,interior:y,interior:z);
	}
	else
	{
		SendClientMessage(playerid, COLOR_BLUE,"You must be at a house entrance to enter.");
	}
	return 1;
	}
Reply


Messages In This Thread
Entering Buildings - by Sal_Kings - 03.08.2009, 17:32
Re: Entering Buildings - by xCoder - 03.08.2009, 17:44
Re: Entering Buildings - by WrathOfGenesis - 03.08.2009, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)