Peršokti į turinį
  • ŽAIDIMAI
  • , ŽAIDIMAI
  • ŽAIDIMAI

[Pagalbos] Dėl VM


Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3990 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Recommended Posts

Sveiki, žodžiu trumpai iškilo bėda su VM įsėdu į mašiną išmeta lentelė ar tikrai noriu laikytis teises, tuomet atsiranda pirmasis taškas kur reikia nuvažiuoti, nuvažiuojį į taška mašina dingsta ir rašo išlaikiau teises o toliau tie taškai atsiranda kai užlipi. Kame bėda?

 

 

  return 1;
}
public Buspay(playerid,Float:x,Float:y,Float:z)
{
    if(PlayerToPoint(20,playerid,x,y,z))
    {
        GivePlayerMoneyA(playerid,random(10));
        GameTextForPlayer(playerid,"Galite važiuoti",1000,5);
    }
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
 if(vm[playerid] == 1)
 {
  vm2[playerid] = SetPlayerRaceCheckpoint(playerid,2,1579.2064,-2280.8472,13.3462,0.0,0.0,0.0,2);
  vm[playerid]=-1;
 }
 else if(vm2[playerid] == 1)
 {
  vm3[playerid] = SetPlayerRaceCheckpoint(playerid,2,1531.9304,-2283.9333,13.3828,0.0,0.0,0.0,2);
  vm2[playerid]=-1;
 }
 else if(vm3[playerid] == 1)
 {
  vm4[playerid] = SetPlayerRaceCheckpoint(playerid,2,1482.5121,-2237.9854,13.3828,0.0,0.0,0.0,2);
  vm3[playerid]=-1;
 }
 else if(vm4[playerid] == 1)
 {
  vm5[playerid] = SetPlayerRaceCheckpoint(playerid,2,1433.5398,-2253.6978,13.3828,0.0,0.0,0.0,2);
  vm4[playerid]=-1;
 }
 else if(vm5[playerid] == 1)
 {
  vm6[playerid] = SetPlayerRaceCheckpoint(playerid,2,1417.9884,-2283.7791,13.3828,0.0,0.0,0.0,2);
  vm5[playerid]=-1;
 }
 else if(vm6[playerid] == 1)
 {
  vm7[playerid] = SetPlayerRaceCheckpoint(playerid,2,1353.5203,-2266.9468,13.3828,0.0,0.0,0.0,2);
  vm6[playerid]=-1;
 }
 else if(vm7[playerid] == 1)
 {
  vm8[playerid] = SetPlayerRaceCheckpoint(playerid,2,1359.1921,-2188.9917,13.3828,0.0,0.0,0.0,2);
  vm7[playerid]=-1;
 }
 else if(vm8[playerid] == 1)
 {
  vm9[playerid] = SetPlayerRaceCheckpoint(playerid,2,1435.8044,-2135.2717,13.3828,0.0,0.0,0.0,2);
  vm8[playerid]=-1;
 }
 else if(vm9[playerid] == 1)
 {
  vm10[playerid] = SetPlayerRaceCheckpoint(playerid,2,1544.0946,-2130.1475,14.6924,0.0,0.0,0.0,2);
  vm9[playerid]=-1;
 }
 else if(vm10[playerid] == 1)
 {
  vm12[playerid] = SetPlayerRaceCheckpoint(playerid,2,1664.4520,-1941.6418,23.9156,0.0,0.0,0.0,2);
  vm10[playerid]=-1;
 }
 else if(vm12[playerid] == 1)
 {
  vm13[playerid] = SetPlayerRaceCheckpoint(playerid,2,1616.7627,-1723.6782,28.0343,0.0,0.0,0.0,2);
  vm12[playerid]=-1;
 }
 else if(vm13[playerid] == 1)
 {
  vm14[playerid] = SetPlayerRaceCheckpoint(playerid,2,1619.8569,-1625.4086,28.5027,0.0,0.0,0.0,2);
  vm13[playerid]=-1;
 }
 else if(vm14[playerid] == 1)
 {
  vm15[playerid] = SetPlayerRaceCheckpoint(playerid,2,1768.2833,-1522.2178,11.7967,0.0,0.0,0.0,2);
  vm14[playerid]=-1;
 }
 else if(vm15[playerid] == 1)
 {
  vm16[playerid] = SetPlayerRaceCheckpoint(playerid,2,1886.6650,-1529.4908,3.2719,0.0,0.0,0.0,2);
  vm15[playerid]=-1;
 }
 else if(vm16[playerid] == 1)
 {
  vm17[playerid] = SetPlayerRaceCheckpoint(playerid,2,1819.1332,-1600.0453,13.3602,0.0,0.0,0.0,2);
  vm16[playerid]=-1;
 }
 else if(vm17[playerid] == 1)
 {
  vm18[playerid] = SetPlayerRaceCheckpoint(playerid,2,1819.0175,-1761.1726,13.3828,0.0,0.0,0.0,2);
  vm17[playerid]=-1;
 }
 else if(vm18[playerid] == 1)
 {
  vm19[playerid] = SetPlayerRaceCheckpoint(playerid,2,1820.5653,-1932.6023,13.3771,0.0,0.0,0.0,2);
  vm18[playerid]=-1;
    }
 else if(vm19[playerid] == 1)
 {
  vm20[playerid] = SetPlayerRaceCheckpoint(playerid,2,1942.7894,-1934.9861,13.3828,0.0,0.0,0.0,2);
  vm19[playerid]=-1;
 }
 else if(vm20[playerid] == 1)
 {
  vm21[playerid] = SetPlayerRaceCheckpoint(playerid,2,1958.9425,-1949.8400,13.7169,0.0,0.0,0.0,2);
  vm20[playerid]=-1;
 }
 else if(vm21[playerid] == 1)
 {
  vm22[playerid] = SetPlayerRaceCheckpoint(playerid,2,1959.2949,-2068.1130,13.3828,0.0,0.0,0.0,2);
  vm21[playerid]=-1;
 }
 else if(vm22[playerid] == 1)
 {
  vm23[playerid] = SetPlayerRaceCheckpoint(playerid,2,1959.0691,-2155.0457,13.3828,0.0,0.0,0.0,2);
  vm22[playerid]=-1;
 }
 else if(vm23[playerid] == 1)
 {
  vm24[playerid] = SetPlayerRaceCheckpoint(playerid,2,1928.7192,-2164.0784,13.3828,0.0,0.0,0.0,2);
  vm23[playerid]=-1;
 }
 else if(vm24[playerid] == 1)
 {
  vm25[playerid] = SetPlayerRaceCheckpoint(playerid,2,1786.0096,-2164.0342,13.3828,0.0,0.0,0.0,2);
  vm24[playerid]=-1;
 }
 else if(vm25[playerid] == 1)
 {
  vm26[playerid] = SetPlayerRaceCheckpoint(playerid,2,1758.4387,-2191.3999,13.3750,0.0,0.0,0.0,2);
  vm25[playerid]=-1;
 }
 else if(vm26[playerid] == 1)
 {
  vm27[playerid] = SetPlayerRaceCheckpoint(playerid,2,1690.2867,-2191.7017,13.3750,0.0,0.0,0.0,2);
  vm26[playerid]=-1;
 }
 else if(vm27[playerid] == 1)
 {
  vm28[playerid] = SetPlayerRaceCheckpoint(playerid,2,1590.5466,-2192.0310,13.3750,0.0,0.0,0.0,2);
  vm27[playerid]=-1;
 }
 else if(vm28[playerid] == 1)
 {
  vm29[playerid] = SetPlayerRaceCheckpoint(playerid,2,1486.0929,-2192.0083,13.3750,0.0,0.0,0.0,2);
  vm28[playerid]=-1;
 }
 else if(vm29[playerid] == 1)
 {
  vm30[playerid] = SetPlayerRaceCheckpoint(playerid,2,1471.8932,-2209.0986,13.3828,0.0,0.0,0.0,2);
  vm29[playerid]=-1;
 }
 else if(vm30[playerid] == 1)
 {
  vm31[playerid] = SetPlayerRaceCheckpoint(playerid,2,1490.8882,-2244.7468,13.3828,0.0,0.0,0.0,2);
  vm30[playerid]=-1;
 }
 else if(vm31[playerid] == 1)
 {
  vm32[playerid] = SetPlayerRaceCheckpoint(playerid,2,1517.9237,-2286.1052,13.3828,0.0,0.0,0.0,2);
  vm31[playerid]=-1;
 }
 else if(vm32[playerid] == 1)
 {
  vm33[playerid] = SetPlayerRaceCheckpoint(playerid,2,1563.1321,-2289.0535,13.3896,0.0,0.0,0.0,2);
  vm32[playerid]=-1;
 }
 else if(vm33[playerid] == 1)
 {
  vm34[playerid] = SetPlayerRaceCheckpoint(playerid,2,1604.5347,-2288.1799,13.5225,0.0,0.0,0.0,2);
  vm33[playerid]=-1;
 }
 else if(vm34[playerid] == 1)//26
 
  DisablePlayerRaceCheckpoint(playerid);
  SendClientMessage(playerid, 0xFFFF00FF, "Vairavimo egzaminas baigtas.");
  vm19[playerid]=-1;
     new Float:health;
 new veh;
    veh = GetPlayerVehicleID(playerid);
    GetVehicleHealth(veh, health);
    if(health > 850)
 {
    new vehicleid = GetPlayerVehicleID(playerid);
 new model = GetVehicleModel(vehicleid);
 if(vmcar[0] | vmcar[1] | vmcar[2] | vmcar[3] | vmcar[4])
 {
  SendClientMessage(playerid,COLOR_GREEN,"Jūs išlaikėte vairavimo egzaminą. Sėkmės kelyje.");
    playerDB[playerid][teises]=true;
  SetVehicleHealth(GetPlayerVehicleID(playerid),-7);
  RemovePlayerFromVehicle(playerid);
 return 1;
 }
 }
    if(health < 860)
    {
  SendClientMessage(playerid,COLOR_YELLOW,"Jūs neišlaikėte vairavimo egzamino. Sėkmės kitą kartą.");
  SetVehicleHealth(GetPlayerVehicleID(playerid),-7);
  RemovePlayerFromVehicle(playerid);
  return 1;

Redaguota , nario Nikes

586a57b517501_E38F103250A71028BDAF59DA7C

Nuoroda į komentarą
Dalintis per kitą puslapį

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3990 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti šioje temoje...

×   Įklijuotas tekstas turi teksto formatavimą.   Pašalinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiškai įterpta.   Įterpti nuorodą paprastai

×   Jūsų ankstesnis pranešimas buvo atkurtas.   Išvalyti redaktorių

×   Jūs negalite įkelti nuotraukas tiesiogiai.Įkelkite arba įdėkite nuotraukas iš URL.

  • Šiame puslapyje naršo:   0 nariai

    • Nėra registruotų narių peržiūrinčių šį forumą.

Skelbimai


×
×
  • Sukurti naują...