06.07.2011, 18:03
Код:
COMMAND:admins(playerid, params[]) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, Red, " ** Admins Online: **"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerAdmin(i)) { new string[128]; new sendername[ MAX_PLAYER_NAME ]; GetPlayerName(i, sendername, sizeof(sendername)); format(string, sizeof(string), SendClientMessage(playerid, LIGHTBLUE, string); } } } } return 1; }
Код:
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(975 -- 976) : error 035: argument type mismatch (argument 3) C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin.pwn(981) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.