https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
如果你想将其添加到 qb-radialmenu:https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
位置v-vehControl / Client / events.luahttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
RegisterNetEvent('veh:options')https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
AddEventHandler('veh:options', function()https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
ExecuteCommand("vehmenu")https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
end) https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
2. 将这段代码添加到:https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
位置qb-radialmenu / Config.lua id = "vehicle",https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
displayName = "Araba",https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
icon = "#vehicle-options",https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
functionName = "veh:options",哈哈
enableMenu = function()https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
local Data = QBCore.Functions.GetPlayerData()不影响正文阅读
return (not Data.metadata["isdead"] and not Data.metadata["inlaststand"] and IsPedInAnyVehicle(PlayerPedId(), false))https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
endhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
},https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
{ https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
游客,如果您要查看本帖隐藏内容请 回复https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
|