Okay so I made this because it was easy, at the same time I'm an amateur coder so IDK if I've got the right idea but it does what it's supposed to do. Puts the players in Skis when they spawn, and doesn't allow them to get off. You'd have to change "PlayerStandardArmor" to the actual datablock of the Ski Player
package ForceSkisPlayerPackage
{
function gameConnection::spawnPlayer(%client)
{
Parent::spawnPlayer(%client);
%player = %client.player;
if(%player.dataBlock $= "PlayerStandardArmor")
{
%player.startSkiing();
}
}
function Armor::doDismount(%this, %obj, %forced)
{
%player = %obj;
if(%player.dataBlock $= "PlayerStandardArmor")
{
return;
}
else
{
Parent::doDismount(%this, %obj, %forced);
}
}
};
activatePackage(ForceSkisPlayerPackage);
You'll still come off your skis if you hit something hard and tumble though. What do you want to happen in that instance? Just have the player die?