24.06.2012, 21:43
You've got some extra code on the sscanf line which isn't surrounded by { }.
Replace this:
with this:
Additional:
The unreachable code error basically means the line of code it is referencing cannot be accessed because of something BEFORE that line of code (e.g. you return a value for the callback/function or you mis-use { }).
Replace this:
pawn Код:
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;
pawn Код:
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;
}
Additional:
The unreachable code error basically means the line of code it is referencing cannot be accessed because of something BEFORE that line of code (e.g. you return a value for the callback/function or you mis-use { }).