[HELP] A quastion...
#3

Under OnPlayerCommandText:
Code:
if (strcmp("/enter", cmdtext, true) == 0)
{
	if(PlayerToPoint(5.0, playerid, X, Y, Z))
	{
	SetPlayerPos(playerid, X, Y, Z);
	SetPlayerInterior(playerid, interiorid)
	}
	else
	{
	SendClientMessage(playerid, 0xFF0000AA, "You must be closer!");
	}
	return 1;
}
Replace the first X, Y and Z with the location of the door,
The second X, Y and Z with the location of the interior
And interiorid with the interiorid
Reply


Messages In This Thread
[HELP] A quastion... - by FreddeN - 26.05.2009, 14:25
Re: [HELP] A quastion... - by miokie - 26.05.2009, 14:39
Re: [HELP] A quastion... - by Gozerr - 26.05.2009, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)