07.04.2010, 09:34
Code:
if ( tempBanPlayer( id, playerid, hours, reason ) ) { new reportStr[128], adminName[24],lol[24]; GetPlayerName( id, lol, 24 ); GetPlayerName( playerid, adminName, 24 ); format( reportStr, 128, " * %s (id:%d) забанен админом %s (id:%d) на %d час(ов)",lol, id, adminName, playerid, hours); SendClientMessageToAll( 0xFF0000AA, reportStr ); format( reportStr, 128, " Причина: %s", reason); SendClientMessageToAll( 0xFF0000AA, reportStr ); }