Noneatme

Untitled

Nov 22nd, 2012
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. ---------------------------------
  2. ------- MADE BY NONEATME --------
  3. ---------------------------------
  4.  
  5. local cFunc = {}
  6. local cSetting = {}
  7.  
  8.  
  9. addEvent("doTrailerEinsteigen", true)
  10.  
  11.  
  12. -- FUNCTIONS --
  13.  
  14.  
  15. addEventHandler("doTrailerEinsteigen", getRootElement(), function(theVehicle)
  16.     if(getVehicleOccupant(theVehicle) == false) then
  17.         warpPedIntoVehicle(source, theVehicle)
  18.     end
  19. end)
  20.  
  21.  
  22. -- EVENT HANDLERS --
Advertisement
Add Comment
Please, Sign In to add comment