random pick from menu?
hi there again. i make a menu, this menu is for chosse players, i already have the menu charged with the players and already display it randomly to some one.
the menu is working 100% but sometimes the player that should choose is afk. so is there a form that for example. the menu display to me but im afk so 10 segs or X segs latter is there is no choose pick an option randomly. i try making a funtion called random_choose, and X seconds latter i called if a bool is true the think is that i got the random player but well can't close the menu as i see can't use 2 functions for 1 menu |
Re: random pick from menu?
If i've understand correctly. You want to close the menu on the player who AFK?
Then this should work, I think. PHP Code:
|
Re: random pick from menu?
uhm lets see this is my test func, i call with a command my menu normally menu display all okay at there, when the menu display im setting a task for this random_choose of 10 segs. so i wait the 10 segs i got that random player was choosen but the menu still displaying to me, i want to close it
PHP Code:
|
Re: random pick from menu?
Post full code please.
|
| All times are GMT -4. The time now is 08:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.