28.05.2017, 17:14
if (dUserINT(PlayerName2(playerid)).("banned") == 1)
{
static const str[] = {"{FFFFFF}Voc? foi {FF0000}banido\Admin responsavel: {FFFFFF}%s\n{FF0000}Motivo: {FFFFFF}%s\n{FF0000}Dia: {FFFFFF}%s\n{FF0000}Hora: {FFFFFF}%s\n{FF0000}Forum: {FFFFFF}www.seusite.com"};
new string[sizeof(str)+256];
GameTextForPlayer(playerid,"~n~~n~~n~~n~~n~~n~~n~~ r~CONTA BANIDA!",10000,3);
//SendClientMessageToAll(grey, string); //Mensagem OLD
SendClientMessage(playerid, red, "A conta est? Banida!");
format(string, sizeof(string), str, dUserINT(PlayerName2(playerid)).("adminb"),dUserIN T(PlayerName2(playerid)).("motivob")),dUserINT(Pla yerName2(playerid)).("datab")),dUserINT(PlayerName 2(playerid)).("horab")));
ShowPlayerDialog(playerid, DIALOG_EBAN, DIALOG_STYLE_MSGOX, "Banimento", string, "Sair", "");
print(string);
string[0] = EOS;
SaveToFile("KickLog",string); Kick(playerid);
}
{
static const str[] = {"{FFFFFF}Voc? foi {FF0000}banido\Admin responsavel: {FFFFFF}%s\n{FF0000}Motivo: {FFFFFF}%s\n{FF0000}Dia: {FFFFFF}%s\n{FF0000}Hora: {FFFFFF}%s\n{FF0000}Forum: {FFFFFF}www.seusite.com"};
new string[sizeof(str)+256];
GameTextForPlayer(playerid,"~n~~n~~n~~n~~n~~n~~n~~ r~CONTA BANIDA!",10000,3);
//SendClientMessageToAll(grey, string); //Mensagem OLD
SendClientMessage(playerid, red, "A conta est? Banida!");
format(string, sizeof(string), str, dUserINT(PlayerName2(playerid)).("adminb"),dUserIN T(PlayerName2(playerid)).("motivob")),dUserINT(Pla yerName2(playerid)).("datab")),dUserINT(PlayerName 2(playerid)).("horab")));
ShowPlayerDialog(playerid, DIALOG_EBAN, DIALOG_STYLE_MSGOX, "Banimento", string, "Sair", "");
print(string);
string[0] = EOS;
SaveToFile("KickLog",string); Kick(playerid);
}