GetFactionRank
#6

pawn Код:
CMD:r(playerid, params[])
{
    if(PlayerInfo[playerid][pFaction] == 1 || PlayerInfo[playerid][pFaction] == 2)
    {
        new string[128], text[70];
        if(sscanf(params, "s[70]", text)) return ShowInfoForPlayer(playerid, "~r~Error:~w~ /r [text]", 5000);
        format(string, sizeof(string), "(Radio) ** %s %s: %s", GetFactionRank(playerid), GetPlayerNameEx(playerid), text);
        SendClientMessageToLSPD(COLOR_BLUE, string);
    }
    else ShowInfoForPlayer(playerid, "~r~Error:~w~ You're not in a Law Enforcement Faction.", 5000);
    return 1;
}
Reply


Messages In This Thread
GetFactionRank - by Zeppo - 22.03.2014, 19:08
Re: GetFactionRank - by Matess - 22.03.2014, 19:14
Re: GetFactionRank - by Zeppo - 22.03.2014, 19:17
Re: GetFactionRank - by MP2 - 22.03.2014, 19:38
Re: GetFactionRank - by iFarbod - 22.03.2014, 19:43
Re: GetFactionRank - by Zeppo - 23.03.2014, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)