Raised This Month: $ Target: $400
 0% 

Check to see if a player dropped game.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 12-11-2006 , 14:14   Check to see if a player dropped game.
Reply With Quote #1

How can I have amxx check to see if a player dropped from the game before they actually fully join.

I tried to use client_disconnect() but it didn't work. I had it display a message when players left the game, but the message didn't show when the players that weren't fully connected dropped. In the console it would say "<name> dropped" though.

I want to find if the player tried to connect, but dropped before they fully connected.
hlstriker is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-11-2006 , 14:19   Re: Check to see if a player dropped game.
Reply With Quote #2

Use a variable. Set it to X on client_putinserver. Check it in client_disconnect, if it not equal to X, then you get what you want. Also revert a variable to the initial value on client_disconnect.

Last edited by VEN; 12-11-2006 at 14:22.
VEN is offline
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 06:55.


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