qb-racing
qb-racing copied to clipboard
when i duble click on the key fob it says this
is there a way to fix that
Did you end up fixing this?
2 keys buth on both work creator mode :(
Go to your inventory - server side and find the command "giveitem" and add
elseif itemData["name"] == "fob_racing_master" then info.owner = Player.PlayerData.citizenid
This will fix that error.
then you need to also go to qb-racing and find the line containing item.info.owner == citizenid under the function "UseRacingFob". The line below it, which triggers the client event to open the menu, needs to be edited to
TriggerClientEvent('qb-racing:Client:OpenMainMenu', source, { type = item.name, name = Player.PlayerData.charinfo.firstname .. " " .. Player.PlayerData.charinfo.lastname})
Having same issue, tried above fix... nothing changed still getting "key does not respond to you"
Did the fix also and still not working. Same Error
having the same issue as the 2 people above, tried the fix but still getting the same error
You dont need to make those changes.. You need to use the /createracingfob command, It goes /createracingfob [type] [identifier] [racername] type = master or normal identifier = citizenid racername = what you want to be called Must be done by admins obviously.
Then it works