04.12.2010, 20:07
Hello guys ! I have got this common warning on a few lines
I think it's a easy question, so I doubt it will take much to be solved.
I know this isn't much but i want a clean script with no warnings or error to avoid more further errors ..
Line 770 has the same warning too
Thanks for help
pawn Код:
C:\Archivos de programa\Rockstar Games\GTA San Andreas\SA-MP 0.3b\Server 0.3b\gamemodes\fierroharb.pwn(655) : warning 225: unreachable code
pawn Код:
if(strcmp(cmdtext, "/gotousa", true)==0)
{
if(PlayerInfo[playerid][pAdminLevel] > 0)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE," You have teleported to America Base");
SetPlayerPos(playerid,-1347.9703,492.6265,11.1953);
return 1;
} ---------------------------> LINE 665
else
{
return SendClientMessage(playerid,COLOR_GRAY,"[SERVER]: You are not an admin !");
}
return 1; -----------------------> LINE 770
}
Line 770 has the same warning too
Thanks for help
![Smiley](images/smilies/smile.png)