cmdtext issue
#3

Quote:
Originally Posted by iggy1
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(cmdtext, "/radio", true) == 0)
{
    ShowPlayerDialog(playerid, radiodialog, DIALOG_STYLE_LIST, "Radio Stations", "Alternative\nClassic rock\nMetal\nTechno\nHiphop\nDubstep\nJazz\nReggae\nDancepunk\nAdultcomedy\nNewage\nFunk\nStopmusic", "Listen", "Cancel");
}//<<
    return 1;
}
you missed a closing curly brace.
pawn Код:
#include <a_samp>

#define FILTERSCRIPT
#define radiodialog




public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(cmdtext, "/radio", true) == 0)
{
    ShowPlayerDialog(playerid, radiodialog, DIALOG_STYLE_LIST, "Radio Stations", "Alternative\nClassic rock\nMetal\nTechno\nHiphop\nDubstep\nJazz\nReggae\nDancepunk\nAdultcomedy\nNewage\nFunk\nStopmusic", "Listen", "Cancel");
}
    return 1;
}
still the same errors + ive tried that already.
Reply


Messages In This Thread
cmdtext issue - by xXitsgodzillaXx - 15.04.2012, 14:12
Re: cmdtext issue - by iggy1 - 15.04.2012, 14:14
Re: cmdtext issue - by xXitsgodzillaXx - 15.04.2012, 14:20
Re: cmdtext issue - by Cjgogo - 15.04.2012, 14:25
Re: cmdtext issue - by iggy1 - 15.04.2012, 14:31
Re: cmdtext issue - by xXitsgodzillaXx - 15.04.2012, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)