Raised This Month: $ Target: $400
 0% 

Client Disconected _pre


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nightfall1
Senior Member
Join Date: Aug 2008
Old 05-04-2011 , 11:49   Client Disconected _pre
Reply With Quote #1

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 ?
__________________
SIGNATURE
Nightfall1 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-04-2011 , 13:24   Re: Client Disconected _pre
Reply With Quote #2

You can't do that.

AFAIK client's game sends the disconnect info AFTER they've left the server.
__________________
Hunter-Digital is offline
Old 05-04-2011, 14:14
Nightfall1
This message has been deleted by ConnorMcLeod. Reason: Bring out your english please :)
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 04:17.


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