15.01.2012, 17:44
Quote:
Ricardo, did it work?
If yes, would you like to give me a reputation point please . |
pawn Код:
CMD:r(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /r [Text]");
foreach(Player, i) {
if(PlayerInfo[i][Fmember] == 1 || PlayerInfo[i][Fleader] == 1) {
new
string[ 128 ], name[ MAX_PLAYER_NAME ];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s (radio): %s , Over.", name, params);
SendClientMessage(i, TEAM_RADIO_COLOR, string);
}
}
return 1;
}