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

This is the radio I used for my Roleplay for cops...

pawn Код:
new RadioChat[128];
    if(text[0] == '!' && text[1] != 0)
    {
        if(gTeam[playerid] == 6)
        {
            for(new i = 0; i < MAX_PLAYERS; i++ )
            {
                format(RadioChat, sizeof(RadioChat), "(Cop Radio) %s: %s",PlayerNam(playerid),text[1]);
                if(gTeam[i] == 6)
                {
                    SendClientMessage(i, RADIO_COLOR, RadioChat);
                }
            }
        }
        return 0;
    }
So when a Cop types !Hello. It will come out as:
(Cop Radio) Name: Hello.
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: 1 Guest(s)