Guest User

Untitled

a guest
Nov 4th, 2019
950
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.51 KB | None | 0 0
  1. CarePackage.Config = CarePackage.Config or {}
  2.  
  3. -- How high up should the plane fly? In rp_downtown_tits I recommend that you use the default value of 3500
  4. -- Noclip above the map and type getpos in your console, then grab the third number and put it in here if you want the plane to fly at the height you are at
  5. CarePackage.Config.PlaneHeight = 3500
  6. -- How fast should the plane fly? This is units per second
  7. CarePackage.Config.PlaneSpeed = 650
  8. -- How long should it take for the crate to drop from plane and hit the ground?
  9. CarePackage.Config.DropTime = 8
  10.  
  11. -- How long should it take for the crate to unlock after somebody has begun opening it?
  12. CarePackage.Config.OpenTime = 15
  13.  
  14. -- How long time should it take for the crate to despawn in seconds?
  15. CarePackage.Config.DespawnTime = 300
  16. -- If the care package has been opened, how long time should it take till it despawns then?
  17. CarePackage.Config.DespawnTimeOpened = 60
  18.  
  19. -- How many items in a drop? I recommend 3, not higher than 4 due to concerns of users with low resolutions
  20. CarePackage.Config.ItemsPerDrop = 3
  21.  
  22. -- How many seconds before the airdrop drops should it give a warning in chat?
  23. CarePackage.Config.CommencingSeconds = 30
  24.  
  25. -- This is how often the care package should drop.
  26. -- Min is the minimum time in minutes
  27. -- Max is the maximum time in minutes
  28. -- It's randomised every time
  29. CarePackage.Config.SpawnTime = {
  30.     Min = 45,
  31.     Max = 55
  32. }
  33.  
  34. -- The model of the crate
  35. CarePackage.Config.Model = "models/sterling/carepackage_crate.mdl"
  36. -- The plane model
  37. CarePackage.Config.PlaneModel = "models/custom/c17_static.mdl"
  38. -- If your plane height is really low, you might want to lower the volume (0-1 number)
  39. CarePackage.Config.SoundVolume = 1
  40.  
  41. -- The material file that is the "looted" text
  42. CarePackage.Config.LootedMat = Material("xenin/carepackage/looted_english.png", "smooth")
  43. -- Color of the smoke
  44. CarePackage.Config.SmokeColor = Color(230, 58, 64)
  45. -- Theme color for chat messages
  46. CarePackage.Config.ThemeColor = Color(201, 176, 15)
  47. -- String for the theme. Remember a space at the end!
  48. CarePackage.Config.ThemeText = "[Care Package] "
  49. -- If you don't own Xenin Inventory what should the color of an item if not configured be?
  50. CarePackage.Config.DefaultItemColor = Color(125, 125, 125)
  51.  
  52. -- Language
  53. -- By default there is only English but you can add more languages
  54. CarePackage.Config.Language = "English"
  55.  
  56. -- The function to determine if someone is an admin.
  57. CarePackage.Config.IsAdmin = function(ply)
  58.     return ply:GetUserGroup() == "superadmin"
  59. end
Advertisement
Add Comment
Please, Sign In to add comment