[HELP] Help me with a simple Police Radio
#3

pawn Код:
if(!strcmp("/ra", cmdtext, true))
{
    if(cmdtext[3] == 0) return SendClientMessage(playerid, COLOR_RED, "/ra [text]");
    new playername[26];
    GetPlayerName(playerid, playername, 26);
    format(string, sizeof(string), "COP: %s > %s", playername, cmdtext[3]);
    for(new i=0;i<MAX_PLAYERS;i++)
    { if(GetPlayerTeam(playerid) == 6) { SendClientMessage(i, COLOR_BLUE, string); } }
    return 1;
}
you could do something like this, but edit it to match your specs.
Reply


Messages In This Thread
[HELP] Help me with a simple Police Radio - by FreddeN - 03.06.2009, 14:48
Re: [HELP] Help me with a simple Police Radio - by FreddeN - 03.06.2009, 15:07
Re: [HELP] Help me with a simple Police Radio - by Think - 03.06.2009, 15:14
Re: [HELP] Help me with a simple Police Radio - by FreddeN - 03.06.2009, 15:30
Re: [HELP] Help me with a simple Police Radio - by Weirdosport - 03.06.2009, 15:35
Re: [HELP] Help me with a simple Police Radio - by FreddeN - 03.06.2009, 15:36
Re: [HELP] Help me with a simple Police Radio - by miokie - 03.06.2009, 15:38
Re: [HELP] Help me with a simple Police Radio - by Think - 03.06.2009, 15:47
Re: [HELP] Help me with a simple Police Radio - by FreddeN - 03.06.2009, 15:54
Re: [HELP] Help me with a simple Police Radio - by Think - 03.06.2009, 16:00

Forum Jump:


Users browsing this thread: 5 Guest(s)