Closed NoobSpielt closed 1 year ago
Here is a little issue, if someone not uses multichar, they will not able to load the identifier.
Still need to find a way to solve this.
Edit: Now I think it is solved, I added the code to fall back to use license when xPlayer
is nil or xPlayer.identifier
is nil
Edit: Now I think it is solved, I added the code to fall back to use license when
xPlayer
is nil orxPlayer.identifier
is nil
But that would make older Servers or Servers that use steam as a save identfier incompatible.
But im not quite sure why this breaks server that are not using multichar: Isn't esx:onPlayerSpawn
something that standart esx calls when a player is fully loaded into the game?
But im not quite sure why this breaks server that are not using multichar: Isn't
esx:onPlayerSpawn
something that standart esx calls when a player is fully loaded into the game?
In ESX 1.1.0, this event isn't existing, that will cause the script stuck on loading.
But that would make older Servers or Servers that use steam as a save identfier incompatible.
That can be solved in easy, just open the server/api.lua
, and search for GetIdentifierById
, then change the license:
to steam:
and you can use steam as identifier now.
well, thanks for the fast fix then. I will close the pull request as completed :D
Following Error is fixed via this Pull Request:
See: https://forum.cfx.re/t/standalone-esx-zerodream-parking-parking-your-car-like-in-real-life/4986567/29?u=noobspielt