Jump to content
  • 0

Question

Posted

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]);

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.