Gang Menu & Actions

Quasar Gangs & Territories includes an external asset called qs-gangmenu, which is completely optional but will give a very aesthetic touch to your asset. This menu includes multiple functions and is completely configurable to adapt to external asset events.

Can I remove qs-gangmenu?

Yes, you can do it, but you will not have actions within the game by default, you can use another menu system or create another one yourself.

Can I limit some actions by grade?

Of course you can, using the large value, within the Config.Menu configuration, there are many useful examples inside that you can look at.


What does this menu include?

Remember that this menu is an optional add-on and you can edit as you like.

This default menu will include the following Gang role functions.

  • Steal from a player

  • Escort a player

  • Handcuff a player

  • Put a player in the vehicle

  • Remove a player from the vehicle

  • Sales in territories


Default menu settings

In this system, you are free to add different events, sections, grade limits and subminuses, you can use the default configuration to understand its operation and create a completely customized menu.

Config.Menu = {
	['steal'] = {
		name = 'steal',
		label = 'Steal',
		action = 'event:client:search',
		triggerType = 'client',
		submenu = false,
		grade = { 'soldier', 'underboss', 'boss' }
	},

	['escort'] = {
		name = 'escort',
		label = 'Escort',
		action = 'event:client:dragPlayer',
		triggerType = 'client',
		submenu = false,
		grade = { 'soldier', 'underboss', 'boss' }
	},

	['handcuff'] = {
		name = 'handcuff',
		label = 'Handcuff',
		action = 'event:client:handcuff',
		triggerType = 'client',
		submenu = false,
		grade = { 'soldier', 'underboss', 'boss' }
	},

	['vehicle'] = {
		name = 'vehicle',
		label = 'Vehicle Options',
		action = false,
		triggerType = false,
		grade = { 'soldier', 'underboss', 'boss' },
		submenu = {
			['putvehicle'] = {
				name = 'putvehicle',
				label = 'Put in vehicle',
				action = 'event:client:putvehicle',
				triggerType = 'client',
				submenu = false,
				grade = { 'soldier', 'underboss', 'boss' }
			},
			['getvehicle'] = {
				name = 'getvehicle',
				label = 'Get out vehicle',
				action = 'event:client:getvehicle',
				triggerType = 'client',
				submenu = false,
				grade = { 'soldier', 'underboss', 'boss' }
			},
		},
	},

	['cornersell'] = {
		name = 'selldrugs',
		label = 'Sell drugs',
		action = 'gangs:client:cornerselling',
		triggerType = 'client',
		submenu = false,
		grade = { 'soldier', 'underboss', 'boss' }
	},
}

Last updated