Closed Shafat21 closed 5 months ago
Show us your code where you are using the function for spawning the car
@Shafat21 Hi! This is unique case probably the coordinate you entered is nil and that's why you get error.
Contact me on discord and I'll help you guys fix your scripted problem, but it's not a global problem, it's a local problem.
Describe the bug Getting this error when I want to spawn a car in the world
To Reproduce SCRIPT ERROR: @es_extended/server/onesync.lua:55: attempt to perform arithmetic on a nil value (local 'playerCoords')
Expected behavior It should spawn me a car without an error
Screenshots
Debug Info (please complete the following information):