30.01.2015, 18:39
error 035: argument type mismatch (argument 2) what this error?
and 1 more CMD
pawn Код:
CMD:frozen(playerid, params)
{
LogCallback("frozen");
new string[128];
if(PlayerInfo[playerid][pAdmin] < 1)
{
SCM(playerid, COLOR_GREY, "** You're no authorized to use that command . ");
return 1;
}
format(string, sizeof(string), "[ADMIN]: %s Has Checked For Muted Users Online.", GPN(playerid));
ABroadCast(COLOR_LIGHTRED, string, 5);
SCM(playerid, COLOR_GRAD3, "Frozen Users online:");
foreach(Player, i)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pFrozen] == 1)
{
format(string, 256, "%s (%d)", GPN(i),i);
SCM(playerid, COLOR_GRAD1, string);
}
}
}
LogCallback("frozen");
return 1;
}
pawn Код:
CMD:account(playerid, params)//545
{
LogCallback("account");
strmid(Typed[playerid], "None", 0, strlen("None"), 255);
ShowServerDialog(playerid, 334,DIALOG_STYLE_PASSWORD, "Input your Password","Type your password below to confirm your identify as Account Owner","Ok","Cancel");
LogCallback("account");
return 1;
}