My radio Filterscript isnt working anymore
#4

In the command that holds the dialog. I removed the content of the string in the dialog, and put it in the strcat functions. The whole string will be combined into the variable 'string', which as you can see, is used in the dialog to display the text.
pawn Код:
CMD:radio(playerid, params[])
{
    new string[256]; //Not sure about the string size, you can decrease/increase it if needed
    strcat(string, "Country108\nCountry 105 Calgary's #1 radio station\nB98 Today's Best Country\nNashville FM\nVirgin Radio Calgary 98.5\nCJAY 92 Calgary\nWorlds best country music\nClassic Rock 105\n");
    strcat(string, "Hard rock 102\nIndie Rock\nClassic Rap\nA Beatles Tribute\nJazz Classics\nModern Blues\nClassic Motown\nHits From The 70's\nBest Of The 80's\nBest Of The 60'S\nAlternative Rock\nPop Rock\nJPOP\n");
    strcat(string, "New Age\nBebop Jazz\nMellow Jazz\nThe Vibe Of Vegas\nClassic Hits 181\nThe Rock! Hard Rock\nReal Country FM\nThe Eagle Classic\nSmooth AC FM\nGood Time Oldies\nThe Office FM\nStop the music");
    ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_LIST, "Pick a music station", string, "Choose", "Cancel");
    return 1;
}
I hope that I clarified it a little. If not, feel free to ask
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)