Raised This Month: $51 Target: $400
 12% 

Player disconnect voluntarily or not


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 11-22-2017 , 10:17   Player disconnect voluntarily or not
Reply With Quote #1

Hi. Is it possible to print on the server when player left the game by choice or not by his own desire? How?

For example prints now

PHP Code:
public client_disconnected(id)
{
            
client_print(0"Player %s has left the server"player_id)

I need

PHP Code:
public client_disconnected(id)
{
    
// if player have left the server by choice
            
client_print(0"Player %s has left the server (by choice)"player_id)
            
    
// if player have left the server by internet connection lost or other causes
            
client_print(0"Player %s has left the server (connection lost)"player_id)

LithuanianJack is offline
 



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 03:02.


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