unbanip "seu ip aqui"
Vocк precisa estar logado como administrador na RCON.
/rcon say [mensagem] |
if(strcmp(cmd, "/dominar", true) == 0 || strcmp(cmd, "/do", true) == 0)
{
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)// Policia Militar
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Militar estгo controlando o Morro!",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COLOR_PM);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Militar estгo dominando a Radio.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,COLOR_PM);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Militar estгo controlando a Pista De Skate.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COLOR_PM);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Militar estгo Controlando O Parque Gleen.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COLOR_PM);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)// Policia Civil
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Civil estгo dominando o Morro!",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COP_COLOR);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Civil estгo dominando a Radio.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,COP_COLOR);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Civil estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COP_COLOR);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Civil estгo Controlando O Parque Gleen.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COP_COLOR);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)// GATE
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a GATE estгo dominando o Morro!",playername);
SendClientMessageToAll(COLOR_BLACK, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COLOR_BLACK);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a GATE estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(COLOR_BLACK, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COLOR_BLACK);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a GATE estгo Controlando O Parque Gleen.",playername);
SendClientMessageToAll(COLOR_BLACK, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COLOR_BLACK);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)// AZTECAS
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e Aztecas estгo dominando o Morro!",playername);
SendClientMessageToAll(COLOR_DBLUE, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COLOR_DBLUE);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e os Aztecas estгo dominando a Radio.",playername);
SendClientMessageToAll(COLOR_DBLUE, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,COLOR_DBLUE);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e Aztecas estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(COLOR_DBLUE, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COLOR_DBLUE);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e os Aztecas estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(COLOR_DBLUE, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COLOR_DBLUE);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)// KING BALLAS
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e [K.I.N.G] Ballas estгo dominando o Morro!",playername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,TEAM_BALLAS_COLOR);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e os [K.I.N.G] Ballas estгo dominando a Radio.",playername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,TEAM_BALLAS_COLOR);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a [K.I.N.G] Ballas estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,TEAM_BALLAS_COLOR);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a [K.I.N.G] Ballas estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(TEAM_BALLAS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,TEAM_BALLAS_COLOR);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)// ADA LOS VAGOS
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e [A.D.A] Los Vagos estгo dominando o Morro!",playername);
SendClientMessageToAll(COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COLOR_YELLOW);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e os [A.D.A] Los Vagos estгo dominando a Radio.",playername);
SendClientMessageToAll(COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,COLOR_YELLOW);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a [A.D.A] Los Vagos estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COLOR_YELLOW);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e [A.D.A] Los Vagos estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COLOR_YELLOW);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)// GROVE STREET
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Grove Street estгo dominando o Morro!",playername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,TEAM_GROVE_COLOR);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Grove Street estгo dominando a Radio.",playername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,TEAM_GROVE_COLOR);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Grove Street estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,TEAM_GROVE_COLOR);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Grove Street estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,TEAM_GROVE_COLOR);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)// Comando Vermelho
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Comando Vermelho estгo dominando o Morro!",playername);
SendClientMessageToAll(COLOR_CV, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,COLOR_CV);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Comando Vermelho estгo dominando a Radio.",playername);
SendClientMessageToAll(COLOR_CV, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,COLOR_CV);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Comando Vermelho estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(COLOR_CV, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,COLOR_CV);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Comando Vermelho estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(COLOR_CV, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,COLOR_CV);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)// G-MOB
{
if(IsPlayerInMorro(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoMorro == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a G-MOB estгo dominando o Morro!",playername);
SendClientMessageToAll(0x00BFFFAA, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZMorro,0x00BFFFAA);
Dominando[playerid] = 1;
ProvocoMorro[playerid] = 1;
GuerranoMorro = 1;
TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
return 1;
}
/*if(IsPlayerInRadio(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranaRadio == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a G-MOB estгo dominando a Radio.",playername);
SendClientMessageToAll(0x00BFFFAA, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar a Radio.");
GangZoneFlashForAll(GZRadio,0x00BFFFAA);
Dominando[playerid] = 1;
ProvocoRadio[playerid] = 1;
GuerranaRadio = 1;
TempoGuerraRadio = SetTimerEx("GuerraRadio", 60000, 0, "i", playerid);
return 1;
}*/
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a G-MOB estгo dominando a Pista De Skate.",playername);
SendClientMessageToAll(0x00BFFFAA, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,0x00BFFFAA);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return 1;
}
if(IsPlayerInParque(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoParque == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a G-MOB estгo Dominando o Parque Gleen.",playername);
SendClientMessageToAll(0x00BFFFAA, string);
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZParque,0x00BFFFAA);
Dominando[playerid] = 1;
ProvocoParque[playerid] = 1;
GuerranoParque = 1;
TempoGuerraParque = SetTimerEx("GuerraParque", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
/*if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)// POLICIA CIVIL
{
if(IsPlayerInShop(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoShop == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Civil estгo dominando o Shoping Center.",playername);
SendClientMessageToAll(COP_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZShop,COP_COLOR);
Dominando[playerid] = 1;
ProvocoShop[playerid] = 1;
GuerranoShop = 1;
TempoGuerraShop = SetTimerEx("GuerraShop", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhun territуrio!");
}
return 1;
}*/
if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)// YAKUZA
{
if(IsPlayerInShop(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoShop == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Mafia Yakuza estгo dominando o Shoping Center.",playername);
SendClientMessageToAll(0x00007DF6, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZShop,0x00007DF6);
Dominando[playerid] = 1;
ProvocoShop[playerid] = 1;
GuerranoShop = 1;
TempoGuerraShop = SetTimerEx("GuerraShop", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22)// yakuza
{
if(IsPlayerInShop(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoShop == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Mafia LH estгo dominando o Shoping Center.",playername);
SendClientMessageToAll(0x00E7C6F6, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZShop,0x00E7C6F6);
Dominando[playerid] = 1;
ProvocoShop[playerid] = 1;
GuerranoShop = 1;
TempoGuerraShop = SetTimerEx("GuerraShop", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)//Policia Federal
{
if(IsPlayerInShop(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoShop == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Policia Federal estгo dominando o Shoping Center.",playername);
SendClientMessageToAll(COLOR_PF, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZShop,0x00007DF6);
Dominando[playerid] = 1;
ProvocoShop[playerid] = 1;
GuerranoShop = 1;
TempoGuerraShop = SetTimerEx("GuerraShop", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)// Exercito
{
if(IsPlayerInAero(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoAero == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s E O EXERCITO ESTAO DECLARANDO GUERRA CONTRA O TERRORISMO NO AEROPORTO DE LOS SANTOS.",playername);
SendClientMessageToAll(TEAM_GREEN_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as Facзoes foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZAero,TEAM_GREEN_COLOR);
Dominando[playerid] = 1;
ProvocoAero[playerid] = 1;
GuerranoAero = 1;
TempoGuerraAero = SetTimerEx("GuerraAero", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)// LIFG
{
if(IsPlayerInAero(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoAero == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s E O LIFG ESTAO DECLARANDO GUERRA NO AEROPORTO DE LOS SANTOS.",playername);
SendClientMessageToAll(COLOR_ARMADO, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as Facзoes foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZAero,COLOR_ARMADO);
Dominando[playerid] = 1;
ProvocoAero[playerid] = 1;
GuerranoAero = 1;
TempoGuerraAero = SetTimerEx("GuerraAero", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)// FARC
{
if(IsPlayerInAero(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return 1;
}
if(GuerranoAero == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return 1;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s E A -FARC- ESTAO DECLARANDO GUERRA NO AEROPORTO DE LOS SANTOS.",playername);
SendClientMessageToAll(COLOR_FARC, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as Facзoes foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZAero,COLOR_FARC);
Dominando[playerid] = 1;
ProvocoAero[playerid] = 1;
GuerranoAero = 1;
TempoGuerraAero = SetTimerEx("GuerraAero", 60000, 0, "i", playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
}
return 1;
}
return 1;
}
Larceny, vocк й oque mais me ajuda oO, nгo querendo dizer que os outros nгo ajudam. |
IsPlayerInShop(playerid)