Question last one
#5

This is the whole script.
Radio for a certain Faction.
pawn Код:
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
            {
                if(PlayerInfo[playerid][pRank] == 8) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**[Police CH, 1] %s: %s ", sendername, result); }
                else
                {
                format(string, sizeof(string), "(Radio) %s says: %s", sendername, result);
                }
                ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
               
                SendRadioMessage(1, 0xFFFFB0FF, string);
                printf("%s", string);
                return 1;
            }
Reply


Messages In This Thread
Question last one - by Scriptissue - 15.10.2010, 16:26
Re: Question last one - by Mike_Peterson - 15.10.2010, 17:50
Re: Question last one - by Scriptissue - 15.10.2010, 18:19
Re: Question last one - by iggy1 - 15.10.2010, 18:51
Re: Question last one - by Scriptissue - 15.10.2010, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)