I'm trying to make a command (/currentsong) that will show the current track playing on a radio station.
The code....
pawn Code:
CMD:currentsong(playerid, params[], track[])
{
new string[128];
format(string, sizeof(string), "Now Playing: {FF9900}%s", track);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}
When I type /currentsong it will show some strange number instead of the track name.