16.08.2010, 19:59
GALERA TIPO meu amigo coloco /ROUBARLOTERICA
DAI QNDO VC DIGITA ROUBAR NAO ESPERA NEM 1 SEG JA ROUBA QUERIA SABER COMO FASSO PARA COLOCAR
TIPO 30 SEGUNDOS PARA ROUBAR
E O ROUBO A CADA 10 MINUTOS
//=====================================[LOTERICA]==================================
if(strcmp(cmd, "/roubarloterica", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new rand = random(500000);
if(IsPlayerConnected(playerid))
{
if(!PlayerToPoint(5.0, playerid, 821.0944,9.3650,1004.1955) && !PlayerToPoint(2.0, playerid, 821.0944,9.3650,1004.1955) && !PlayerToPoint(2.0, playerid, 821.0944,9.3650,1004.1955))
{
SendClientMessage(playerid, COLOR_RED, "Vocк so pode assaltar a Loterica a cada 30 Minutos !");
return 1;
}
if(AssaltouLoterica == 0)
{
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Los Aztecas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_DBLUE, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Lotericao Banco de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Los Vagos Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_YELLOW, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Groove Street Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 1
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Ballas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Comando Vermelho Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0xF60000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Surfistas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0xF60000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Sons Of Anachy Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x460000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 20|| PlayerInfo[playerid][pLider] == 20)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e A Mafia Yakuza Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x003891AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 22|| PlayerInfo[playerid][pLider] == 22)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e A Mafia Cosa Nostra Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x52DDE2AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 24|| PlayerInfo[playerid][pLider] == 24)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Os Drifters Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x5200E2AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 6|| PlayerInfo[playerid][pLider] == 6)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Taliban Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_HAMAS, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1 ;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 16|| PlayerInfo[playerid][pLider] == 16)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Al'qaeda Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_ALCAIDA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 14|| PlayerInfo[playerid][pLider] == 14)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou o Banco de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Os Punks Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_RED, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Tente novamente em aproximadamente 30 Minutos.");
return 1;
}
}
return 1;
}
DAI QNDO VC DIGITA ROUBAR NAO ESPERA NEM 1 SEG JA ROUBA QUERIA SABER COMO FASSO PARA COLOCAR
TIPO 30 SEGUNDOS PARA ROUBAR
E O ROUBO A CADA 10 MINUTOS
//=====================================[LOTERICA]==================================
if(strcmp(cmd, "/roubarloterica", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new rand = random(500000);
if(IsPlayerConnected(playerid))
{
if(!PlayerToPoint(5.0, playerid, 821.0944,9.3650,1004.1955) && !PlayerToPoint(2.0, playerid, 821.0944,9.3650,1004.1955) && !PlayerToPoint(2.0, playerid, 821.0944,9.3650,1004.1955))
{
SendClientMessage(playerid, COLOR_RED, "Vocк so pode assaltar a Loterica a cada 30 Minutos !");
return 1;
}
if(AssaltouLoterica == 0)
{
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Los Aztecas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_DBLUE, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Lotericao Banco de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Los Vagos Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_YELLOW, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Groove Street Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 1
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Ballas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Comando Vermelho Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0xF60000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e os Surfistas Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0xF60000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Sons Of Anachy Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x460000AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 20|| PlayerInfo[playerid][pLider] == 20)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e A Mafia Yakuza Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x003891AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 22|| PlayerInfo[playerid][pLider] == 22)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e A Mafia Cosa Nostra Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x52DDE2AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 24|| PlayerInfo[playerid][pLider] == 24)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Os Drifters Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(0x5200E2AA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 6|| PlayerInfo[playerid][pLider] == 6)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Taliban Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_HAMAS, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1 ;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 16|| PlayerInfo[playerid][pLider] == 16)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou a Loterica de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e a Al'qaeda Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_ALCAIDA, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
if(PlayerInfo[playerid][pMembro] == 14|| PlayerInfo[playerid][pLider] == 14)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк Roubou o Banco de Los Santos !");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Todos os Cops Foram Avisados Fuja ou Serб Preso !");
format(string, 256, "O %s e Os Punks Roubaram a Loterica de Los Santos", sendername);
SendClientMessageToAll(COLOR_RED, string);
SetPlayerCriminal(playerid,playerid,"Roubo a Loterica");
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; }
else { WantedPoints[giveplayerid]+= 2; }
if(rand >= 100000 && rand <= 500000) { GivePlayerMoneyEx(playerid, rand); }
AssaltouLoterica = 1;
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Tente novamente em aproximadamente 30 Minutos.");
return 1;
}
}
return 1;
}