23.01.2014, 23:48
tenho esse aki tambem , so aparecer uma messagem queria que aparece -se as duas
ja tentei com string separadas e nгo deu ai minha ultima opiзгo com as mesma string de uma olhada !
ja tentei com string separadas e nгo deu ai minha ultima opiзгo com as mesma string de uma olhada !
pawn Код:
format(file, sizeof(file), PASTA_CONTAS, GetPlayerNameEx(playerid));
if(dini_Int(file, "rouboubanco") == 0)
{
if(dini_Int(file, "Profissao") == Assaltante || dini_Int(file, "aAdmin") == 1 || PlayerInfo[playerid][ZCON] == true)
{
new Float:x, Float:y, Float:z;
new string2[256];
dini_IntSet(file, "Procurado", 1);
dini_IntSet(file, "rouboubanco", 1);
Procurados[playerid]= 1;
SetPlayerWantedLevel(playerid, 6);
GivePlayerGrana(playerid, 2500);
GetPlayerPos(playerid, x, y, z);
SetTimerEx("CriarExplosao", 2500, false, "fffdf", x, y, z, 2, 50.0);
GameTextForPlayer(playerid, "~r~Assalto Efetuado ~g~+$2500", 1000, 4);
// essa nгo aparecer
format(string2, sizeof(string2), "{FFFFFF} [ {7FFF00} BANCO ] {FFFFFF} O(A) bandido(a) {7FFF00}%s {FFFFFF}assaltou o banco e estб sendo procurado(a){7FFF00}[Recompensa] 5 mil! ", GetPlayerNameEx(playerid));
SendClientMessageToAll(msgdm, string2);
// essa jб funcionar normal
format(string2, sizeof(string2), "[{00F5FF}Cвmera{FFFFFF}] Fragaram bandido {00F5FF}%s {FFFFFF}assaltando o banco e estб sendo procurado(a) pela polнcia!", GetPlayerNameEx(playerid));
SendClientMessageToAll(msgdm, string2);
}
else
{
SendClientMessage(playerid, Vermelho, "Voce nгo й assaltante!");
}
}
else
{
SendClientMessage(playerid, Vermelho, "Vocк jб assalto o banco aguarde vocк upar!");
}
}
}

