09.08.2009, 05:39
if your going to only do this when a player exits a vehicle use public OnPlayerExitVehicle(playerid, vehicleid)
like:
However the vehicle wont respawn so you should use SetVehicleToRespawn(1);
so this should respawn the vehicle
like:
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
DestroyVehicle(vehicleid);
return 1;
}
so this should respawn the vehicle
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetVehicleToRespawn(1);
return 1;
}