Jump to content

[REZOLVAT] Problema towcar


alkaTraz
 Share

Recommended Posts

In primul rand e normal sa se cauzeze asta deoarece tu ai vehiculele pe fiecare in parte, folosesti un sistem de vehicul mai vechi. Fa verificare pentru toate masinile in parte deoarece tu ai doar pentru o masina, cred ca doar pentru primul slot din /v si cand spawnezi alta masina ti se creeaza bug.

 

EDIT: ori faci un for new

Edited by AlexxAdv
Link to comment
Share on other sites

stock RespawnPVeh(vid,playerid)
{
    new masinalui,carid;
    if(vid == personalcar[0][playerid])
    {
        vehEngine[personalcar[0][playerid]] = 0;
        DestroyVehicle(personalcar[0][playerid]);
        OwnedVeh(personalcar[0][playerid]) = 0;
        carid = PlayerInfo[playerid][pPcarkey];
        Gas[personalcar[0][playerid]] = CarInfo[carid][cGas];
        masinalui = 1;
        SetVehicleHealth(carid, 999);
    }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...