AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved]How to open a menu when user connect? (https://forums.alliedmods.net/showthread.php?t=135161)

#8 SickneSS 08-13-2010 08:25

[Solved]How to open a menu when user connect?
 
-title-
Sorry for the english.

drekes 08-13-2010 08:26

Re: How to open a menu when user connect?
 
You could hook spawn, and check if it's the first spawn
or maybe a task in client_putinserver and show the menu there.

#8 SickneSS 08-13-2010 08:29

Re: How to open a menu when user connect?
 
Quote:

Originally Posted by drekes (Post 1269554)
You could hook spawn, and check if it's the first spawn
or maybe a task in client_putinserver and show the menu there.

I Think the same,but what I rally need is show the menu,after the player close motd.

drekes 08-13-2010 08:41

Re: How to open a menu when user connect?
 
Then you can hook the motd and show the menu there i think. He will be able to see it when he closes the menu. But i'm not sure if this will work with the team menu's that come after the motd.

#8 SickneSS 08-13-2010 08:49

Re: How to open a menu when user connect?
 
Quote:

Originally Posted by drekes (Post 1269565)
Then you can hook the motd and show the menu there i think. He will be able to see it when he closes the menu. But i'm not sure if this will work with the team menu's that come after the motd.

Yes,but I blocked the team menu.

drekes 08-13-2010 10:34

Re: How to open a menu when user connect?
 
Then you should be able to hook the motd, and show the menu there. That will show the menu when he closes it.

Maybe this is usefull http://wiki.amxmodx.org/Half-Life_1_Game_Events#MOTD

lucas_7_94 08-13-2010 10:58

Re: How to open a menu when user connect?
 
Quote:

Originally Posted by lucas_7_94 (Post 1269530)
#Team_Select & #Team_Select_Spect


#8 SickneSS 08-13-2010 11:01

Re: How to open a menu when user connect?
 
Thanks drekes and lucas ... Solved:)!!


All times are GMT -4. The time now is 22:01.

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