AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Check to see if a player dropped game. (https://forums.alliedmods.net/showthread.php?t=48413)

hlstriker 12-11-2006 14:14

Check to see if a player dropped game.
 
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.

VEN 12-11-2006 14:19

Re: Check to see if a player dropped game.
 
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.


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

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