daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Sep 18th, 2011 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function SWGuard_OnEnterVehicle( unit )
  2.         unit:SendChatMessage( 12, 0, "Naice! I'm on a vehicle now!" );
  3. end
  4.  
  5. function SWGuard_OnExitVehicle( unit )
  6.         unit:SendChatMessage( 12, 0, "Aw I got booted :(" );
  7. end
  8.  
  9. function Horsey_OnFirstPassengerEntered( vehicle, passenger )
  10.         vehicle:SendChatMessage( 12, 0, "Finally someone!" );
  11. end
  12.  
  13. function Horsey_OnVehicleFull( vehicle )
  14.         vehicle:SendChatMessage( 12, 0, "Now I feel full :S" );
  15. end
  16.  
  17. function Horsey_OnLastPassengerLeft( vehicle, passenger )
  18.         vehicle:SendChatMessage( 12, 0, "So ronery..." );
  19. end
  20.  
  21. RegisterUnitEvent( 68, 24, "SWGuard_OnEnterVehicle" );
  22. RegisterUnitEvent( 68, 25, "SWGuard_OnExitVehicle" );
  23. RegisterUnitEvent( 28605, 26, "Horsey_OnFirstPassengerEntered" );
  24. RegisterUnitEvent( 28605, 27, "Horsey_OnVehicleFull" );
  25. RegisterUnitEvent( 28605, 28, "Horsey_OnLastPassengerLeft" );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top