24.06.2012, 16:48 
	
	
	
		Hello,
I have created this code but IDK why I'm receiving a warning?
Here is the code::
Here is the warning::
	
	
	
	
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
Код:
warning 225: unreachable code


