Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- F4 menu tab modification module.
- ---------------------------------------------------------------------------*/
- if true then return end -- REMOVE THIS LINE TO ENABLE THIS MODULE
- local url = "http://wiki.darkrp.com/index.php/Main_Page"
- local tabName = "MOTD"
- local function createF4MenuTab()
- // DarkRP.switchTabOrder(2, 3) -- Remove the "//" in this line if you want to move the third tab to the left of the second tab!
- // DarkRP.removeF4MenuTab("Ammo") -- Remove the "//" in this line if you want to remove the Ammo tab!
- local webPage = vgui.Create("F1HTML")
- webPage:OpenURL(url)
- DarkRP.addF4MenuTab(tabName, webPage)
- end
- hook.Add("F4MenuTabs", "MyCustomF4MenuTab", createF4MenuTab)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement