Closed tenkoshimu closed 1 year ago
this resource is only tested on the latest Qbcore right now..
did you modify your player.lua from qbcore?
the line 30: player.lua confirms that the New variable is not nil or false.
the line 30: from player.lua of qbcore registered the new data to the slot. it fails to line:145 of player.lua of qbcore.
in my version this is jobs data. but i never encounter this on my qbcore version.
if you are using the same version of mine
line 145: should be this
QBCore.Shared.Jobs[PlayerData.job.name].defaultDuty
so probably the job.name is nil which is unemployed
as the error says index a nil value.
awesome work on the multi and spawn i'm a big fan, got a lil issue do you know what this could be ?