AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to auto show menu evry round (https://forums.alliedmods.net/showthread.php?t=307152)

polimpo4 04-28-2018 15:41

How to auto show menu evry round
 
Hi, if someone can help me with some way or example to automatically display one menu or event i will appreciate.

Natsheh 04-28-2018 15:52

Re: How to auto show menu evry round
 
Like vote menu? Display to all players?

polimpo4 04-28-2018 15:52

Re: How to auto show menu evry round
 
Yes

polimpo4 04-28-2018 15:54

Re: How to auto show menu evry round
 
Quote:

Originally Posted by Natsheh (Post 2589866)
Like vote menu? Display to all players?

Something like Weapons menu at very beginning of Round.

Natsheh 04-28-2018 15:55

Re: How to auto show menu evry round
 
Hook hltv event, display the menu.

register_event("HLTV", "event_new_round", "a", "1=0", "2=0")

Make sure to set 1 sec delay before showing the menu because dead players arent respawned yet in the hltv event.

jimaway 04-29-2018 09:21

Re: How to auto show menu evry round
 
Quote:

Originally Posted by Natsheh (Post 2589870)
Hook hltv event, display the menu.

register_event("HLTV", "event_new_round", "a", "1=0", "2=0")

Make sure to set 1 sec delay before showing the menu because dead players arent respawned yet in the hltv event.

how about connecting players who spawn during the freeze time?

instinctpt1 04-29-2018 10:24

Re: How to auto show menu evry round
 
Quote:

Originally Posted by jimaway (Post 2589948)
how about connecting players who spawn during the freeze time?

Show on Player spawn then !
( HAM )
And add a check for alive players only :)


All times are GMT -4. The time now is 04:42.

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