Client
Using canary? No.
Windows version: Windows 10 Pro, 64 bit (Build 19041)
System specifications: i5 8400, GTX 1060 6GB, 16 GB RAM.
Server
Operating system: Windows 10 Pro, 64 bit (Build 19041)
Artifact version: I tested it on 2967 and 3100.
IP address: 127.0.0.1
Resources: Clean server.
System specifications: i5 8400, GTX 1060 6GB, 16 GB RAM.
Incident
Summary: Tried spawning a car on the server, using a command, and after all the player leave, the car dosen’t stay spawned. After all players leave, and at least one joins back the car is not more on the server. The command is set on the server-side script, as many told me to do, in order to keep the car spawned.
Expected behavior: As far as everyone told me, including some moderators, after spawning the car on the server, it should be persistent, and not dissaper, even if there are no players online.
Actual behavior: The car despawns after all the players leave the server, and when they join back, the car is not more there.
Steps to reproduce: Create a resource, and create a command using CreateVehicle to spawn a vehicle on the server side file. Join the server (only 1 player), use the command to create the car, then leave the server. After leaving the server, join back and the car won’t be there anymore.
Server/Client? Server.
Files for repro (if any):
RegisterCommand('vehicle', function()
CreateVehicle(3486135912, -1446.072, 5411.912, 24.83151, 1.0, true, true)
end)
Error screenshot (if any): There are no errors. The cars spawn as they should, but don’t remain spawned after all players leave. https://streamable.com/jq7v88
.dmp files/report IDs: None.
Any additional info: Using +set onesync legacy (in the server start file)