#define DB_Dialog 1
if(dialogid == DB_Dialog) { if(response) { if(listitem == 0) { new DialogDb[1500]; format(string, sizeof(string), "Resposta DB: %s Afirma o DB entao o player que cometeu DB deve ser kick", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); } } } if(dialogid == DB_Dialog) { if(response) { if(listitem == 1) { new DialogDb[1500]; format(string, sizeof(string), "Resposta DB: %s Nega o DB entao o player que cometeu DB Nao deve kick", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); } } } if(dialogid == DB_Dialog) { if(response) { if(listitem == 2) { new DialogDb[1500]; format(string, sizeof(string), "Resposta DB: %s Fala que foi Guerra entao ninguem deve ser kick", PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); } } }
if(GetPlayerState(killerid) == 2) { new carroDB = GetPlayerVehicleID(killerid); new nomexd[MAX_PLAYER_NAME]; new string[128]; new DialogDb[1500]; GetPlayerName(killerid, nomexd, sizeof(nomexd)); if(IsAPlane(carroDB)) { return 1; } format(string, sizeof(string), "Aviso de DB: %s [id:%d] Cometeu DB em %s[Id:%d] Aguardando Resposta de DB...", PlayerName(killerid), killerid,PlayerName(playerid)); SendClientMessageToAll(COLOR_LIGHTRED, string); SendClientMessage(playerid, COLOR_WHITE, "Foi DB ? Selecione a Opзao abaixo"); ShowPlayerDialog(playerid, DB_Dialog, DIALOG_STYLE_LIST, "Foi DB ?", "SIM\nNAO\nGuerra", "Selecionar", "Sair"); }
#define DB_DIALOG 4724
if(dialogid == DB_Dialog)
{
if(response)
{
if(listitem == 0)
{
new DialogDb[1500];
format(string, sizeof(string), "Resposta DB: %s Afirma o DB entao o player que cometeu DB deve ser kick", PlayerName(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
}
if(dialogid == DB_Dialog)
{
if(response)
{
if(listitem == 1)
{
new DialogDb[1500];
format(string, sizeof(string), "Resposta DB: %s Nega o DB entao o player que cometeu DB Nao deve kick", PlayerName(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
}
if(dialogid == DB_Dialog)
{
if(response)
{
if(listitem == 2)
{
new DialogDb[1500];
format(string, sizeof(string), "Resposta DB: %s Fala que foi Guerra entao ninguem deve ser kick", PlayerName(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
}
}
}
if (dialogid == DB_Dialog)
{
if(response)
{
if(listitem == 0)
{
//Funзгo
}
if(listitem == 1)
{
//Funзгo
}
if(listitem == 2)
{
//Funзгo
}
}
}
new DialogDb[1500];
Nao e filterscript isso e para por no GM so n achei a area n fiz com a intuiзao de ser para FS entende ?
|