Skripta koju koristim:UP
Detaljan opis probljema;Kako da postavim onaj ulaz u int ,uzeo sam koordinate i stavio to i nema niceg ispred ulaza.
Deo skripte: /(/)
[POMOC]Ulaz u INT
619
pregleda
17
postova
17. Jul 2014.
Ma gle,ja znaci tamo namjestim da udje u int,ali nece :S ..
gle dje sam sve ,,
Jos tu..
gle dje sam sve ,,
else if( UlazUintRazdaljina(2, playerid, 2179.5295,-2255.9658,14.7734,cx,cy,cz ) ) //LCN ulaz
{
if(PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerPos(playerid, 1133.8728,-2049.8533,69.0078);
SetPlayerInterior(playerid, 2);
}
else
{
SCM(playerid,-1,""CRVENA": "BELA"Samo clanovi LCN!");
}
}
else if( UlazUintRazdaljina(2, playerid, 2468.3789,-1698.3253,1013.5078,cx,cy,cz ) ) //LCN izlaz
{
if(PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1936.8915,-1077.7231,24.4216);
}
else
{
SCM(playerid,-1,""CRVENA": "CRVENA"Samo clanovi LCN!");
}
}
Jos tu..
ServerLabel = CreateDynamic3DTextLabel(""BELA"[ La Cosa Nostra ]\n"BELA"Pritisnite 'F' za ulaz",0x9EC73DAA, 1122.7104,-2036.9475,69.8942, 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 30.0);
18. Jul 2014.
pa namjesteno je ovako :
else if( UlazUintRazdaljina(2, playerid, 1122.7104,-2036.9475,69.8942,cx,cy,cz ) ) //LCN ulaz
{
if(PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerPos(playerid, 1133.8728,-2049.8533,69.0078);
SetPlayerInterior(playerid, 2);
}
else
{
SCM(playerid,-1,""CRVENA": "BELA"Samo clanovi LCN!");
}
}
else if( UlazUintRazdaljina(2, playerid, 2468.3789,-1698.3253,1013.5078,cx,cy,cz ) ) //LCN izlaz iz baze
{
if(PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1936.8915,-1077.7231,24.4216);
}
else
{
SCM(playerid,-1,""CRVENA": "CRVENA"Samo clanovi LCN!");
}
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava