ESX Rcore Pool / Billiards

ibe1337

Member
Credits
1
this is not standalone, its for esx


ESX.UI.Menu.Open('default',GetCurrentResourceName(),"rcore_pool_openMenu",
{
title = "Menú del billar",
align = "bottom-right",
elements = elements
}, function(data, menu)
if data.current.value == "eightballs" then
TriggerEvent('rcore_pool:setupTable', 'BALL_SETUP_8_BALL')
elseif data.current.value == "fourteenballs" then
TriggerEvent('rcore_pool:setupTable', 'BALL_SETUP_STRAIGHT_POOL')
end
end, function(data, menu)
menu.close()
end)
 

LuisNgt

Member
Credits
107
esto no es independiente, es para esx


ESX.UI.Menu.Open ('predeterminado', GetCurrentResourceName (), "rcore_pool_openMenu",
{
title = "Menú del billar",
align = "abajo a la derecha",
elementos = elementos
}, función (datos, menú)
si data.current.value == "eightballs" entonces
TriggerEvent ('rcore_pool: setupTable', 'BALL_SETUP_8_BALL')
elseif data.current.value == "catorce bolas" entonces
TriggerEvent ('rcore_pool: setupTable', 'BALL_SETUP_STRAIGHT_POOL')
fin
fin, función (datos, menú)
menu.close ()
fin)
Updated theme, I had not noticed that I had put STANDALONE.
 
Top