13.06.2010, 12:06
Код:
C:\Users\samet\Desktop\DMZONEv2.pwn(738) : error 047: array sizes do not match, or destination array is too small C:\Users\samet\Desktop\DMZONEv2.pwn(751) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Код:
cmd = strtok(cmdtext, idx);
if(strcmp(cmd,"/hdf",true)==0)
{
if(!IsPlayerAdmin(playerid))return 0;
new tmp1[64],id;
tmp1=strtok(cmdtext,idx);
if(!strlen(tmp1)) return 0;
id=strval(tmp1);
Muted[id]=1;
new string1[128];
format(string1,sizeof(string1),"** %s set's to HDF list.",PlayerName(id));
SendClientMessage(playerid,COLOR_LIMEGREEN,string1);
return 1;
}
if(strcmp(cmd,"/unhdf",true)==0)
{
if(!IsPlayerAdmin(playerid))return 0;
new tmp1[64],id;
tmp1=strtok(cmdtext,idx);
if(!strlen(tmp1)) return 0;
id=strval(tmp1);
Muted[id]=0;
new string1[128];
format(string1,sizeof(string1),"** %s revoked from HDF list.",PlayerName(id));
SendClientMessage(playerid,COLOR_LIMEGREEN,string1);
return 1;
}

