Configuration
Config = Config or {}
Config.NetworkedCandies = true -- Deactivate if you want to have candies locally instead of synced(Usefull for AntiCheat purposes)
Config.SpawnInterval = 0.1 -- How long it takes to spawn new halloween candies in minutes
Config.SpawnCount = 10 -- How many candy spawn on each interval "tick"
Config.MinimumSpawnDistance = 35.0 -- The minimum distance between each item
Config.SpawnRadius = 120.0 -- The radius the candy wil spawn in
Config.MaxCandyObjectsInRange = 15 -- The max amount of candy in the current spawn radius
Config.ZombieDamage = 15.0
Config.CandyProps = {
[`reh_Prop_REH_Lantern_PK_01a`] = true,
[`reh_Prop_REH_Lantern_PK_01b`] = true,
[`reh_Prop_REH_Lantern_PK_01c`] = true,
}
Config.HalloweenWeather = true
Config.ZombieWaves = {
maxActive = 2,
candyPerKill = 500,
spawnInterval = 10000,
zombiePeds = {
[`u_m_y_zombie_01`] = true
},
blip = {
sprite = 833,
scale = 1.5,
color = 5,
label = "Zombie-Welle"
},
marker = {
type = 21,
scale = vector3(.75, .75, .75),
rgba = {
r = 0,
g = 197,
b = 255,
a = 100
},
bobUpAndDown = false,
faceCamera = false,
rotate = true,
distance = 50.0,
interactDistance = 2.0
},
networkedPeds = true,
zombieSpeed = 2.0,
waves = {
[1] = {
maxZombies = 5,
time = 60000 -- in ms
},
[2] = {
maxZombies = 10,
time = 60000 -- in ms
},
[3] = {
maxZombies = 15,
time = 60000 -- in ms
},
[4] = {
maxZombies = 20,
time = 60000 -- in ms
}
},
zones = {
{
radius = 75.0,
coords = vector3(2361.8188, 2584.2939, 46.6676)
}
}
}
Config.Shop = {
useNPC = true,
useKeyboard = true,
NPC = {
ped = "u_m_y_zombie_01",
position = vector4(-388.2578, -364.7148, 31.3003, 169.8675),
blip = {
sprite = 833,
scale = 0.8,
color = 0,
label = "Halloween-Shop"
}
},
keyboardKey = "F7",
items = {
{
name = "money",
type = "account",
amount = 10000,
price = 2500
},
{
name = "weapon_pistol",
type = "weapon",
ammo = 100,
price = 5000,
label = "Pistole"
},
{
name = "bread",
type = "item",
amount = 100,
price = 2500,
label = "Brot"
}
}
}
function Config.HelpNotify(message)
exports["rs_hud_v2"]:SendHelpnotify("E", message)
end
---@diagnostic disable-next-line: duplicate-set-field
function Config.NotifyInfo(message)
exports["rs_hud_v2"]:SendNotify("info", "REVOULTION | Halloween", message, 5000)
end
Config = Config or {}
Config.Cooldown = 5000
Config.CandyPerPickup = {
min = 2500,
max = 5000
}
function Config.NotifyError(source, message)
TriggerClientEvent("rs_hud_v2:SendNotify", source, "error", "REVOULTION | Halloween", message, 5000)
end
---@diagnostic disable-next-line: duplicate-set-field
function Config.NotifyInfo(source, message)
TriggerClientEvent("rs_hud_v2:SendNotify", source, "info", "REVOULTION | Halloween", message, 5000)
end
Webhook = {}
Webhook.Settings = {
Color = 33791,
Username = "Revolution X Halloween",
AvatarUrl =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
IconURL =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
Url =
"YOUR_TOKEN"
}
Locale = {
["pickup_candy"] = "Zum aufheben",
["open_shop_input"] = "Um den Shop zu öffnen",
["open_shop_keyboard"] = "Halloween-Shop öffnen",
["cooldown"] = "Bitte warte noch einen Augenblick...",
["received_candy"] = "Du hast %s Süßigkeiten aufgehoben",
["removed_candy"] = "Du hast %s Süßigkeiten ausgegeben",
["candy_currency"] = "Your Candys",
["title_1"] = "HALLOWEEN",
["title_2"] = "Shop",
["description"] = "Hier kannst du deine gesammelten Süßigkeiten gegen Preise eintauschen",
["currency"] = "€",
["not_enough"] = "Du hast nicht genug Süßigkeiten",
["has_weapon_already"] = "Du hast diese Waffe bereits",
["start_zombie_wave"] = "Um eine Zombie-Welle zu starten",
["too_many_waves"] = "Es laufen derzeit woanders schon zu viele Zombie-Wellen, bitte warte.",
["already_running_wave"] = "Diese Zombie-Welle läuft schon",
["new_wave"] = "Du hast die Welle überstanden, die nächte startet jetzt...",
["started_wave"] = "Du hast die Zombie-Wellen gestartet",
["activate-tower"] = "Activate the Tower"
}
:root{
/* Main Colors */
--main-clr: #FFC23F;
--clr1: #9B7729;
--clr2: rgba(255, 173, 46, 0.55);
--shadow-clr1: rgba(255, 194, 63, 0.50);
/* Background Colors */
--bg-clr1: rgba(44, 29, 0, 0.98);
--bg-clr2: rgba(16, 11, 0, 0.98);
--bg-clr3: rgba(255, 194, 63, 0.15);
--bg-clr4: rgba(255, 194, 63, 0.10);
/* Second Colors (Purple) */
--second-clr1: #8F04E4;
/* Third Colors (Green) */
--third-clr1: #39C988;
--third-clr2: rgba(57, 201, 136, 0.15);
}
Last updated