23.10.2013, 14:40
pawn Код:
#include <zcmd>
CMD:asay(playerid, params[]) {
if (!isnull(params) && IsPlayerAdmin(playerid))
{
new szOutput[144], szPlayerName[24];
GetPlayerName(playerid, szPlayerName, sizeof szPlayerName);
format(szOutput, sizeof szOutput, "** Admin %s: %s **", szPlayerName, params);
SendClientMessageToAll(0x66FF00FF, szOutput);
}
return 0;
}