Player disconnect reasons
#1

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..

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

I should write reason=2 to get kicked? because I whant to get kicked reason seperate from banned reason
Reply
#2

Quote:
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)