Quote:
Originally Posted by Rajat_Pawar
This may work..
pawn Код:
if(PlayerInfo[playerid][pBan] == 1) { new string[128];new pname[MAX_PLAYER_NAME]; SendClientMessage(playerid,COLOR_RED,"SERVER: You have been kicked! Reason: Your account is still banned.); format(string, sizeof(string), "SERVER: %s Have been kicked. REASON: Account Still Banned.", GetPlayerName(playerid,pname,sizeof(pname))); SendClientMessageToAll(COLOR_RED,string); Kick(playerid); }
|
I add that in OnPlayerConnect and the result is it doesnt works.
Or Any idea to put it in other place ?