Important !!
#6

Quote:
Originally Posted by Facerafter
Посмотреть сообщение
Код:
CMD:enter(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z)) 
	{
		SetPlayerPos(playerid, Float:x, Float:y, Float:z);
		SetPlayerInterior(playerid, interiorid);
	}
	else if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z))
	{
		SetPlayerPos(playerid, Float:x, Float:y, Float:z);
		SetPlayerInterior(playerid, interiorid);
	}
	else if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z))
	{
		SetPlayerPos(playerid, Float:x, Float:y, Float:z);
		SetPlayerInterior(playerid, interiorid);
	}
	return 1;
}
This code would only work if you have ZCMD, but it gives you a example how you could do it if you use a different command processor.

You do still have to fill in the values.
Okai i am using ZCMD but how to get the PlayerPos inside the buliding ??
Reply


Messages In This Thread
Important !! - by nezo2001 - 28.12.2014, 12:51
Re: Important !! - by Facerafter - 28.12.2014, 13:00
Re: Important !! - by nezo2001 - 28.12.2014, 13:02
Re: Important !! - by Facerafter - 28.12.2014, 13:09
Re: Important !! - by M4D - 28.12.2014, 13:09
Re: Important !! - by nezo2001 - 28.12.2014, 13:12
Re: Important !! - by nezo2001 - 28.12.2014, 13:15
Re: Important !! - by Facerafter - 28.12.2014, 13:16
Re: Important !! - by nezo2001 - 28.12.2014, 13:19
Re: Important !! - by Facerafter - 28.12.2014, 13:22

Forum Jump:


Users browsing this thread: 2 Guest(s)