SA-MP Forums Archive
warning 225 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 225 (/showthread.php?tid=322416)



warning 225 - Hurde - 02.03.2012

i im creating a GM (read my previous post) and i got an warning again can anybody help?
warning
Код:
warning 225: unreachable code
script
Код:
	if (strcmp("/cmd", cmdtext, true, 10) == 0)
	{
        SendClientMessage(playerid, orange ,"----------------------Commands------------------------------");
        SendClientMessage(playerid, orange ,"/cmds /rob /rape");
		return 1;
	}
	return 0;

}



Re: warning 225 - rati555 - 02.03.2012

Quote:
Originally Posted by Hurde
Посмотреть сообщение
i im creating a GM (read my previous post) and i got an warning again can anybody help?
warning
Код:
warning 225: unreachable code
script
Код:
	if (strcmp("/cmd", cmdtext, true, 10) == 0)
	{
        SendClientMessage(playerid, orange ,"----------------------Commands------------------------------");
        SendClientMessage(playerid, orange ,"/cmds /rob /rape");
		return 1;
	}
	return 0;

}
pawn Код:
if (strcmp("/cmd", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, orange ,"----------------------Commands------------------------------");
        SendClientMessage(playerid, orange ,"/cmds /rob /rape");
        return 1;
    }
try this


Re: warning 225 - Hurde - 02.03.2012

it works TNX!