09.12.2014, 12:15
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
Here are the classes under
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
PHP код:
public OnPlayerRequestClass(playerid, classid)
Код:
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; }