20.03.2014, 23:07
pawn Код:
else if(Rob[robid][Stealing] == true)
return SendClientMessage(playerid, COLOR_RED,"[ERRO] O cofre jб estб sendo roubado.");
else
{
GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
format(string, 128, "[Seguranзa] As camкras de seguranзa flagraram %s roubando o %s.", giveplayer, Rob[robid][LocName]);
SendClientMessageToAll(COLOR_RED, string);
WantedPoints[playerid] += 2;
SendClientMessage(playerid, COLOR_WHITE,"** Vocк estб abrindo o cofre...aguarde!");
SendClientMessage(playerid, COLOR_GOLD,"[INFO] O roubo leva em torno de 90 segundos, fique prуximo do cofre.");
format(string,128,"Assalto ao %s", Rob[robid][LocName]);
SetPlayerCriminal(playerid,255,string);
Rob[robid][Robber] = playerid;
Rob[robid][Stealing] = true;
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
}