Jump to content
  • 0

Problema gm burned


Pro-SkZ

Question

in timp ce merg cu masina chiar daca sunt in ea . dispare si ma da jos din ea  si daca scot functia despawn chiar daca dau /q  masinile tot raman pe sv 

va multumesc pentru timp acordat . 

 

function DespawnVehicle(carid) {
    new dbid = FindSpawnID(carid);
    if(CarInfo[dbid][Spawned] != 0) DestroyPlayerCar(dbid);
    printf("Vehicle %d despawned. [db: %d]", carid, dbid);
    return 1;
}
 

 

            new carid = FindSpawnID(gLastCar[playerid]);
            if(carid != 0) VehicleTimer[gLastCar[playerid]] = SetTimerEx("DespawnVehicle", 60000*20, 0, "d", gLastCar[playerid]);

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.