Adding new buttons
Welcome to the Brutal Radial guide, here you can learn how to expand the basic radial menu to your needs.
Create a singe button
{
label = 'Example',
allowedjobs = false, -- Set to 'false' to allow it for everyone. | This can only be used if 'blacklistedjobs' is also set to 'false'.
blacklistedjobs = false, -- Set to 'false' to allow it for everyone.
icon = '<img src="assets/bill.png"></img>',
description = 'Example description',
event = 'example:event',
},Create a button container
{
label = 'Example container',
allowedjobs = false, -- Set to 'false' to allow it for everyone. | This can only be used if 'blacklistedjobs' is also set to 'false'.
blacklistedjobs = false, -- Set to 'false' to allow it for everyone.
icon = '<img src="assets/siren.png"></img>',
description = 'Example description',
table = {
{label = 'Example button', icon = '<img src="assets/police.png"></img>', description = 'Example Description...', event = 'example:event'},
{label = 'Example button', icon = '<img src="assets/ambulance.png"></img>', description = 'Example Description...', event = 'example:event'},
{label = 'Example button', icon = '<img src="assets/mechanic1.png"></img>', description = 'Example Description...', event = 'example:event'},
{label = 'Example button', icon = '<img src="assets/mechanic2.png"></img>', description = 'Example Description...', event = 'example:event'},
}
},Last updated
