31.03.2016, 22:45
I'm tring to make my own system.
I made when the player connect this
I made the public kick by the way.
but any time and in the player's value == 1
it doesn't work, and it shows the login dialog.
I made when the player connect this
pawn Код:
if(pInfo[playerid][Banned] == 1)
{
SendClientMessage(playerid,RED,"You're banned from this server, You can't join.");
format(Jstring,sizeof(Jstring),"You're banned for reason: (%s).",pInfo[playerid][Breason]);
SendClientMessage(playerid,RED,Jstring);
SetTimerEx("ban2",1,0,"i",playerid);
}
but any time and in the player's value == 1
it doesn't work, and it shows the login dialog.