[AJUDA]Urgente nao sei oque aconteceu!
#1

Opa vim aquie pedir uma super ajuda to com um warning chato qe nao to conseguindo resolver...no meu gm antigo
ele funciona mais em uma nova versao ele nao qer so pelo Warning!!
vlw obrigado ai pela atenзao

warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.




if(strcmp(cmdtext, "/zerarcarros123", true) == 0) <<<<<<<<<<<<<<, Linha do erro ! 1474
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, string, sizeof(string));
SendClientMessage(playerid,COLOR_GREEN,"Carros nгo usados foram restaurados !!!");
format(string,sizeof(string),"[AdminCMD]: Todos os carros voltaram POR: %s",string);
SendClientMessageToAll(COLOR_GREEN,string);
GameTextForPlayer(playerid,"~p~Carros Restaurados",4000,6);
new bool:unwanted[2000];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 3; car <= 639; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
for(new car = 640; car <= 2000; car++)
{
if(!unwanted[car]) DestroyVehicle(car);
}
}
return 1;
}
}
Reply


Messages In This Thread
[AJUDA]Urgente nao sei oque aconteceu! - by mandreke - 30.07.2010, 21:42
Re: [AJUDA]Urgente nao sei oque aconteceu! - by luandriftlogkdr - 30.07.2010, 22:16
Re: [AJUDA]Urgente nao sei oque aconteceu! - by mandreke - 30.07.2010, 22:29
Re: [AJUDA]Urgente nao sei oque aconteceu! - by V4mpiroDoidao - 31.07.2010, 00:36
Re: [AJUDA]Urgente nao sei oque aconteceu! - by [BEP]AcerPilot - 31.07.2010, 19:41
Re: [AJUDA]Urgente nao sei oque aconteceu! - by ipsBruno - 31.07.2010, 20:15
Re: [AJUDA]Urgente nao sei oque aconteceu! - by [BEP]AcerPilot - 31.07.2010, 20:53
Re: [AJUDA]Urgente nao sei oque aconteceu! - by DartakousLien - 31.07.2010, 21:24

Forum Jump:


Users browsing this thread: 1 Guest(s)