I started my server with the first script in the FiveM tutorial on client scripts (the spawn script) and it worked perfectly, the problem is that after it I started putting some other external resources (bob74_ipl and the car script in the tutorial) and now if I write in the server “restart spawn” even without making any changes the script just broke, so nothing happens (I should instantly respawn) and if I die the player never respawn so I have to quit and restart the server.
This appears when I enter in the server:
This is when I restart spawn:
And this when I die right after: