NoPixel 4.0 车辆控制
如果你想将其添加到 qb-radialmenu:
[*]将这段代码添加到events.lua文件的最后:
位置v-vehControl / Client / events.lua
RegisterNetEvent('veh:options')
AddEventHandler('veh:options', function()
ExecuteCommand("vehmenu")
end)2. 将这段代码添加到:
位置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
},
{**** Hidden Message *****
强烈支持楼主ing…… 强烈支持楼主ing……
页:
[1]