Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Refresh a player’s owned vehicles list server side, for example after a purchase.
owned_vehicles
player_vehicles
exports["vehicles_keys"]:refreshPlayerOwnedVehicles(playerId, instantly)
playerId
instantly
true
RegisterNetEvent("vehicle_shop:playerBoughtVehicle", function(playerId, plate) -- This will refresh the player's owned vehicles after they buy a vehicle (just an example) exports["vehicles_keys"]:refreshPlayerOwnedVehicles(playerId) end)