Jump to content
  • 0

Problema sequester sistem


Gawitkkk

Question

Salut ! Am făcut un sistem de sechestrare a maşinilor, membrii TTC pot sechestra maşinile persoane.

 

Totul este ok, însă doar maşina mea personala o pot sechestra, dacă am maşina altui player nu se sechestrează atunci când întru in checkpoint.

 

Aici este OnDialogResponse-ul:

 

if(response)
        {
            new idd = 2,
            towedcar;
            towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid));
            CarInfo[idd][cSequester] = 1;
            format(CarInfo[idd][cSequesterName],256,GetName(playerid));
            format(CarInfo[idd][cSequesterReason], 256, inputtext);
            CarInfo[idd][cSequesterPrice] = 5;
            CarInfo[idd][cSequesterTime] = 12;
            vUpdate(idd,  cSequesterx);
            vUpdate(idd,  cSequesterNamex);
            vUpdate(idd,  cSequesterReasonx);
            vUpdate(idd,  cSequesterPricex);
            vUpdate(idd,  cSequesterTimex);
            SCM(playerid, COLOR_WHITE, "You sequester with successfull that personal vehicle !");
            SetVehicleToRespawn(towedcar);
            DisablePlayerCheckpoint(playerid);
        }


 

Aş vrea să ştiu cum pot face să se poată sechestra şi maşinile persoane ale altor playeri.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.