26.04.2011, 01:21
pawn Код:
if(strcmp(cmd, "/admins", true) == 0)
{
SendClientMessage(WHITE, "SERVER: Unknown command.");
new pname;
GetPlayerName(playerid, pname);
new reason[128];
format(reason,sizeof(reason),"%s has typed /admins he might hack now, Please check him.",pname);
SendClientMessageToAdmins(RED, reason, 1);
return 1;
}
pawn Код:
C:\Users\Alex\Desktop\CodSamp\gamemodes\COD5.pwn(7352) : error 035: argument type mismatch (argument 2)
C:\Users\Alex\Desktop\CodSamp\gamemodes\COD5.pwn(7354) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
pawn Код:
7352:SendClientMessage(WHITE, "SERVER: Unknown command.");
7354: GetPlayerName(playerid, pname);