for forget's sake
also you can only do this at max 30 seconds.
package VehicleStuff
{
function Armor::onMount( %this , %player , %vehicle , %seat )
{
%cn = %vehicle.getClassName();
if( %cn $= "WheeledVehicle" || %cn $= "FlyingVehicle" || %cn $= "HoverVehicle" )
%player.client.killSchedule = %player.schedule( 30000 , "kill" );
parent::onMount( %this , %player , %vehicle , %seat );
}
function GameConnection::spawnPlayer( %this )
{
parent::spawnPlayer( %this );
if(isEventPending( %this.killSchedule )
cancel( %this.killSchedule );
}
};