01.01.2013, 05:12
Ae galera to com um warning no gm й assim
As linhas sгo
E o warning e na segunda if ou seja na do traficante
OBRIGADO A TODOS QUE TENTAR ME AJUDAR
Код:
C:\Documents and Settings\Casa\Desktop\Deivid Serve\filterscripts\pmxtraf.pwn(186) : warning 225: unreachable code
pawn Код:
if(PlayerInfo[playerid][pTorcida] == 0)
{
SetPlayerPos(playerid,1782.6263,-1347.4968,15.7421); //Policial
SendClientMessage(playerid, 0xC798FAAA, "** Bem Vindo Policial **");
GivePlayerMoney(playerid,1000000);//Dar 1000k quando entrar
SetPlayerColor(playerid, 0x2641FEAA);
SetPlayerFacingAngle(playerid,168.2801);//Angulo
SetPlayerSkin(playerid,0);
GivePlayerWeapon(playerid,31,99999);
}
return 0;
if(PlayerInfo[playerid][pTorcida] == 1) //<<<- warning nessa linha
{
SetPlayerPos(playerid,-54.1648,2042.9808,23.6773); //Traficante
SendClientMessage(playerid, 0xC798FAAA, "** Bem Vindo Traficante **");
GivePlayerMoney(playerid,1000000);//Dar 1000k quando entrar
SetPlayerColor(playerid, 0xEE7943);
SetPlayerFacingAngle(playerid,168.2801);//Angulo
SetPlayerSkin(playerid,29);
GivePlayerWeapon(playerid,31,99999);
}
return 1;
pawn Код:
if(PlayerInfo[playerid][pTorcida] == 1) //<<<- warning nessa linha
{
SetPlayerPos(playerid,-54.1648,2042.9808,23.6773); //Traficante
SendClientMessage(playerid, 0xC798FAAA, "** Bem Vindo Traficante **");
GivePlayerMoney(playerid,1000000);//Dar 1000k quando entrar
SetPlayerColor(playerid, 0xEE7943);
SetPlayerFacingAngle(playerid,168.2801);//Angulo
SetPlayerSkin(playerid,29);
GivePlayerWeapon(playerid,31,99999);
}
return 1;