02.04.2016, 01:19
Tenta:
!
pawn Код:
if(dialogid == 5566)
{
if(response)
{
//Sim Sera Punido
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк Escolheu SIM, O Acusado Continuara a Puniзгo, /detentos");
// format(string, sizeof(string), "A Vitima %s Confirma que Vocк Cometeu um Erro, Vocк Continuara Punido, /detentos", Nome(playerid));
// SendClientMessage(OAcusado[playerid], COLOR_LIGHTBLUE, string);
OAcusado[playerid] = 999;
return 1;
}
if(!response)
{
//Nгo Sera Solto
if(PlayerInfo[OAcusado[playerid]][pJailed] > 0)
{
if(PlayerInfo[OAcusado[playerid]][pJailTime] > 0)
{
PlayerInfo[OAcusado[playerid]][pJailTime] = 5;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк Escolheu NВO, O Acusado Sera Livre da Puniзгo!");
//format(string, sizeof(string), "A Vitima %s Confirmou que Vocк Foi Punido Injustamente, Vocк Sera Libertado em Segundos!", Nome(playerid));
//SendClientMessage(OAcusado[playerid], COLOR_LIGHTBLUE, string);
OAcusado[playerid] = 999;
return 1;
}
}
}
return 1;
}
