Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: Lua  |  size: 0.26 KB  |  hits: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. function enterVehicle( theVehicle, seat, jacked )
  2.         if getVehicleOccupant ( theVehicle, 0 ) then
  3.         outputChatBox("Du sitzt in dem Fahrzeug "..getVehicleName( theVehicle ).." !", source)
  4.         end
  5. end
  6.         addEventHandler("onPlayerVehicleEnter", getRootElement(), enterVehicle)