Skip to content

fixed an issue with glide vehicles - #116

Open
NovaAstral wants to merge 3 commits into
spacebuild:masterfrom
NovaAstral:master
Open

NovaAstral wants to merge 3 commits into
spacebuild:masterfrom
NovaAstral:master

Conversation

@NovaAstral

@NovaAstral NovaAstral commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Fixed an issue with glide vehicles causing a lua error and not spawning because they dont have a valid model
this fixes #115

- Fixed an issue with glide vehicles causing a lua error and not spawning because they dont have a valid model
I thought it might cause a lua error if it was already a string but it doesn't so shrug
local model = vehicle:GetModel() or "nil"
DebugMessage("SBEP Vehicle Ground Preventation")
DebugMessage("The Vehicle Model is: "..model.."")
DebugMessage("The Vehicle Model is: "..tostring(model).."")

@NovaAstral NovaAstral Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this tostring most likely isn't needed, and infact it would possibly fix the issue without having to have model return or "nil" but its there now so 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot spawn Glide vehicle when i have this enabled

1 participant