View Single Post
  #2  
Old 05-19-2008, 08:27 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
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.xthis.y"Grabbed"0); 

Thinking about it, you should generally have the getting off the skateboard in the actual weapon, not a class...
Reply With Quote