Lua
function set(player)
if getPedOccupiedVehicle ( player ) then
local veh = getPedOccupiedVehicle ( player )
local handling = getVehicleHandling ( veh )
local data = handlingTable["maxVelocity"]
setVehicleHandling( veh, "maxVelocity", data+100)
outputChatBox("Deine Velocity stieg um 100!", player, 0, 255, 0)
end
end
addCommandHandler("velocity", set)
[10:54:21] ERROR: handling\handling.lua:5: attempt to index global 'handlingTable' (a nil value)