All pastes #585763 Raw Edit

Miscellany

public c v1 · immutable
#585763 ·published 2007-06-23 12:55 UTC
rendered paste body
public DestroyVehicleEx( vehicleid ){	new incar;	for ( new i; i < MAX_PLAYERS; i++ )	{	    if ( IsPlayerConnected( i ) && IsPlayerInVehicle( i , vehicleid ) )	    {	        incar++;	        RemovePlayerFromVehicle( i );	    }	}	if ( incar > 0 )        {		SetTimerEx( "DestroyVehicleEx" , 2000 , 0 , "i" , vehicleid );	}        else        {		DestroyVehicle( vehicleid );}