NoPixel 4.0 | CAR CONTROL | Free Fivem Scripts
Support
Support
Code:
# If you want to add it to qb-radialmenu
1 ・add this code to the bottom line***
# v-vehControl / Client / events.lua
RegisterNetEvent('veh:options')
AddEventHandler('veh:options', function()
ExecuteCommand("vehmenu")
end)
***2 ・add this code ***
qb-radialmenu / Config.lua
id = "vehicle",
displayName = "Araba",
icon = "#vehicle-options",
functionName = "veh:options",
enableMenu = function()
local Data = QBCore.Functions.GetPlayerData()
return (not Data.metadata["isdead"] and not Data.metadata["inlaststand"] and IsPedInAnyVehicle(PlayerPedId(), false))
end
},
{
Link hidden for visitors, to see
Log in or register now.
Last edited: