#define ANTIFAKE 1005
new string[256], nome[24];
GetPlayerName(playerid, nome, 24);
if(/* COLOCA A VARIAVEL DE ADMINISTRAOR, EX: PlayerInfo[playerid][Admin] >= 1*/)
{
format(string, sizeof string, "Olб %s\nDigite a senha Anti-Fake e bom jogo!", nome);
ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_INPUT, "{33AA33}Anti-Fake:", string, "Confirmar", "Sair");
}
if(dialogid == ANTIFAKE)
{
new nome[24], string[256];
GetPlayerName(playerid, nome, 24);
if(response)
{
if(!strlen(inputtext))
{
format(string, sizeof string, "{00FF00}Nick: {1E90FF}%s {00FF00}- Administrador\n\n{000000}Digite a senha Anti-Fake e bom jogo!", nome);
ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_INPUT, "{33AA33}Anti-Fake:", string, "Confirmar", "Sair");
return 0;
}
if(!strcmp(inputtext, "coloque a senha aqui!", false))
{
SendClientMessage(playerid, COLOR_BLUE, "Vocк confirmou que faz parte da Administraзгo!");
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
}
else
{
format(string, sizeof(string), "** {FF0000}%s{00BFFF} errou a senha Anti-Fake e por este motivo foi kickado!", nome);
SendClientMessageToAll(BLU_CHIARO, string);
SendClientMessage(playerid, BLU_CHIARO, "** {00FF08}Vocк foi kickado por errar a senha Anti-Fake!");
Kick(playerid);
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Vocк nгo quis digitar a senha Anti-Fake, por este motivo este motivo foi kickado !");
Kick(playerid);
return 1;
}
return 1;
}


, so apertar TAB
|
Sim, й uma critica Boa .-. Willian , e pra identar й bem facil
, so apertar TAB ![]() |