SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 07/09/2009, 02:53 PM   #1
Big Clucker
asteroid's Avatar
Join Date: Jun 2007
Posts: 121
Reputation: 10
Default Player disconnect reasons

Well I came back , and forgot all scripting.
I need some help , for some time until I will remmember it
There's a code
Onplayerdisconnect etc..

format(msg,sizeof(msg),"*** %s disconnected (error).",name);
}else if(reason == 1){
format(msg,sizeof(msg),"*** %s disconnected (normal).",name);
else {

I should write reason=2 to get kicked? because I whant to get kicked reason seperate from banned reason
asteroid is offline  
Old 07/09/2009, 02:54 PM   #2
Correlli's Avatar
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: Player disconnect reasons

Originally Posted by Pfff
because I whant to get kicked reason seperate from banned reason
You can't do that. ID-reason 2 is for kicked and banned reason. But you could script your own reason-system.
Correlli is offline  

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
NPC Timout??????? What can be the reasons for it???? DJ-CJ89 Help Archive 1 13/06/2010 01:53 PM
[Linux] Server Crashing on player disconnect ! RaFsTar Help Archive 3 23/08/2009 07:12 PM
Player Connect and disconnect Namaco Help Archive 10 25/06/2009 04:51 PM
LVA problems for odd reasons Turricane Help Archive 7 20/06/2009 11:21 AM

All times are GMT. The time now is 04:00 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.