Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CarePackage.Config = CarePackage.Config or {}
- -- How high up should the plane fly? In rp_downtown_tits I recommend that you use the default value of 3500
- -- 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
- CarePackage.Config.PlaneHeight = 3500
- -- How fast should the plane fly? This is units per second
- CarePackage.Config.PlaneSpeed = 650
- -- How long should it take for the crate to drop from plane and hit the ground?
- CarePackage.Config.DropTime = 8
- -- How long should it take for the crate to unlock after somebody has begun opening it?
- CarePackage.Config.OpenTime = 15
- -- How long time should it take for the crate to despawn in seconds?
- CarePackage.Config.DespawnTime = 300
- -- If the care package has been opened, how long time should it take till it despawns then?
- CarePackage.Config.DespawnTimeOpened = 60
- -- How many items in a drop? I recommend 3, not higher than 4 due to concerns of users with low resolutions
- CarePackage.Config.ItemsPerDrop = 3
- -- How many seconds before the airdrop drops should it give a warning in chat?
- CarePackage.Config.CommencingSeconds = 30
- -- This is how often the care package should drop.
- -- Min is the minimum time in minutes
- -- Max is the maximum time in minutes
- -- It's randomised every time
- CarePackage.Config.SpawnTime = {
- Min = 45,
- Max = 55
- }
- -- The model of the crate
- CarePackage.Config.Model = "models/sterling/carepackage_crate.mdl"
- -- The plane model
- CarePackage.Config.PlaneModel = "models/custom/c17_static.mdl"
- -- If your plane height is really low, you might want to lower the volume (0-1 number)
- CarePackage.Config.SoundVolume = 1
- -- The material file that is the "looted" text
- CarePackage.Config.LootedMat = Material("xenin/carepackage/looted_english.png", "smooth")
- -- Color of the smoke
- CarePackage.Config.SmokeColor = Color(230, 58, 64)
- -- Theme color for chat messages
- CarePackage.Config.ThemeColor = Color(201, 176, 15)
- -- String for the theme. Remember a space at the end!
- CarePackage.Config.ThemeText = "[Care Package] "
- -- If you don't own Xenin Inventory what should the color of an item if not configured be?
- CarePackage.Config.DefaultItemColor = Color(125, 125, 125)
- -- Language
- -- By default there is only English but you can add more languages
- CarePackage.Config.Language = "English"
- -- The function to determine if someone is an admin.
- CarePackage.Config.IsAdmin = function(ply)
- return ply:GetUserGroup() == "superadmin"
- end
Advertisement
Add Comment
Please, Sign In to add comment