[Pomoc]Interiori

Započeo [PL]Renato Melo, Decembar 16, 2011, 23:23:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

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.!

Poslednja Izmena: Decembar 16, 2011, 23:35:46 POSLE PODNE od Spalato



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);
}
Poslednja Izmena: Decembar 16, 2011, 23:36:50 POSLE PODNE od Spalato