Author Topic: [Solved] Prevent player from unmounting vehicles  (Read 782 times)

How could I prevent players on my server from unmounting any vehicle?
« Last Edit: July 15, 2016, 10:09:12 PM by Farad »

see if running a trace while dismounting a vehicle shows up any functions that can be packaged? id expect some sort of command like armor::dismount to be called.

if nothing shows up, you may be able to package armor::onTrigger(%this, %obj, %slot, %val) and just not have it do anything when you right click (%slot = 4)

see if running a trace while dismounting a vehicle shows up any functions that can be packaged? id expect some sort of command like armor::dismount to be called.

if nothing shows up, you may be able to package armor::onTrigger(%this, %obj, %slot, %val) and just not have it do anything when you right click (%slot = 4)
Armor::onUnMount(%this, %obj, %mount, %slot) is called, but for some reason it's called once with those four arguments and then again with just %this and %obj. It's weird.

https://forum.blockland.us/index.php?topic=296590.0

run trace or look at addons already made before making help topics