โฐ๏ธ FX-GRAVEROBBERY โ
Advanced grave robbery system for RedM with time restrictions, law system, reward system, and full framework compatibility.
๐ฆ INSTALLATION โ
ensure fx-graverobberyโข Place the script inside resources/fx-graverobbery โข Add ensure fx-graverobbery to your server.cfg โข Restart your server
๐ฆ VORP ITEM INSTALL โ
INSERT INTO items (...)
VALUES
('shovel', 'Shovel', ...)โข Required item for grave robbery โข Players must have shovel to start robbery โข Can be disabled from config
โ๏ธ BASIC CONFIG โ
Config.Language = "en"
Config.Webhook = ""โข Language โ system language โข Webhook โ logs robbery events
๐ฎ KEY SYSTEM โ
Config.Keybinds = {
["startrobbery"] = 0x760A9C6F,
["prayanim"] = 0x2CD5343E,
["exit"] = 0x156F7119,
}โข Defines player controls โข startrobbery โ start digging โข prayanim โ play animation โข exit โ cancel action
๐งฑ SHOVEL REQUIREMENT โ
Config.ShovelItem = {item = "shovel", label = "Shovel"}โข Required item to rob graves โข Set to false to disable requirement
โ๏ธ ROBBERY SETTINGS โ
Config.RobberySetting = {
RobberyDelay = 30,
ActiveJobDistance = 300,
ActiveJobs = {
["sheriff"] = 0,
},
}โข RobberyDelay โ cooldown per grave โข ActiveJobDistance โ job proximity requirement โข ActiveJobs โ required law presence
Config.RobberySetting.TimeInterval = true
Config.RobberySetting.Start = 24
Config.RobberySetting.Finish = 5โข Restricts robbery to specific hours โข Example โ only night robbery
Config.RobberySetting.ProgressBarTime = 5โข Digging duration (seconds)
๐จ LAW / ALERT SYSTEM โ
Config.RobberySetting.NotifyChancePercentage = 100
Config.RobberySetting.NotifyRange = 200.0โข Chance to notify law enforcement โข NotifyRange โ distance of alert
Config.AlertBlips = {
blipname = "Grave robbery !",
blipsprite = -2018361632,
}โข Creates map alert for law โข Helps tracking robbery location
๐ REWARD SYSTEM โ
Config.Rewards = {
MaxRewardItemCount = 2,
RewardChance = 100,
}โข MaxRewardItemCount โ max item types โข RewardChance โ chance to receive items
Config.Rewards.Items = {
[1] = {item = "water", count = 4, chance = 100},
[5] = {item = "goldnugget", count = 1, chance = 10},
}โข Defines loot pool โข chance โ drop probability
Config.Rewards.MoneyChance = 50
Config.Rewards.Cash = math.random(10, 50)โข Chance to receive money โข Cash โ reward amount
๐จ VISUAL SYSTEM โ
Config.DrawSetting = {
DrawMarker = {distance = 2},
DrawLight = {distance = 2},
DrawTexture = {distance = 10},
}โข Controls visual indicators โข Marker โ ground indicator โข Light โ light effect โข Texture โ UI marker
๐ซ BLACKLIST ZONE โ
Config.BlacklistZone = {
-- vector3(...)
}โข Prevents robbery in restricted areas โข Example โ towns, churches
โฐ๏ธ GRAVE SYSTEM โ
Config.GraveProps = {
"p_gravestone01x",
"p_gravestone04x",
}โข Defines valid grave props โข Only these props can be robbed
๐ NOTIFY SYSTEM โ
Notify({
text = "Grave Robbery Started",
type = "success"
})โข Framework-based notification system โข Supports VORP / RSG / REDEMRP โข Fully customizable
โ๏ธ SERVER CONFIG โ
SV_Config.Webhook = {
url = "",
logo = "",
banner = "",
}โข Used for logging system โข Sends robbery logs to Discord
โ ๏ธ IMPORTANT NOTES โ
โข Shovel item must exist in database โข ActiveJobs must match your job names โข TimeInterval must be configured properly โข Rewards must have valid items โข GraveProps must match map props
๐จ COMMON MISTAKES โ
โข Missing shovel item โข Wrong job names โข Invalid reward items โข Time restriction blocking robbery โข No graves detected
๐ SUMMARY โ
FX-GraveRobbery provides:
โข Dynamic grave robbery system โข Law enforcement alert system โข Time-based gameplay โข Reward & loot system โข Full framework compatibility
ยฉ Fixitfy Development
