PPC_ServerSettings.inc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. //************************************************************************************************************************************
  2. // You may edit these values if you like
  3. //************************************************************************************************************************************
  4. // Default max number of players is set to 500, re-define it to 50
  5. #undef MAX_PLAYERS
  6. #define MAX_PLAYERS 50
  7. // Bank system
  8. new bool:IntrestEnabled = true; // The intrest has been enabled (or disabled when false)
  9. new Float:BankIntrest = 0.001; // The intrest a player receives every hour is by default 0.1% (0.001 means 0.1%)
  10. // Setting this to 1.0 would mean 100%, that would double the player's bank account every hour)
  11. // Set timer-delay for exiting houses (this timer freezes a player when he exits a house, this allows the game to load the environment
  12. // before the player starts to fall, also the player's vehicles assigned to the house he exits from, are respawned by this timer)
  13. new ExitHouseTimer = 1000;
  14. new ExitBusinessTimer = 1000;
  15. // This allows you to toggle the red houses on the map (bought houses appear on the map as red house icons when this is set to "true")
  16. new bool:ShowBoughtHouses = false;
  17. // Define maximum fuel amount (default: 5000) and maximum price for a complete refuel (default: 1000)
  18. // Changing MaxFuel changes how fast a vehicle will run without fuel
  19. // (setting it to 2500 for example, let's vehicles run out of fuel twice as fast)
  20. // RefuelMaxPrice is the price you pay for a total refuel (when the vehicle has no more fuel), the price to pay is calculated
  21. // by the amount of fuel to refuel (pay 50% of RefuelMaxPrice when vehicle has half a fuel-tank left)
  22. new MaxFuel = 5000;
  23. new RefuelMaxPrice = 1000;
  24. // Define housing parameters
  25. #define MAX_HOUSES 2000 // Defines the maximum number of houses that can be created
  26. #define MAX_HOUSESPERPLAYER 2 // Defines the maximum number of houses that any player can own
  27. #define HouseUpgradePercent 100 // Defines the percentage for upgrading a house (house of 10m can be upgraded for 5m when set to 50)
  28. #define ParkRange 150.0 // Defines the range for parking the vehicle around the house (default = 150m)
  29. // Define business parameters
  30. #define MAX_BUSINESS 1000 // Defines the maximum number of businesses that can be created
  31. #define MAX_BUSINESSPERPLAYER 2 // Defines the maximum number of businesses that any player can own
  32. // Defines for the toll-system
  33. #define MAX_TOLLGATES 20
  34. // Defines for spikestrips
  35. #define MAX_SPIKESTRIPS 10 // Defines a maximum of 10 spikestrips
  36. // Defines for the speedcameras
  37. #define MAX_CAMERAS 100
  38. // Defines for police
  39. new bool:PoliceGetsWeapons = false;
  40. // These are the weapons that a police player will get when "PoliceGetsWeapons = true"
  41. // 5 = Baseball Bat
  42. // 24 = Desert Eagle
  43. // 25 = Shotgun
  44. // 28 = Micro SMG
  45. // 30 = AK-47
  46. // 34 = Sniper Rifle
  47. // 38 = Minigun
  48. // 39 = Satchel Charge
  49. // 41 = Spraycan
  50. // 10 = Purple Dildo
  51. // 46 = Parachute
  52. // 40 = Detonator
  53. new APoliceWeapons[12] = {5, 24, 25, 28, 30, 34, 38, 39, 41, 10, 46, 40};
  54. new PoliceWeaponsAmmo = 5000;
  55. // Jailing system variables
  56. new DefaultJailTime = 120; // Set default jailtime to 2 minutes
  57. new DefaultFinePerStar = 1000; // Set the fine for each wanted level (star)
  58. new DefaultWarnTimeBeforeJail = 60; // Allow the wanted player 60 seconds to pull over (always set this value to multiples of 5: 5, 10, 15, 20, ...)
  59. // Courier variables
  60. new Float:CourierJobRange = 1000.0;
  61. new PaymentPerPackage = 500;
  62. // Unclamp price per vehicle
  63. new UnclampPricePerVehicle = 20000;