11.04.2010, 19:19
Nice 
But you have a mistake in the code:
You've forgot the closer of the 'if' condition - }

But you have a mistake in the code:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '$' && IsPlayerAdmin(playerd)) {
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"Admin Chat: %s: %s",string,text[1]); SendMessageToRAdmins(red,string);
return 0;
}