I made it for qbcore, I will bring an update after I make esx, I used the meta system for this code to work in esx and qb, if you don’t put this code in your own core the code will not work, you can set this system as you want in config, duration etc. If the duration is less than what you set, you will only be allowed to spawn in the last position.
if you don’t want to use this system, set it to false in config and it won’t work
Update V1.0.4
Added Discord pp feature has been added and works with gif photos.
Also in this update the black screen time when changing location has been increased, so your character renders the environment more correctly.