27.03.2010, 14:22
Hi everyone.
How to make an interior with 2 positions.
exemple:
the first entrace:
second entrace:
when i exit... (first postion)
The interiors are identical, and teleports to me in the same place. how do I?
How to make an interior with 2 positions.
exemple:
the first entrace:
pawn Code:
if(PlayerToPointStripped(1, playerid,1554.9537,-1675.6584,16.1953, cx,cy,cz))
{//LSPD Entrance
GameTextForPlayer(playerid, "~w~Police Department", 5000, 1);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,246.7079,66.2239,1003.6406);
PlayerInfo[playerid][pInt] = 6;
}
pawn Code:
if(PlayerToPointStripped(1, playerid,488.2531,-82.7632,998.7578, cx,cy,cz))
{//LSPD Entrance
GameTextForPlayer(playerid, "~w~Police Department", 5000, 1);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,246.7079,66.2239,1003.6406);
PlayerInfo[playerid][pInt] = 6;
}
pawn Code:
if(PlayerToPointStripped(1, playerid,246.7079,66.2239,1003.6406, cx,cy,cz)) //
{//LSPD Entrance
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,488.2531,-82.7632,998.7578);
PlayerInfo[playerid][pInt] = 6;
}