18.10.2012, 23:37
Код:
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
Код:
Can you help me turn this cmd into ZCMD?Код:if (strcmp("/Stopradio", cmdtext, true, 10) == 0) { StopAudioStreamForPlayer(playerid); SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . ."); return 1; }
Код:
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; }