Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: NeroX poslato Avgust 19, 2013, 16:35:59 POSLE PODNE

Naslov: (Brzo)
Poruka od: NeroX poslato Avgust 19, 2013, 16:35:59 POSLE PODNE
Skripta koju koristim: enterijor..

Problem: Znaci napravio sam enterijor u zgradu i kad ulazim u njega prebacuje me u narodnu banku (u drugi enterijor)
Naslov: Odg: (Brzo)
Poruka od: D3J@|\| poslato Avgust 19, 2013, 18:42:15 POSLE PODNE
Dao si ajmo reci premalo informacija  :D
Nisi vjerovatno dobro odradio komandu ulaska u int :D
Potrazi tut ima sigurno na forumu  ;)
Naslov: Odg: (Brzo)
Poruka od: NeroX poslato Avgust 20, 2013, 08:28:09 PRE PODNE
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..
Naslov: Odg: (Brzo)
Poruka od: Crazyn3ss poslato Avgust 20, 2013, 21:03:18 POSLE PODNE
mozda kordinate nisu uredu, a i ako koristis isti int, za te banke, moras i drukcije virtualwordove stavljat