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
#2

pawn Код:
CMD:stopradio(playerid, params[])
{
        StopAudioStreamForPlayer(playerid);
        SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
        return 1;
}
Reply
#3

pawn Код:
if (strcmp("/Stopradio", cmdtext, true, 10) == 0)
to
pawn Код:
CMD:stopradio(playerid, parmas[])
or
pawn Код:
CMD:radio(playerid, params[])
Reply
#4

thx guys, i'm releasing radio script
DANNY!!! CHICKEN GUY? REMBMER ME BITCH? I"M EAGLE/LUKA/KATIE!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)