Why is this /exit not working
#1

Код:
	else if(IsPlayerInRangeOfPoint(playerid,3.0,385.8938,173.8353,1008.3828)) //City Hall
			{
			    if(GetPlayerInterior(playerid) == 101)
			    {
			    	SetPlayerInterior(playerid, 0);
			    	SetPlayerVirtualWorld(playerid, 0);
			    	SetPlayerPos(playerid, 1481.2781,-1774.8430,15.3466);
                	SetPlayerFacingAngle(playerid, 181.8075);
                	SetCameraBehindPlayer(playerid);
				}
			}
All the others work except this one and cords are good.
Reply
#2

Are you using a custom building? Cause if not, the interior for the "city hall interior most people use" is not 101, it is 3.
Reply
#3

else if(IsPlayerInRangeOfPoint(playerid,3.0,385.8938,17 3.8353,1008.382) //City Hall
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, -1);
SetPlayerPos(playerid, 1481.2781,-1774.8430,15.3466);
SetPlayerFacingAngle(playerid, 181.8075);
SetCameraBehindPlayer(playerid);
}
use these
Reply
#4

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Are you using a custom building? Cause if not, the interior for the "city hall interior most people use" is not 101, it is 3.
Yes custom building and thanks, that works
Reply
#5

Normally it has to work, but do you need to set your interior to ''0'' once you want to exit and be able to get in the normal virtual world.
Reply
#6

When you're inside type /interior and see if it says 101.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)