Hi, I love the racing app a lot, but I find it quite buggy, which is quite a pitty.
I have fixed them already and I am wanting that these fixes can be available for everyone using the app.
- So, Im using esx, and I found that the bridge of the client side lacks the functions
getPlayerJobNameandgetPlayerJobLevel. The following should be added.
function getPlayerJobName()
local playerData = ESX.PlayerData
if playerData and playerData.job then
return playerData.job.name
end
end
function getPlayerJobLevel()
local playerData = ESX.PlayerData
if playerData and playerData.job and playerData.job.grade then
return playerData.job.grade
end
end
-
Secondly, with the latest update, it shows No auth in the racing app and basically I have no permissions for every actions. It is caused by the following:
Inclient/main.lua:2420, the key should beauthinstead oftype
Inserver/main.lua:1524, the key for auth, again, should beauthinstead oftype -
Crew disband does not work.
This is caused by the wrong callback being triggered.
Inclient/main.lua:2974, the callback should be'cw-racingapp:server:disbandCrew'instead of'cw-racingapp:server:leaveCrew'
(basically the disbandCrew callback is not triggered anywhere in the current script
)
BTW, the callback'cw-racingapp:server:disbandCrew'is duplicated inserver/crews.lua, it would be great if that can be removed ๐
Thats so far what I found. Thanks again for the amazing app!!

ohh