Avoiding getting stuck in the interior
If a player leaves the server in the interiors of the underground garage, he will get stuck in it which will cause him to have to contact the administration to teleport him outside, with this option you can avoid such problems by writing the player coordinates when he leaves the server while in the interiors.
The code below is from ESX 1.10.7!
The function code may vary depending on your version of es_extended.
If the code is different, do not copy the code below, make your own changes to the lines that was marked -- MODIFIED
, to avoid problems.
Navigate to es_extended/server/functions.lua
Find function
Core.SavePlayer
Replace the function with the one below or make the changes highlighted on the code below
Find function
Core.SavePlayers
Replace the function with the one below or make the changes highlighted on the code below
Last updated