Remove keys from player ID

Export

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

Parameters

NameData TypeDescription

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)

Last updated