Already in Classic
This commit is contained in:
ChocoTaco1 2020-04-06 17:46:06 -04:00
parent 525f431ce6
commit ccf6b7ca2b

View file

@ -283,17 +283,6 @@ function resetObserveFollow( %client, %dismount )
}
}
// ilys - checkSpeed function. Kill the driver and MPB if going too fast.
function WheeledVehicle::checkSpeed(%data, %obj)
{
if(VectorLen(%obj.getVelocity()) > 200)
{
if(%obj.getMountNodeObject(0)) %obj.getMountNodeObject(0).scriptKill(36);
%obj.setDamagelevel(4);
}
%obj.schedule(5000, "checkSpeed", %data, %obj);
}
// ilys - No lava, please.
function StationVehiclePad::createStationVehicle(%data, %obj)
{