Raised This Month: $32 Target: $400
 8% 

menu for x secondes


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-17-2017 , 16:26   Re: menu for x secondes
Reply With Quote #11

Adding [33] would fix that issue OciXCrom?

Yas, with old menu it can work.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 02-17-2017 at 16:27.
EFFx is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 02-17-2017 , 16:52   Re: menu for x secondes
Reply With Quote #12

@OP
Read this thread
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-18-2017 , 07:03   Re: menu for x secondes
Reply With Quote #13

Quote:
Originally Posted by wickedd View Post
This didn't work the menu show only after 20 secondes from the begin of round and then disppear.

@EFFx i will try you way. btw thanks.
yas17sin is offline
Send a message via ICQ to yas17sin
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-18-2017 , 10:29   Re: menu for x secondes
Reply With Quote #14

is there anyway to make a menu disppear after buytime is over. the menu should detect if the buytime is over then it will not open until next round ?.

Last edited by yas17sin; 02-18-2017 at 10:29.
yas17sin is offline
Send a message via ICQ to yas17sin
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 02-18-2017 , 12:34   Re: menu for x secondes
Reply With Quote #15

Code:
native show_menu(index, keys, const menu[], time = -1, const title[] = "");
Code:
native menu_display(id, menu, page=0, time=-1);
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-18-2017 , 12:41   Re: menu for x secondes
Reply With Quote #16

That's only for 1.8.3. He clearly stated he's using 1.8.2.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-18-2017 , 16:12   Re: menu for x secondes
Reply With Quote #17

so this can't work with AMXX 1.8.2 ?
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-18-2017 , 17:38   Re: menu for x secondes
Reply With Quote #18

It can, but not with that function.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-18-2017 , 18:45   Re: menu for x secondes
Reply With Quote #19

and what function will work with ?
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-19-2017 , 08:13   Re: menu for x secondes
Reply With Quote #20

Here. I made this stock:

Code:
menu_set_timeout(const id, const iMenu, const Float:fTime) {     static iArray[2], iTask     static const TASK_MENU_TIMEOUT = 456522         iArray[0] = id     iArray[1] = iMenu     iTask = id + TASK_MENU_TIMEOUT         remove_task(iTask)     set_task(fTime, "RemoveMenu", iTask, iArray, sizeof(iArray)) } public RemoveMenu(iArray[2]) {     static id, iMenu, iNewMenu, iOldMenu         id = iArray[0]     iMenu = iArray[1]         if(player_menu_info(id, iOldMenu, iNewMenu))     {         if(iNewMenu == iMenu)             show_menu(id, 0, "^n", 1)     } }

Use
PHP Code:
menu_set_timeout(idmenu15.0
after creating the menu. 15.0 is the X seconds, menu is the menu id (g_Menu).
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 09:30.


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