convent to ZCMD please and Errors!
#1

Код:
C:\Users\Owner\Desktop\RP\filterscripts\epicradio.pwn(26) : error 010: invalid function or declaration
C:\Users\Owner\Desktop\RP\filterscripts\epicradio.pwn(30) : error 010: invalid function or declaration
Код:
Код:
        if (strcmp("/Stopradio", cmdtext, true, 10) == 0)
{
        StopAudioStreamForPlayer(playerid);
        SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
        return 1;
}
Can you help me turn this cmd into ZCMD?
Example like this
Код:
command(radio, playerid, params[])
{
 	new string[1024], string1[512];
 	format(string1, sizeof(string1), "TMS Radio\nDefray Radio\nHot 108 Jamz");
  	format(string, sizeof(string), "%s%s", string1);
 	ShowPlayerDialog(playerid, 2222, DIALOG_STYLE_LIST, "pln102's Radiostation", string, "Confirm", "Close");
 	return 1;
 	}
        if (strcmp("/Stopradio", cmdtext, true, 10) == 0)
{
        StopAudioStreamForPlayer(playerid);
        SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
        return 1;
}
Highlight Red is giving me errors and please help me convent to zcmd
Reply


Messages In This Thread
convent to ZCMD please and Errors! - by pln102 - 18.10.2012, 23:37
Re: convent to ZCMD please and Errors! - by Emmet_ - 18.10.2012, 23:43
Re: convent to ZCMD please and Errors! - by dannyk0ed - 18.10.2012, 23:45
Re: convent to ZCMD please and Errors! - by pln102 - 19.10.2012, 00:00

Forum Jump:


Users browsing this thread: 1 Guest(s)