Add a option in Radial menu

I want add a script “renzuzu vehicle control” at my qb-radialmenu.

Can you help me ?

I want open renzuzu menu with radial menu,
I want add this script at radial menu:

{
id = ‘renzu_controller’, <---- ?
title = ‘Menu du véhicule’,
icon = ‘link’,
type = ‘client’, <---- ?
event = ‘renzu_controller:client:showui’, <---- ?
shouldClose = true
} ,

Thabk’s !

Hey

In your script client

add this

RegisterNetEvent(‘qb-radialmenu:client:onRadialmenuOpen’, function()
if MenuItemId ~= nil then
exports[‘qb-radialmenu’]:RemoveOption(MenuItemId)
MenuItemId = nil
end
MenuItemId = exports[‘qb-radialmenu’]:AddOption(
{
id = ‘renzu_controller’,
title = ‘Menu du véhicule’,
icon = ‘link’,
type = ‘client’,
event = ‘name_event’, ← Event name that opens the menu
shouldClose = true
},
MenuItemId)
end)

Sorry for my bad english i’m french ^^

ok ! thank’s but i am frensh too frérot !

Tu aurais discord ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.