Raised This Month: $ Target: $400
 0% 

Solved Use menu once per round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode