16.12.2011, 23:28
PHP код:
public OnPlayerConnect(playerid)
{
new playername[50];
GetPlayerName(playerid, playername, sizeof(playername));
PlayerInfo[playerid][pBanido] = dini_Int(udb_encode(playername), "Banido");
if(PlayerInfo[playerid][pBanido] == 1)
{
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, "--------------------------------------");
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, " Vocк Foi Banido da Porra do Server!");
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, " ");
SendClientMessage(playerid, COR_Cinza, "--------------------------------------");
SendClientMessage(playerid, COR_Cinza, " ");
Ban(playerid);
}
return 1;
}