AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Possible to detect when player closes MOTD (connect motd) (https://forums.alliedmods.net/showthread.php?t=87795)

xPaw 03-16-2009 14:06

Possible to detect when player closes MOTD (connect motd)
 
title.

Dr.G 03-16-2009 17:57

Re: Possible to detect when player closes MOTD (connect motd)
 
have you tryed something like this in client_putinserver

PHP Code:

new button pev(id,pev_button)
 
if(
button IN_ATTACK || button IN_JUMP)) 


Dores 03-16-2009 18:28

Re: Possible to detect when player closes MOTD (connect motd)
 
Well, I guess you can set a global var for the player that approves that he's currently looking at the connect MOTD(you should set that var on client_connect) and when he uses +attack or +jump then he probably closed it, so just change his var's value, but he can also use the mouse to close it and I don't know if you can hook none playing players' buttons.

Sn!ff3r 03-16-2009 21:42

Re: Possible to detect when player closes MOTD (connect motd)
 
Search first - impossible.


All times are GMT -4. The time now is 08:52.

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