|
Originally Posted by brunogysin
ola pessoal tipo eu tava temtando fazer roubo ao banco mais nao dava serto e com raiva apaguei tudo e agora to pedindo a vcs tem como min ajuda a fazer o Comando pra roubar Banco eu ja usei o search mais nao achei nada ajuda ai plz
|
|
Originally Posted by pawNO
Quote:
|
|
Originally Posted by DarK TeaM PT
abrir os objectos?
|
|
Originally Posted by DarK TeaM PT
abrir os objectos?
|
|
Originally Posted by keller012
|
forward roubar2(playerid); forward Robbank2(playerid); forward roubardenovo2(playerid); new robmoney1[MAX_PLAYERS], Kils1; new roubando1; new wait1;
if(strcmp(cmd,"/roubarbanco",true)==0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(!IsPlayerInRangeOfPoint(playerid , 30, 2315.4243,-1.5975,26.7422)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб no Banco !");
{
if (roubando1 == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"O Banco ja estб sendo Roubado!");
return 1;
}
if (wait1 == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"O Banco ja foi Roubado, aguarde 20 minutos para Roubar denovo!");
return 1;
}
WantedPoints[playerid]+=2;
SetPlayerCriminal(playerid,255,"Roubar o Banco");
//new stringa[256];
//new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "**O Banco esta sendo roubado!!!Testemunhas apontam %s como autor do crime.**",playername);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
SetTimerEx("Robbank2",60000,0,"i",playerid);
SetTimerEx("roubardenovo2",1200000,0,"i",playerid);
Kils1 = SetTimerEx("roubar2",4000,1,"i",playerid);
roubando1 = 1;
wait1 = 1;
//ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Open_O",3.0,0,0,0,0,0);
new granarob1 = random(9000)+1000;
robmoney1[playerid] = granarob1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !");
}
return 1;
}
public roubar2(playerid)
{
//ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Open_O",3.0,0,0,0,0,0);
}
public Robbank2(playerid)
{
if(!IsPlayerInRangeOfPoint(playerid , 30, 2315.4243,-1.5975,26.7422))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк precisa estar no Banco para receber a grana.");
roubando1 = 0;
}
for(new i = 0; i < MAX_PLAYERS; i++)
if(PlayerToPoint(30.0, i, 2315.4243,-1.5975,26.7422))
{
new string[128];
format(string, sizeof(string), "Vocк conseguiu roubar $%d do cofre. Fuja logo!", robmoney1[playerid]);
SendClientMessage(i, COLOR_RED, string);
KillTimer(Kils1);
GivePlayerMoney(i, robmoney1[playerid]);
roubando1 = 0;
//}
}
return 1;
}
public roubardenovo2(playerid)
{
SendClientMessageToAll(COLOR_LIGHTBLUE, "** O Banco acabou de receber uma alta quantia de dinheiro. **");
wait1 = 0;
}