-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small cleanup. #106
Small cleanup. #106
Conversation
not fully tested it. but you do have an error |
Oopsy daisy, Fixed it 🥲 |
Thanks for the cleanup, much needed, this resource is quite old already. Are these changes live in a server and working as intended? |
No, Will put it tomorrow in a live server. |
I've had it in for just under 2 weeks no real issue. but I don't do everything. ill ask people of my city if they had any issues. |
Worked fine for me. |
yes worked fine. tested all. |
Small cleanup.
Changed GetDistanceBetweenCoords to lua math check.
Changed table.insert and table.remove to
tableName[#tableName+1] = whatever
andtableName[id] = nil
.Made models after spawning to unload from memory using
SetModelAsNoLongerNeeded
.