Destroying Vehicles
#1

Does anyone know a pawno code that can delete a vehicle 30 seconds after use

P.S. I do not mean respawn..
Reply
#2

Use a timer that runs for 30 secs, the use DestroyVehicle
Reply
#3

I am not really good with scripting can you tell me the code please
Reply
#4

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    SetTimerEx("AutoDestroy", 30000, false, "i", vehicleid);
    return 1;
}

forward AutoDestroy(vehicleid);
public AutoDestroy(vehicleid) return DestroyVehicle(vehicleid);
Reply
#5

thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)