Player hotwired a vehicle
Event
RegisterNetEvent("vehicles_keys:playerHotwiredVehicle", function(playerId, vehicleNetId)
end)Parameters
Name
Data Type
Description
Example
RegisterNetEvent("vehicles_keys:playerHotwiredVehicle", function(playerId, vehicleNetId)
local vehicle = NetworkGetEntityFromNetworkId(vehicleNetId)
print("The player " .. GetPlayerName(playerId) .. " has just hotwired a vehicle with model " .. GetEntityModel(vehicle))
end)Where to insert the code?
Last updated