AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Client Disconected _pre (https://forums.alliedmods.net/showthread.php?t=156318)

Nightfall1 05-04-2011 11:49

Client Disconected _pre
 
PHP Code:

public client_disconnect(id)
{
    
client_cmd(id,"WOW you are disconected");
}
 
//I register
public plugin_init()
{
    
register_forward(FM_ClientDisconnect"client_disconnect")


who I send something before player is diconecting ?

Hunter-Digital 05-04-2011 13:24

Re: Client Disconected _pre
 
You can't do that.

AFAIK client's game sends the disconnect info AFTER they've left the server.


All times are GMT -4. The time now is 04:17.

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