This is a tool I wrote when developing my bank robbery script. I use it to spawn all the objects I need (vault door, cash props, etc). The object spawner will check if the object at the location specified already exists and create it if it doesnt. The creation happens on the server and is protected against race conditions.
It is highly consistent as I needed my object spawning to only spawn 1 object even if multiple clients request an object at the same time.
The code is GPL-3.0 open source on my github you can find it at this link.
repo
I wrote example uses for all the functions there.
The resource also contains some debugging tools I had used during my development of the bank robbery resource, including a object gizmos that allowed me to slightly move the position or rotation of existing objects and then copy the new data to the clipboard to paste in the config.
Performance when idle is 0.00 ms and peaks around 0.15 ms when spawning I think
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | ~500 |
Requirements | None |
Support | No |
emphasized text |