Use menu once per round
Hi.I want to add sth to menu that players can use menu once per round
if players used menu they can't use it again Tell me if you need more details. Thanks |
Re: Use menu once per round
you have to create a global boolean.
then create a conditional statement: if boolean is true, player can't use menu, if boolean is false player can use menu. make that boolean to be true after player use menu. this is a scripting help section, people are helping you to learn not making plugins for you. good luck |
Re: Use menu once per round
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) on ham spawn: g_iUsed[id] = false |
Re: Use menu once per round
Quote:
|
All times are GMT -4. The time now is 17:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.