04.07.2013, 09:39
pawn Код:
CMD:clearallreports(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 5)
{
new string[128];
ClearReports();
SendClientMessage(playerid,COLOR_LIGHTBLUE, "You have cleared all the active reports.");
format(string, sizeof(string), "AdmCmd: %s has cleared all the pending reports.", GetPlayerName(playerid)); // 2805
ABroadCast(COLOR_LIGHTRED, string, 1);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are not authorized to use this command!");
}
return 1;
}
Код:
hrp.pwn(2805) : warning 202: number of arguments does not match definition hrp.pwn(2805) : warning 202: number of arguments does not match definition