17.03.2011, 21:04
Yep, but change '0xFFFF00AA' to the hex/colour for 'RED:'
pawn Код:
CMD:amessage(playerid, params[]) {
// Checking if is OVER 1, note so level 1 admin won't work for this command, add '=' after the '>' for it to work.
if(GetPVarInt(playerid, "Level") > 1) {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && GetPVarInt(i, "Level") > 1) {
SendClientMessage(i, 0xFFFF00AA, params);
}
}
}
return 1;
}