package GSFnoMount
{
function WheeledVehicleData::onCollision(%this, %obj, %col, %vec, %vecLen)
{
if(%col.client.GSFmount == 1 || %obj.dataBlock !$= "carriervehicle")
Parent::onCollision(%this, %obj, %col, %vec, %vecLen);
}
};
function servercmdnomount(%client)
{
if(%client.GSFmount)
{
%client.GSFmount = 0;
%status = "un";
}
else
%client.GSFmount = 1;
messageClient(%client, '', "You are now "@ %status @"able to mount to aircraft carriers");
}
activatePackage(GSFnoMount);
The way I did was blocking the collision function. This may not be reliable beacuse it doesn't care for trust tests.
Try Armor::onMount