22.12.2014, 11:44
Error i got
And this is code
Help me please
PHP код:
./includes/commands.pwn(56488) : error 021: symbol already defined: "ShowPlayerDialog"
./includes/commands.pwn(56489) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP код:
CMD:panels(playerid, params[])
{
if (!IsACop(playerid))
{
SendClientMessageEx(playerid,COLOR_GREY,"ban khong a law enforcement officer.");
}
if (!IsPlayerInRangeOfPoint(playerid, 20, 1479.1448,-1675.6207,14.0469))
SendClientMessageEx(playerid, COLOR_GREY, "Ban khong o trong pershing square.");
}
ShowPlayerDialog(playerid, PANEL, DIALOG_STYLE_LIST, "Security Panel", "Tram dieu khien canh cua nguc", "Operate", "Cancel");
return 1;
}