
Untitled
By: a guest on Jan 28th, 2012 | syntax:
Lua | size: 0.26 KB | hits: 29 | expires: Never
function enterVehicle( theVehicle, seat, jacked )
if getVehicleOccupant ( theVehicle, 0 ) then
outputChatBox("Du sitzt in dem Fahrzeug "..getVehicleName( theVehicle ).." !", source)
end
end
addEventHandler("onPlayerVehicleEnter", getRootElement(), enterVehicle)