Balkan SA:MP

San Andreas Multiplayer - www.sa-mp.com => Pomoć u vezi SAMP-a => Pomoć u vezi SA-MP servera => Temu započeo: [PL]Renato Melo poslato Decembar 16, 2011, 23:23:06 POSLE PODNE

Naslov: [Pomoc]Interiori
Poruka od: [PL]Renato Melo poslato Decembar 16, 2011, 23:23:06 POSLE PODNE
Pozdrav iman problem sa interiorima,problem je u tome sto,Napravija sam 5 restorana sa istim interiorima na razlicitim mjestima,i sada kad idem uc u jedan restoran i kad idem izac mene izbaci kraj nekog drugog restorana a ne izbaci me kraj onoga kod kojeg sam usa.!

Naslov: Odg: [Pomoc]Interiori
Poruka od: MuLti_ poslato Decembar 16, 2011, 23:23:57 POSLE PODNE
http://wiki.sa-mp.com/wiki/SetPlayerVirtualWorld
Naslov: Odg: [Pomoc]Interiori
Poruka od: [PL]Renato Melo poslato Decembar 16, 2011, 23:32:22 POSLE PODNE
Citat: AlooOo poslato Decembar 16, 2011, 23:23:57 POSLE PODNE
http://wiki.sa-mp.com/wiki/SetPlayerVirtualWorld
Stavim na svaki kafic SetPlayerVirtualWorld i opet nezeli ..

if (PlayerToPoint(3.0, playerid,1271.9023,-943.5009,42.4135))
{
    SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
PlayerInfo[playerid][pInt] = 17;
SetPlayerVirtualWorld(playerid, 1);
}
if (PlayerToPoint(3.0, playerid,1205.0776,-955.2222,42.9268))
{
    SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
PlayerInfo[playerid][pInt] = 17;
SetPlayerVirtualWorld(playerid, 2);
}
if (PlayerToPoint(3.0, playerid,1222.4470,-955.3865,42.9375))
{
    SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
PlayerInfo[playerid][pInt] = 17;
SetPlayerVirtualWorld(playerid, 3);
}
if (PlayerToPoint(3.0, playerid,1237.8856,-951.4646,42.7092))
{
    SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
PlayerInfo[playerid][pInt] = 17;
SetPlayerVirtualWorld(playerid, 4);
}
if (PlayerToPoint(3.0, playerid,1252.6604,-978.2525,37.7574))
{
    SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
PlayerInfo[playerid][pInt] = 17;
SetPlayerVirtualWorld(playerid, 5);
}
Naslov: Odg: [Pomoc]Interiori
Poruka od: KombinatoR poslato Decembar 17, 2011, 19:55:31 POSLE PODNE
Pravila ?