AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Detect when user quits motd (https://forums.alliedmods.net/showthread.php?t=187801)

Misery 06-18-2012 07:37

Detect when user quits motd
 
Hi,

When a player connects he is first shown a MOTD window. Then when he clicks "OK" it brings back "Choose Team" menu...

I was wondering, is it possible to have a better/nicer/more elegant way to get when the user quits MOTD... other than hooking "Choose Team" menu and to get wheather or not he just did quit MOTD by looking up into a list we maintain in client_putinserver()?

Thanks guys!

Misery

Arkshine 06-18-2012 07:55

Re: Detect when user quits motd
 
Hooking "Choose Team" appears me better/nicer/more elegant than the motd. But to answer, I don't think you can hook an event which happens client-side.


All times are GMT -4. The time now is 06:07.

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