01.01.2011, 18:08
pawn Код:
// Somewhere, like in a command
SetTimer( "RespawnVehicles", 5000, false ); // Change '5000' to make a different delay
// After main( )
forward RespawnVehicles( );
public RespawnVehicles( )
{
for( new i = 0; i < MAX_VEHICLES; i ++ )
{
if(!IsPlayerInAnyVehicle(i))
{
SetVehicleToRespawn( i );
}
}
}