Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Getting Started

Scammer edited this page May 26, 2018 · 5 revisions

Getting started

Create your menu items in the menu:setup event. Here's an example (on the client-side):

AddEventHandler("menu:setup", function()
    TriggerEvent("menu:registerModuleMenu", "Hello", function(id)
        TriggerEvent("menu:addModuleSubMenu", id, "World", function(id)
		TriggerEvent("menu:addModuleItem", id, "Goodbye :(", nil, false, false)
	end, false)
    end, false)
end)

That's it!

Clone this wiki locally