/Enter & /Exit
#1

Enter;

Код:
	if (PlayerToPoint(3.0, playerid,-2442.6216,754.3491,35.1719))
	{ // LVPD
  SetPlayerInterior(playerid,6);
  PlayerInfo[playerid][pInt] = 6;
  SetPlayerVirtualWorld(playerid,0);
  PlayerInfo[playerid][pVirWorld] = 0;
  SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
	}
Exit;

Код:
      if (PlayerToPoint(3.0, playerid,6.091179,-29.271898,1003.549438))
	    { // LVPD
      SetPlayerInterior(playerid,0);
      PlayerInfo[playerid][pInt] = 0;
      SetPlayerVirtualWorld(playerid,0);
      PlayerInfo[playerid][pVirWorld] = 0;
      SetPlayerPos(playerid,-2442.6216,754.3491,35.1719);
    	}


?
Reply
#2

You can't just set the interior and it will put you inside, you must get the coordinates when you are INSIDE the interior.
Reply
#3

Quote:
Originally Posted by efeX
You can't just set the interior and it will put you inside, you must get the coordinates when you are INSIDE the interior.
If you actually looked at the code, He has done the inside positions...
Reply
#4

Please explain your problem, & not just post your stuff up.

Turn
pawn Код:
// DisableInteriorEnterExits();
Off, & just /save & /interior inside the Police Station Interior you're using. If this isn't what the problem is don't come crying, because you're the one who didn't tell us.
Reply
#5

Quote:
Originally Posted by Miokie*
Quote:
Originally Posted by efeX
You can't just set the interior and it will put you inside, you must get the coordinates when you are INSIDE the interior.
If you actually looked at the code, He has done the inside positions...
Then what's wrong genius?
Reply
#6

I do not know English
much

Write the correct codes?
Reply
#7

The coords must be wrong, if they aren't, debug it.
Reply
#8

Quote:
Originally Posted by MenaceX^
The coords must be wrong, if they aren't, debug it.
Back to what i said...
"you must get the coordinates when you are INSIDE the interior."

The coordinates are obviously wrong.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)