30.05.2013, 15:47
Hello guys i need some of your help ..
i add this to my GM
and i get this error
error line is
i add this to my GM
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(radio, 5, cmdtext);
return 0;
}
dcmd_radio(playerid, params[])
{
#pragma unused params
Audio_SetVolume(playerid, Radio[playerid], 100);
ShowPlayerDialog(playerid, RADIO, DIALOG_STYLE_LIST, "Radio System by GBLTeam", "{FF1400}0-Jazz Radio\n{FFB400}1-.977(Rock)\n{DCDCDC}2-181FM(Rock)\n{19FF00}3-Cinemix(CLassical)\n{FF00D7}4-Reggae141\n{CD0000}5-Infowars(Real talk)\n{2800FF}6-Comedy\n{F5FF00}7-BBC News\n{C800FF}8-HotJamz(Hip Hop)\n{FF6400}9-Xtreme(Metal)\n{FFD200}10-Metal\n{FF3C00}11-Hindi\n{EBFF00}12-Trance\n{007DFF}13- UG Rap\n{00FFF0}14-Urban\n{FF000F}[STOP RADIO]", "Okay", "Exit");
return 1;
}
return SendClientMessage(playerid,0xFF0000C8,"Unkown command{FFFFFF} /cmds{FF0000} Also check {FFFFFF}/whatsnew");
}
and i get this error
Код:
D:\cc\gamemodes\jordan.pwn(397) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
return SendClientMessage(playerid,0xFF0000C8,"Unkown command{FFFFFF} /cmds{FF0000} Also check {FFFFFF}/whatsnew");