A problem when connect to the server.
#6

if(strfind(PlayerName[playerid],"_",true) == -1) return SendClientMessage(playerid,color_error, "ERROR: Your name must be in the format Firstname_Lastname."),Kick(playerid);
change this line to
pawn Код:
if(strfind(PlayerName[playerid],"_",true) == -1)
{
SendClientMessage(playerid,color_error, "ERROR: Your name must be in the format Firstname_Lastname.");
SetTimerEx("DelayedKick", 1000, false, "d", playerid);
return 1;
}
Reply


Messages In This Thread
A problem when connect to the server. - by Gennum. - 08.05.2014, 14:35
Re: A problem when connect to the server. - by Konstantinos - 08.05.2014, 14:38
Re: A problem when connect to the server. - by Gennum. - 08.05.2014, 14:51
Re: A problem when connect to the server. - by Konstantinos - 08.05.2014, 14:54
Re: A problem when connect to the server. - by Gennum. - 08.05.2014, 14:57
Re: A problem when connect to the server. - by BroZeus - 08.05.2014, 14:57
Re: A problem when connect to the server. - by Gennum. - 08.05.2014, 15:15

Forum Jump:


Users browsing this thread: 2 Guest(s)