diff --git a/lua/autorun/sh_sbep_vehicles.lua b/lua/autorun/sh_sbep_vehicles.lua index d5d8a35e..ddf3c012 100644 --- a/lua/autorun/sh_sbep_vehicles.lua +++ b/lua/autorun/sh_sbep_vehicles.lua @@ -236,9 +236,9 @@ end function NotInTheGroundPlz( ply, vehicle ) -- Awesome function name hey? pretty descriptive to. - local model = vehicle:GetModel() + local model = vehicle:GetModel() or "nil" DebugMessage("SBEP Vehicle Ground Preventation") - DebugMessage("The Vehicle Model is: "..model.."") + DebugMessage("The Vehicle Model is: "..tostring(model).."") DebugMessage("Player:"..tostring(ply).."") if (model == "models/spacebuild/strange.mdl") then local oldPos = vehicle:GetPos()