25.01.2013, 19:48
Salve Parceiros D Estou editando o GM Do Brasil Halls Life, Mais estou com um Bug Na org Los Vagos
O Bug й assim:
Se eu apertar qualquer Tecla por exemplo: ''F'' Aparece isso :
''Vocк nгo estб em nenhum territуrio ou nгo estб no territorio de sua organizaзгo!''
Aqui estб o cуdigo responsabilizado Pelo comando /do
Por Favor me ajudem com este Bug FDP
O Bug й assim:
Se eu apertar qualquer Tecla por exemplo: ''F'' Aparece isso :
''Vocк nгo estб em nenhum territуrio ou nгo estб no territorio de sua organizaзгo!''
Aqui estб o cуdigo responsabilizado Pelo comando /do
pawn Код:
if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)// Los Vagos
{
if(IsPlayerInFavela(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return true;
}
if(GuerranaFavela == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return true;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Vagos estгo dominando a Favela!",playername);
SendClientMessageToAll(TEAM_VAGOS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZFavela,TEAM_VAGOS_COLOR);
Dominando[playerid] = 1;
ProvocoFavela[playerid] = 1;
GuerranaFavela = 1;
TempoGuerraFavela = SetTimerEx("GuerraFavela", 60000, 0, "i", playerid);
return true;
}
if(IsPlayerInSkate(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return true;
}
if(GuerranoSkate == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return true;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Vagos estгo dominando a Pista de Skate!",playername);
SendClientMessageToAll(TEAM_VAGOS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZSkate,TEAM_VAGOS_COLOR);
Dominando[playerid] = 1;
ProvocoSkate[playerid] = 1;
GuerranoSkate = 1;
TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
return true;
}
if(IsPlayerInPark(playerid))
{
if(Dominando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
return true;
}
if(GuerranoPark == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
return true;
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Vagos estгo dominando o Park Glen!",playername);
SendClientMessageToAll(TEAM_VAGOS_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, A Polнcia e todas as gangues foram avisadas!");
SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para dominar estб area .");
GangZoneFlashForAll(GZPark,TEAM_VAGOS_COLOR);
Dominando[playerid] = 1;
ProvocoPark[playerid] = 1;
GuerranoPark = 1;
TempoGuerraPark = SetTimerEx("GuerraPark", 60000, 0, "i", playerid);
return true;
}
else
{
SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio ou nгo estб no territorio de sua organizaзгo!");
}
return true;