God Father Faction Ranks Editing
#1

How Do i edit the GF faction ranks?

Here is the script I need help with

Код:
case 1: // police
			{
				switch(PlayerInfo[playerid][pRank])
				{
					case 6: string = "Chief";
					case 5: string = "Deputy Chief";
					case 4: string = "Captain";
					case 3: string = "Sergeant";
					case 2: string = "Senior Officer";
					case 1: string = "Officer";
					default: string = "Cadet";
				}
			}
I want:
12.Chief
11.Deputy Chief
10.Commander
9.Captain II
8.Captain I
7.Sargent II
6.Sargent I
5.Lead Officer
4.Senior Officer
3.Officer II
2.Officer I
1.Cadet
Reply
#2

BUMP - Urgent
Reply
#3

use stock's!

pawn Код:
stock GetPlayerRank(playerid)
{
    static iStr[100];
    if(PlayerInfo[playerid][pRank] == 12) iStr = "Chief";
    if(PlayerInfo[playerid][pRank] == 11) iStr = "Deputy Chief";
    if(PlayerInfo[playerid][pRank] == 10) iStr = "Commander";
    if(PlayerInfo[playerid][pRank] == 9)  iStr = "Captain II";
    if(PlayerInfo[playerid][pRank] == 8)  iStr = "Captain I";
    if(PlayerInfo[playerid][pRank] == 7)  iStr = "Sargent II";
    if(PlayerInfo[playerid][pRank] == 6)  iStr = "Sargent I";
    if(PlayerInfo[playerid][pRank] == 5)  iStr = "Lead Officer";
    if(PlayerInfo[playerid][pRank] == 4)  iStr = "Senior Officer";
    if(PlayerInfo[playerid][pRank] == 3)  iStr = "Officer II";
    if(PlayerInfo[playerid][pRank] == 2)  iStr = "Officer I";
    if(PlayerInfo[playerid][pRank] == 1)  iStr = "Cadet";
    return iStr;
}
Reply
#4

People are still using GF edits? O.o I mean, there is lot of better GM's out there... GF times are old...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)