Raised This Month: $ Target: $400
 0% 

[Solved]How to open a menu when user connect?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-13-2010 , 08:25   [Solved]How to open a menu when user connect?
Reply With Quote #1

-title-
Sorry for the english.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-13-2010 , 08:26   Re: How to open a menu when user connect?
Reply With Quote #2

You could hook spawn, and check if it's the first spawn
or maybe a task in client_putinserver and show the menu there.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-13-2010 , 08:29   Re: How to open a menu when user connect?
Reply With Quote #3

Quote:
Originally Posted by drekes View Post
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.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-13-2010 , 08:41   Re: How to open a menu when user connect?
Reply With Quote #4

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.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-13-2010 , 08:49   Re: How to open a menu when user connect?
Reply With Quote #5

Quote:
Originally Posted by drekes View Post
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.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-13-2010 , 10:34   Re: How to open a menu when user connect?
Reply With Quote #6

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
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-13-2010 , 10:58   Re: How to open a menu when user connect?
Reply With Quote #7

Quote:
Originally Posted by lucas_7_94 View Post
#Team_Select & #Team_Select_Spect
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-13-2010 , 11:01   Re: How to open a menu when user connect?
Reply With Quote #8

Thanks drekes and lucas ... Solved!!

Last edited by #8 SickneSS; 08-13-2010 at 11:09.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Reply



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 22:01.


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