Thread: [Solved] Use menu once per round
View Single Post
LondoN
Senior Member
Join Date: Dec 2015
Location: Roman, Romania.
Old 01-17-2021 , 18:26   Re: Use menu once per round
Reply With Quote #3

just pre-create the menu in plugin handler, make a boolean and when /shop /menu is hook make something:

Code:
if(!g_iUsed[id]) menu_display(id, MenuID, 0)
also in handler pui g_iUsed[id] = true
on ham spawn: g_iUsed[id] = false
__________________
LondoN is offline