[Pomoc] /exit

Započeo DobarLosZao, Avgust 03, 2011, 20:43:17 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.


Skripta koju koristim: Gf Edit
Detaljan opis problema: Nemogu izac iz nijedne zgrade kordinati su dobri
Dio skripte: if(strcmp(cmd, "/exit", true) == 0)
{
    if(IsPlayerConnected(playerid))
{
for(new i = 0; i <  sizeof(HouseInfo); i++)
{
//printf("House :%d",i);
if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
if(HouseInfo[i][hHel] == 1)
{
new Float:tempheal;
GetPlayerHealth(playerid,tempheal);
if(tempheal < 100.0)
{
SetPlayerHealth(playerid,100.0);
}
}
}
}
for(new i = 0; i <  sizeof(BizzInfo); i++)
{
//printf("Bizz :%d",i);
if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
{
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
PlayerInfo[playerid][pLocal] = 255;
}
}
if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
}
else if (PlayerToPoint(6.0, playerid,387.7978,173.8582,1008.3828))//Gradska vijecnica Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1494.2909,919.9765,7.1875);
}
else if (PlayerToPoint(6.0, playerid,-2477.3301,131.5735,64.9353))//King's Krov Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2467.1780,137.1335,35.1719);
}
else if (PlayerToPoint(6.0, playerid,2807.6318,-1172.9641,1025.5703))//King's HQ Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2457.4578,128.3785,35.1719);
}
else if (PlayerToPoint(6.0, playerid,363.4129,-74.5783,1001.5078))//Burger Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1911.4158,828.9231,35.1719);
}
else if (PlayerToPoint(6.0, playerid,365.6730,-10.7132,1001.8516))//Cluckin` Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1816.3649,617.0126,35.1719);
}
else if (PlayerToPoint(6.0, playerid,372.3520,-131.6613,1001.4922))//Pizzeria Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1807.8591,944.9744,24.8906);
}
else if (PlayerToPoint(6.0, playerid,-30.9479,-89.6127,1003.5469))//SF INTERSPAR Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2442.9116,752.9581,35.1719);
}
else if (PlayerToPoint(6.0, playerid,-27.4682,-29.3736,1003.5573))//E-Bay INTERSPAR Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2491.2778,2363.1719,10.2725);
}
else if (PlayerToPoint(6.0, playerid,2305.6890,-16.0881,26.7496))//Banka Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2352.5420,493.4432,30.8402);
}
else if (PlayerToPoint(6.0, playerid,246.783996,63.900199,1003.640625))//SF Police Station Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1605.6317,711.7258,13.8672);
}

else if (PlayerToPoint(10.0, playerid,238.6797,140.0604,1003.0234))//FBI EXIt
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1653.9591064453,-1655.4307861328,22.515625);
}
else if (PlayerToPoint(6.0, playerid,-2184.2036,658.5449,73.8359))//yakuza Krov Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2184.0737,646.8181,49.4375);
}
            else if (PlayerToPoint(10.0, playerid,1657.5514,-1642.9895,83.7813))//fbi Krov Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1665.21752930,-1659.78002930,22.17082977);
}
else if (PlayerToPoint(6.0, playerid,377.1800,-192.6030,1000.6328))//Krafna Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2767.3848,788.8003,52.7813);
}
else if (PlayerToPoint(6.0, playerid,1204.809936,-11.586799,1000.921875))//Strip Club Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2551.7278,193.7213,6.1910);
}
else if (PlayerToPoint(6.0, playerid,-2637.4500,1404.6300,906.4609))//Jizzy`s Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2624.4346,1412.1604,7.0938);
}
else if (PlayerToPoint(6.0, playerid,493.3910,-22.7228,1000.6797))//Bar Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2478.9011,2318.3538,4.9844);
}
else if (PlayerToPoint(6.0, playerid,772.111999,-3.898649,1000.728820))//GYM Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2269.4573,-155.9437,35.3203);
}
else if (PlayerToPoint(6.0, playerid,501.980987,-69.150199,998.757812))//Classic Rock Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1978.0576,84.7796,27.6889);
}
else if (PlayerToPoint(6.0, playerid,1204.809936,13.897239,1000.921875))//Private Room Exit
{
    SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1204.7921,11.9087,1000.9219);
}
else if (PlayerToPoint(6.0, playerid,-2229.8777,-116.2453,47.2874))//Ghetto Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2227.2485,-105.8840,35.3203);
}
else if (PlayerToPoint(6.0, playerid,-2444.7986,2254.2188,14.8964))//GSF krov Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2448.5752,2251.1362,4.9844);
}
else if (PlayerToPoint(6.0, playerid,2496.65,-1696.55,1014.74))//GSF HQ Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2455.5847,2254.1594,4.9806);
}
else if (PlayerToPoint(6.0, playerid,2016.9382,1017.9971,996.8750))//GSF HQ Exit
{
    SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2520.7732,-623.0198,132.7632);
}
else if (PlayerToPoint(6.0, playerid,-2158.9089,642.2257,1052.3817))//Vagos exit
{
    SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,-1855.6715,-1560.6594,21.7500);
}
else if(NoFuel[playerid] == 1)
{
    TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
NoFuel[playerid] = 0;
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno): //


|| Mappam Besplatno PM me ||
|| Trebam Pomocnog Skriptera ||

Moje Mape