Skripta koju koristim: enterijor..
Problem: Znaci napravio sam enterijor u zgradu i kad ulazim u njega prebacuje me u narodnu banku (u drugi enterijor)
Dao si ajmo reci premalo informacija :D
Nisi vjerovatno dobro odradio komandu ulaska u int :D
Potrazi tut ima sigurno na forumu ;)
if (PlayerToPointStripped(1, playerid,1653.9879,-1655.7493,22.5156, cx,cy,cz))
{
//FBI Enter Glavni
SetPlayerPos(playerid, 288.7287,168.5377,1007.1719);
GameTextForPlayer(playerid, "~w~FBI Baza",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
else if (PlayerToPointStripped(1, playerid,1511.8963,-1479.6108,63.8593, cx,cy,cz))
{
//FBI Enter Krov
SetPlayerPos(playerid, 298.1949,174.6778,1007.1718);
GameTextForPlayer(playerid, "~w~FBI Baza",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
else if (PlayerToPointStripped(1, playerid,1510.6480,-1469.6540,9.5000, cx,cy,cz))
{
//FBI Enter Garaza
SetPlayerPos(playerid, 298.1949,174.6778,1007.1718);
GameTextForPlayer(playerid, "~w~FBI Baza",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
else if (PlayerToPointStripped(1, playerid,288.7287,167.0377,1007.1719, cx,cy,cz))
{
//FBI Exit
SetPlayerPos(playerid, 1653.9879,-1655.7493,22.5156);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
else if (PlayerToPointStripped(1, playerid,238.3001,138.9406,1003.0234, cx,cy,cz))
{
//FBI Exit
SetPlayerPos(playerid, 1653.9879,-1655.7493,22.5156);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
Eto cijo kod..
mozda kordinate nisu uredu, a i ako koristis isti int, za te banke, moras i drukcije virtualwordove stavljat