Unreachable Code!
#1

Hello,

I have created this code but IDK why I'm receiving a warning?

Here is the code::

Код:
CMD:setringtone(playerid, params[])
{
    new
		value,
    	str[295],
		string[295],
 		pname[MAX_PLAYER_NAME]
	;
	GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
	if(PlayerInfo[playerid][pWrestler] >= 1)
	{
	    if(sscanf(params, "s", value)) SendClientMessage(playerid, -1, "Syntax: /setringtone [url/ringotne]");                              SendClientMessage(playerid, -1, "For Example: http://YOUR_URL_OF_THE_SONG"); return true;
        PlayerInfo[playerid][pRingTone] = value; //<<< unreachable code
Here is the warning::

Код:
warning 225: unreachable code
Reply


Messages In This Thread
Unreachable Code! - by Youice - 24.06.2012, 16:48
Re: Unreachable Code! - by Euan Hughes - 24.06.2012, 16:54
Re: Unreachable Code! - by Youice - 24.06.2012, 17:29
Re: Unreachable Code! - by Badger(new) - 24.06.2012, 21:43
Re: Unreachable Code! - by Kindred - 24.06.2012, 21:50
Re: Unreachable Code! - by Babul - 24.06.2012, 22:19
Re: Unreachable Code! - by Youice - 25.06.2012, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)