[FilterScript] Faction Creator [DYNAMIC]
#20

Quote:
Originally Posted by jetvil
Посмотреть сообщение
That's a really good filterscript, I'll rep you if you gonna edit a bit the /fradio, you know.. showing the division name and the rank of the player in /fradio
pawn Код:
CMD:fradio(playerid, params[])
{
    if(PlayerInfo[playerid][pFac])
    {
        new string[128];
        if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, -1, " USAGE: /fradio [text] - IC CHAT!");
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 1) format(string, sizeof(string), "{FFFFFF}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 2) format(string, sizeof(string),"{F81414}[RADIO][%s]%s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 3) format(string, sizeof(string), "{00FF22}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 4) format(string, sizeof(string), "{00CED1}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 5) format(string, sizeof(string), "{FF9900}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 6) format(string, sizeof(string), "{FFFF99}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 7) format(string, sizeof(string), "{CC0000}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        if(FacInfo[PlayerInfo[playerid][pFac]][fColor] == 0) format(string, sizeof(string), "{00CED1}[RADIO][%s] %s %s: %s",DivisionName(playerid), RankName(playerid), GetName(playerid), params);
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(PlayerInfo[i][pFac] == PlayerInfo[playerid][pFac])
            {
                SendClientMessage(i, -1, string);
            }
        }
    }
    else
    {
        SendClientMessage(playerid, -1, "You are not in a group/faction to use this command!");
        return 1;
    }
    return 1;
}
You could of added it though it's not a hard job since I have stock-ed a functionlike to get the division name into strings.

Quote:
Originally Posted by Yves
Посмотреть сообщение
You should keep your work up mate Dynamic factions i have not seen one released on here yet but now i have.
Quote:
Originally Posted by jeton007bond
Посмотреть сообщение
Nice one, Im impressed +1
Quote:
Originally Posted by Clad
Посмотреть сообщение
Very nice.
You guys motivated me to create a new filterscript (Especially Yves), all I need is just an idea.


Quote:
Originally Posted by jetvil
Посмотреть сообщение
also when an dialoge pop outs from an command from /fhelp also shows the dialoges from my gamemode, its getting you back to select age, gender etc
You can open the .pwn and rename 'CMD:fhelp' to like CMD:factionhelp'
Reply


Messages In This Thread
Faction Creator [Dynamic] [Everything in-game] - by MattTucker - 01.03.2014, 12:12
Re: Faction Creator [DYNAMIC] - by UnknownOwner - 01.03.2014, 12:22
Re: Faction Creator [DYNAMIC] - by Yves - 01.03.2014, 12:25
Re: Faction Creator [DYNAMIC] - by MattTucker - 01.03.2014, 12:26
Re: Faction Creator [DYNAMIC] - by AchievementMaster360 - 01.03.2014, 12:28
Re: Faction Creator [DYNAMIC] - by Nourdin - 01.03.2014, 12:30
Re: Faction Creator [DYNAMIC] - by MattTucker - 01.03.2014, 12:32
Re: Faction Creator [DYNAMIC] - by benjaminjones - 01.03.2014, 13:38
Re: Faction Creator [DYNAMIC] - by VinPure - 01.03.2014, 13:45
Re: Faction Creator [DYNAMIC] - by MattTucker - 01.03.2014, 13:56
Re: Faction Creator [DYNAMIC] - by Mark_Samp - 01.03.2014, 14:07
Re: Faction Creator [DYNAMIC] - by Duke24 - 01.03.2014, 14:16
Re: Faction Creator [DYNAMIC] - by Chrillzen - 01.03.2014, 14:24
Re: Faction Creator [DYNAMIC] - by MattTucker - 01.03.2014, 16:11
Re: Faction Creator [DYNAMIC] - by jeton007bond - 01.03.2014, 17:28
Re: Faction Creator [DYNAMIC] - by jetvil - 01.03.2014, 18:36
Re: Faction Creator [DYNAMIC] - by Clad - 01.03.2014, 18:53
Re: Faction Creator [DYNAMIC] - by Yves - 01.03.2014, 19:01
Re: Faction Creator [DYNAMIC] - by jetvil - 01.03.2014, 19:12
Re: Faction Creator [DYNAMIC] - by MattTucker - 02.03.2014, 05:21
Re: Faction Creator [DYNAMIC] - by Pr0GreSiVe - 24.03.2014, 18:56
Re: Faction Creator [DYNAMIC] - by Guest4390857394857 - 24.03.2014, 20:13
Re: Faction Creator [DYNAMIC] - by Pr0GreSiVe - 24.03.2014, 21:00
Re: Faction Creator [DYNAMIC] - by MattTucker - 24.03.2014, 22:24
Re: Faction Creator [DYNAMIC] - by Luminar - 25.03.2014, 14:22
Re: Faction Creator [DYNAMIC] - by MattTucker - 26.03.2014, 01:09
Re: Faction Creator [DYNAMIC] - by yeekangaw - 26.03.2014, 03:34
Re: Faction Creator [DYNAMIC] - by MattTucker - 26.03.2014, 14:08
Re: Faction Creator [DYNAMIC] - by Bingo - 26.03.2014, 14:52
Re: Faction Creator [DYNAMIC] - by MattTucker - 26.03.2014, 21:07
Re: Faction Creator [DYNAMIC] - by Diogo123 - 26.03.2014, 23:38
Re: Faction Creator [DYNAMIC] - by MattTucker - 27.03.2014, 00:29
Re: Faction Creator [DYNAMIC] - by TheChimpJr - 27.03.2014, 03:23
Re: Faction Creator [DYNAMIC] - by MattTucker - 27.03.2014, 21:21
Re: Faction Creator [DYNAMIC] - by bpsamp - 06.04.2014, 16:46
Re: Faction Creator [DYNAMIC] - by naunaud84820 - 06.04.2014, 16:50
Re: Faction Creator [DYNAMIC] - by MattTucker - 06.04.2014, 16:54
Re: Faction Creator [DYNAMIC] - by Symphony - 07.04.2014, 11:23
Re: Faction Creator [DYNAMIC] - by iRaiDeN - 07.04.2014, 12:00
Re: Faction Creator [DYNAMIC] - by Tropicali - 07.04.2014, 13:05
Re: Faction Creator [DYNAMIC] - by MattTucker - 08.04.2014, 15:26
Re: Faction Creator [DYNAMIC] - by Seaf - 14.11.2014, 15:14
Re: Faction Creator [DYNAMIC] - by Vince123 - 15.11.2014, 01:55
Re: Faction Creator [DYNAMIC] - by JaydenJason - 15.11.2014, 12:29
Re: Faction Creator [DYNAMIC] - by Fernado Samuel - 15.11.2014, 16:15
Re: Faction Creator [DYNAMIC] - by Andy5 - 09.06.2015, 13:05
Re: Faction Creator [DYNAMIC] - by ProjectAlbania - 24.10.2015, 20:25
Re: Faction Creator [DYNAMIC] - by C4SH - 25.10.2015, 10:18
Re: Faction Creator [DYNAMIC] - by Uproar - 18.06.2018, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)