Raised This Month: $ Target: $400
 0% 

Possible to detect when player closes MOTD (connect motd)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-16-2009 , 14:06   Possible to detect when player closes MOTD (connect motd)
Reply With Quote #1

title.
__________________
xPaw is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-16-2009 , 17:57   Re: Possible to detect when player closes MOTD (connect motd)
Reply With Quote #2

have you tryed something like this in client_putinserver

PHP Code:
new button pev(id,pev_button)
 
if(
button IN_ATTACK || button IN_JUMP)) 
__________________
Dr.G is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 03-16-2009 , 18:28   Re: Possible to detect when player closes MOTD (connect motd)
Reply With Quote #3

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.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 03-16-2009 , 21:42   Re: Possible to detect when player closes MOTD (connect motd)
Reply With Quote #4

Search first - impossible.
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
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 08:52.


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