GivePlayerWeapon
#8

Doesn't really make any difference, I did what you told me to do. Mafia still wont get the guns but Police Class gets them.

Here are all the Classes defined

Код:
// Define classes
#define ClassTruckDriver 1
#define ClassBusDriver 2
#define ClassPilot 3
#define ClassPolice 4
#define ClassMafia 5
#define ClassCourier 6
#define ClassAssistance 7
#define ClassRoadWorker 8
Here are the classes under
PHP код:
public OnPlayerRequestClass(playeridclassid
Код:
		case 11, 12, 13: // Classes that will be police
		{
			// Display the name of the class
            GameTextForPlayer(playerid, TXT_ClassPolice, 3000, 4);
			// Store the class for the player (police)
			APlayerData[playerid][PlayerClass] = ClassPolice;
		}
		case 14, 15, 16: // Classes that will be mafia
		{
			// Display the name of the class
			GameTextForPlayer(playerid, TXT_ClassMafia, 3000, 4);
			// Store the class for the player (mafia)
			APlayerData[playerid][PlayerClass] = ClassMafia;
		}
Reply


Messages In This Thread
GivePlayerWeapon problems [+REP] - by Jhony_Blaze - 08.12.2014, 19:25
Re: GivePlayerWeapon - by Jhony_Blaze - 09.12.2014, 09:55
Re: GivePlayerWeapon - by Threshold - 09.12.2014, 10:48
Re: GivePlayerWeapon - by Jhony_Blaze - 09.12.2014, 11:03
Re: GivePlayerWeapon - by Threshold - 09.12.2014, 11:07
Re: GivePlayerWeapon - by Jhony_Blaze - 09.12.2014, 11:58
Re: GivePlayerWeapon - by Threshold - 09.12.2014, 12:03
Re: GivePlayerWeapon - by Jhony_Blaze - 09.12.2014, 12:15
Re: GivePlayerWeapon - by Jhony_Blaze - 09.12.2014, 14:42
Re: GivePlayerWeapon - by Jhony_Blaze - 10.12.2014, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)