02.04.2013, 06:55
You forgot the ,,success" parametr in OnPlayerCommandPerformed. This callback should look like this:
@up Damn it, one minut late x_x
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
new str[128];
if(sInfo[ReadCmds] == 1)
{
format(str, sizeof(str), "*** %s(ID:%d) : '%s'", GetName(playerid), playerid, cmdtext);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(pInfo[i][Admin] >= 1)
{
SendClientMessage(i, COLOR_GREY, str);
}
}
}
}
return 1;
}