Garry's Mod Leaks

Q Menu [DarkRP]

Submitted by QuzzX, , Thread ID: 45151

Thread Closed

RE: Q Menu [DarkRP]

#11
merci beaucoup vraiment cool genre c'est un truc de ouf comment je l'attendait cet addon

RE: Q Menu [DarkRP]

This post was last modified: 05-11-2019, 04:13 AM by d4njk0m
#12
local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)1

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)2

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)3

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)4

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)5

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)7

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)56

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)11

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)23

local function removeOldTables()
if LocalPlayer():IsSuperAdmin() then return end
for k, v in pairs( g_SpawnMenu.CreateMenu.Items ) do
if (v.Tab:GetText() == language.GetPhrase("spawnmenu.category.npcs") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.entities") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.weapons") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.vehicles") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.postprocess") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.dupes") or
v.Tab:GetText() == language.GetPhrase("spawnmenu.category.saves")) then
g_SpawnMenu.CreateMenu:CloseTab( v.Tab, true )
removeOldTables()
end
end
end
hook.Add("SpawnMenuOpen", "blockmenutabs", removeOldTables)15

Users browsing this thread: 1 Guest(s)