Skip to content

Remove keys from player ID

Export

exports["vehicles_keys"]:removeKeysFromPlayerId(playerId, plate)

Parameters

Name Data Type Description
playerId integer The target player server ID
plate string The vehicle plate

Example

RegisterNetEvent("garage:vehicleDeleted", function(playerId, plate)
    exports["vehicles_keys"]:removeKeysFromPlayerId(playerId, plate)
end)