Lua
function motorFunc (source) if getPedOccupiedVehicleSeat(source) == 0 then local vehicle = getPedOccupiedVehicle (source) local state = getVehicleEngineState(vehicle) setVehicleEngineState (vehicle, not state) endend
function onPlayerJoinbindKey ( player, "x", "down", motorfunc )
es geht nicht bitte hilft mir