20.12.2010, 18:46
You didn't explain right what you want. Try that:
Straight that you have more posts than me and knows less time, even though it means you had stayed here more time than me
pawn Код:
if(text[0] == '@')
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[playerid][AdminLevel] > 2 && PlayerInfo[i][AdminLevel] > 2)
{
if(!strlen(text[1])) return SendClientMessage(playerid, COLOR_ORANGE, "USAGE: @<text>");
new sendername[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
new string[128];
format(string, sizeof(string), "Admin Chat [%i]%s: %s" ,playerid,sendername, text[1]);
SendClientMessage(i, COLOR_GREEN, string);
AdminCLog(string);
return 0;
}
}
else return 0;
}
Straight that you have more posts than me and knows less time, even though it means you had stayed here more time than me