PHP Code:
function onActionGrabbed() {
//Don't parse through the account! it'll make the players account automatically
if(player.account != this.owner) return;
with(player) {
ani = "skateboardidle"; //I don't think this is even it [setani?]
client.ridestatus = 1;
triggerclient("weapon", "-System/Main", "boarddisable");
}
this.hide();
}
PHP Code:
triggeraction(this.x, this.y, "Grabbed", 0);
Thinking about it, you should generally have the getting off the skateboard in the actual weapon, not a class...