SA-MP Forums Archive
MYSQL tutorial, Please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MYSQL tutorial, Please (/showthread.php?tid=255319)



God father Faction Ranks? - seanny - 15.05.2011

How Do i edit the GF faction ranks

Here is the script

Код:
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


Re: MYSQL tutorial, Please - seanny - 15.05.2011

Lock this!