05.02.2012, 17:42
// Delete all weapons from the player
ResetPlayerWeapons(playerid);
// Set the missiontext based on the chosen class
switch (APlayerData[playerid][PlayerClass])
{
case ClassTruckDriver: // Truck-driver class
{
format(missiontext, sizeof(missiontext), Trucker_NoJobText); // Preset the missiontext
SetPlayerColor(playerid, ColorClassTruckDriver); // Set the playercolor (chatcolor for the player and color on the map)
}
case ClassBusDriver: // Bus-driver class
THIS ?
ResetPlayerWeapons(playerid);
// Set the missiontext based on the chosen class
switch (APlayerData[playerid][PlayerClass])
{
case ClassTruckDriver: // Truck-driver class
{
format(missiontext, sizeof(missiontext), Trucker_NoJobText); // Preset the missiontext
SetPlayerColor(playerid, ColorClassTruckDriver); // Set the playercolor (chatcolor for the player and color on the map)
}
case ClassBusDriver: // Bus-driver class
THIS ?