03.06.2010, 14:16
wrong, I would do something like
EDIT: I wasn't talking to you WackoX, You posted a few seconds before me I didn't see your post.
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetTimerEx("delcar", 5000, 0, "i", vehicleid)
return 1;
}
forward delcar(vehicleid);
public delcar(vehicleid)
{
DestroyVehicle(vehicleid);
//or
SetVehicleToRespawn(vehicleid);
return 1;
}