All pastes #585673 Raw Edit

Miscellany

public c v1 · immutable
·published 2007-06-23 11:38 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 );}