Hello everybody!
I made a Powerup script that is similar to a very popular racing game.
it has the following Features:
Fly Powerup
Greenshell Powerup
Nitro Powerup
Star Powerup
Random Powerup
Sync between players
Installation:
- download the Powerups_DEMO.rar (1.4 MB), extract the Car_Powerups folder into your Resource Folder and make sure to start it in you server config.
- Edit the Config (e.g. coordinates of the Powerups) to your likings.
that should be everything you need to get it work. I only used natives so it should be standalone.
optional installation (for sounds):
Due to Copyright I can’t share the original Soundfiles I own with you.
but here is how you can activate and insert them:
-
goto line 4 in the config.lua and set
CFG.POWERUPSOUNDENABLED = true
-
if you don’t have it go and install PlayCustomSounds by London Studios
-
go into your PlayCustomSounds-master\html\sounds folder and insert your .OGG soundfiles.
nitro.ogg = sound for Nitro Powerup
pickup.ogg = sound for Random Powerup
stern.ogg = sound for Star Powerup
yeah.ogg = sound for Jump / Fly Powerup
This is a Demo and limited to 5 Powerups per type
you can find the premium versions here
you can change almost everything in the:
config.lua
CFG = {}
CFG.POWERUPENABLED = true -- activate / deactivate Powerups -- Schaltet die Powerups ein bzw. aus
CFG.POWERUPSOUNDENABLED = false -- activate / deactivate Powerup Sounds -- Schaltet die Powerupsounds ein bzw. aus
CFG.POWERUPDISTANCE = 3.5 -- pickup distance -- Distanz um das Power-Up einzusammeln
CFG.POWERUPMARKERDISTANCE = 500.0 -- viewdistance -- Distanz aus der man das Power-Up sieht
CFG.POWERUPMARKERACTIVEINTENSITY = 50 -- active Marker visibility -- Wie stark der Marker bei aktivem Powerup angezeigt wird
--[Nitro Power-Up Optionen]--
CFG.NITROPOWERUPDURATION = 10000 -- duration of the Powerup -- Dauer des Power-Ups
CFG.NITROPOWERUPPICKUPDELAY = 10000 -- this one is pretty useless because pickup isn't timebased anymore -- Cooldown bis andere Power-Ups wieder angezeigt werden (falls man keins hat... also eigentlich ĂĽberflĂĽssig....)
CFG.NITROPOWERUPPOWER = 2.5 -- Speed Multiplier
CFG.NITROPOWERUPTOPSPEED = 12.5 -- Maxspeedextender
CFG.NITROPOWERUPMARKER = 21 -- Nitro Power-Up Marker ID
CFG.NITROPOWERUPFONTID = 7 -- UI Font ID
CFG.NITROPOWERUPLABEL = "NITRO!" -- UI Label
CFG.NITROPOWERUPACTIVEMARKER = 20 -- Nitro IS ACTIVE Marker ID
CFG.NITROPOWERUPACTIVEMARKERSIZE = 2.0 -- ACTIVE Marker Size
CFG.NITROPOWERUPACTIVATIONKEY = 29 -- Key to activate (default 29 = "B")
CFG.NITROPOWERUPANIMATION = 'RaceTurbo' -- Nitro animation
CFG.NITROPOWERUPANIMATIONDURATION = 3000 -- Animation duration
--Marker-Color & Text Position--
CFG.NITROPOWERUPMARKERRED = 255 -- RED (0-255)
CFG.NITROPOWERUPMARKERGREEN = 0 -- GREEN (0-255)
CFG.NITROPOWERUPMARKERBLUE = 0 -- BLUE (0-255)
CFG.NITROPOWERUPTEXTX = 0.395 -- Text X-Position
CFG.NITROPOWERUPTEXTY = 0.875 -- Text Y-Position
CFG.NITROPOWERUPTEXTTIMERX = 0.395 -- Timer X-Position
CFG.NITROPOWERUPTEXTTIMERY = 0.825 -- Timer Y-Position
--[Star Power-Up Optionen]--
CFG.STARPOWERUPDURATION = 20000
CFG.STARPOWERUPPICKUPDELAY = 10000
CFG.STARPOWERUPPOWER = 1.5
CFG.STARPOWERUPTOPSPEED = 7.5
CFG.STARPOWERUPMARKER = 42
CFG.STARPOWERUPFONTID = 7
CFG.STARPOWERUPMARKERSIZE = 1.0
CFG.STARPOWERUPLABEL = "STERN!"
CFG.STARPOWERUPACTIVEMARKER = 43
CFG.STARPOWERUPACTIVEMARKERSIZE = 4.0
CFG.STARPOWERUPACTIVATIONKEY = 29
--Marker-Color--
CFG.STARPOWERUPMARKERRED = 255
CFG.STARPOWERUPMARKERGREEN = 255
CFG.STARPOWERUPMARKERBLUE = 0
CFG.STARPOWERUPTEXTX = 0.395
CFG.STARPOWERUPTEXTY = 0.875
CFG.STARPOWERUPTEXTTIMERX = 0.395
CFG.STARPOWERUPTEXTTIMERY = 0.825
--[Fly Power-Up Optionen]--
CFG.FLYPOWERUPDURATION = 20000
CFG.FLYPOWERUPPICKUPDELAY = 10000
CFG.FLYPOWERUPMARKER = 40
CFG.FLYPOWERUPFONTID = 7
CFG.FLYPOWERUPLABEL = "FLYING!"
CFG.FLYPOWERUPACTIVEMARKER = 40
CFG.FLYPOWERUPACTIVEMARKERSIZE = 4.0
CFG.FLYPOWERUPJUMP = true -- true = vehicle jumps by using the Powerup for the first time
CFG.FLYPOWERUPJUMPHEIGHT = 35.0 -- how high the vehicle jump (if CFG.FLYPOWERUPJUMP is set to true)
CFG.FLYPOWERUPGRAVITYREDUCEAMOUNT = 8.5 -- higher value = slower falling
CFG.FLYPOWERUPACTIVATIONKEY = 29 -- Key to activate Parachute (default 29 = "B")
--Marker-Color & Text Position--
CFG.FLYPOWERUPMARKERRED = 0
CFG.FLYPOWERUPMARKERGREEN = 0
CFG.FLYPOWERUPMARKERBLUE = 255
CFG.FLYPOWERUPTEXTX = 0.395
CFG.FLYPOWERUPTEXTY = 0.825
CFG.FLYPOWERUPTEXTTIMERX = 0.395
CFG.FLYPOWERUPTEXTTIMERY = 0.775
--[Greenshell Power-Up Optionen]--
--CFG.GREENSHELLPOWERUPDURATION = 20000 -- using ammocount instead of timecount (CFG.GREENSHELLPOWERUPMINBULLETS & CFG.GREENSHELLPOWERUPMAXBULLETS)
CFG.GREENSHELLPOWERUPPICKUPDELAY = 10000
CFG.GREENSHELLPOWERUPMARKER = 41
CFG.GREENSHELLPOWERUPFONTID = 7
CFG.GREENSHELLPOWERUPLABEL = "GREEN\nSHELL!"
CFG.GREENSHELLPOWERUPACTIVEMARKER = 41
CFG.GREENSHELLPOWERUPRANDOMBULLETS = true -- Random Ammo (1-3)
CFG.GREENSHELLPOWERUPMINBULLETS = 1 -- Minimum Ammo Greenshell
CFG.GREENSHELLPOWERUPMAXBULLETS = 3 -- Maximum Ammo Greenshell
CFG.GREENSHELLPOWERUPFIXBULLETS = 3 -- Set CFG.GREENSHELLPOWERUPRANDOMBULLETS to false if you don't want to use Random Ammo
CFG.GREENSHELLPOWERUPACTIVEMARKERSIZE = 1.0
CFG.GREENSHELLPOWERUPACTIVATIONKEY = 29 -- Key to activate Parachute (default 29 = "B")
--Marker-Color & Text Position--
CFG.GREENSHELLPOWERUPMARKERRED = 0
CFG.GREENSHELLPOWERUPMARKERGREEN = 255
CFG.GREENSHELLPOWERUPMARKERBLUE = 0
CFG.GREENSHELLPOWERUPTEXTX = 0.395
CFG.GREENSHELLPOWERUPTEXTY = 0.825
--[Random Power-Up Optionen]--
CFG.RANDOMPOWERUPDURATIONTOCHOOSE = 5000
CFG.RANDOMPOWERUPPICKUPDELAY = 10000
CFG.RANDOMPOWERUPACTIVEMARKER = 32
CFG.RANDOMPOWERUPACTIVEMARKERSIZE = 1.0
--Marker-Color--
CFG.RANDOMPOWERUPMARKERRED = 0
CFG.RANDOMPOWERUPMARKERGREEN = 0
CFG.RANDOMPOWERUPMARKERBLUE = 0
--EXAMPLE POWER-UP--
--[[
CFG.EXAMPLEPOWERUPMARKER = 28 -- MarkerTypeDebugSphere (https://docs.fivem.net/docs/game-references/markers/)
]]--
powerUps = {
{
name = "Nitro_powerup",
spawnPoints = {
{x = -21.5, y = -3096.0, z = 11.2, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = -21.5, y = -3086.4, z = 11.2, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = -31.6, y = -3169.3, z = 16.17, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
--Rainbow-Road
--{x = 5733.6, y = -10760.3, z = 299.7, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = 5747.4, y = -10856.1, z = 299.7, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = 5730.6, y = -10384.7, z = 294.4, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = 5727.5, y = -10388.0, z = 294.4, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
{x = 5724.1, y = -10391.2, z = 294.3, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE},
--[testmarker]--
--{x = -3462.07, y = -659.2, z = 55.3, id = CFG.NITROPOWERUPMARKER, duration = CFG.NITROPOWERUPPICKUPDELAY, cr = CFG.NITROPOWERUPMARKERRED, cg = CFG.NITROPOWERUPMARKERGREEN, cb = CFG.NITROPOWERUPMARKERBLUE}
}
},
{
name = "Star_powerup",
spawnPoints = {
{x = -112.1, y = -3161.2, z = 17.4, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = -115.0, y = -3182.9, z = 17.1, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = -33.7, y = -3102.9, z = 16.2, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
--Rainbow-Road
{x = 5729.5, y = -10760.3, z = 299.7, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = 5733.4, y = -10760.3, z = 299.7, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = 5725.4, y = -10760.3, z = 299.7, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = 5751.0, y = -10856.6, z = 299.7, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
{x = 5763.6, y = -10471.0, z = 311.3, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
--[testmarker]--
{x = -3462.07, y = -659.2, z = 55.3, id = CFG.STARPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY, cr = CFG.STARPOWERUPMARKERRED, cg = CFG.STARPOWERUPMARKERGREEN, cb = CFG.STARPOWERUPMARKERBLUE},
}
},
{
name = "Fly_powerup",
spawnPoints = {
{x = -144.4, y = -3168.6, z = 17.07, id = CFG.FLYPOWERUPMARKER, duration = CFG.FLYPOWERUPPICKUPDELAY, cr = CFG.FLYPOWERUPMARKERRED, cg = CFG.FLYPOWERUPMARKERGREEN, cb = CFG.FLYPOWERUPMARKERBLUE},
{x = 701.8, y = 961.6, z = 382.2, id = CFG.FLYPOWERUPMARKER, duration = CFG.FLYPOWERUPPICKUPDELAY, cr = CFG.FLYPOWERUPMARKERRED, cg = CFG.FLYPOWERUPMARKERGREEN, cb = CFG.FLYPOWERUPMARKERBLUE},
--[testmarker]--
--{x = -3462.07, y = -659.2, z = 55.3, id = CFG.FLYPOWERUPMARKER, duration = CFG.FLYPOWERUPPICKUPDELAY, cr = CFG.FLYPOWERUPMARKERRED, cg = CFG.FLYPOWERUPMARKERGREEN, cb = CFG.FLYPOWERUPMARKERBLUE},
--{x = -1586.3, y = -1146.5, z = 1.7, id = CFG.FLYPOWERUPMARKER, duration = CFG.FLYPOWERUPPICKUPDELAY, cr = CFG.FLYPOWERUPMARKERRED, cg = CFG.FLYPOWERUPMARKERGREEN, cb = CFG.FLYPOWERUPMARKERBLUE}
}
},
{
name = "Greenshell_powerup",
spawnPoints = {
{x = 702.4, y = 920.8, z = 382.2, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
{x = 719.8, y = 911.6, z = 382.2, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
{x = -30.0, y = -3103.0, z = 15.6, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
--[testmarker]--
--{x = -3462.07, y = -659.2, z = 55.3, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
--Rainbow-Road
{x = 5741.5, y = -10846.25, z = 280.9, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
{x = 5743.8, y = -10855.7, z = 299.7, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
{x = 5759.5, y = -10469.1, z = 311.3, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
{x = 5767.3, y = -10472.5, z = 311.3, id = CFG.GREENSHELLPOWERUPMARKER, duration = CFG.GREENSHELLPOWERUPPICKUPDELAY, cr = CFG.GREENSHELLPOWERUPMARKERRED, cg = CFG.GREENSHELLPOWERUPMARKERGREEN, cb = CFG.GREENSHELLPOWERUPMARKERBLUE},
}
},
{
name = "Random_powerup",
spawnPoints = {
{x = -22.4, y = -3033.8, z = 16.62, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
--[testmarker]--
--{x = -3462.07, y = -659.2, z = 55.3, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
--Rainbow-Road
--{x = 5726.7, y = -10760.3, z = 299.7, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5739.1, y = -10843.5, z = 280.9, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5737.0, y = -10840.3, z = 280.9, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5783.0, y = -10607.0, z = 284.9, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5786.8, y = -10606.4, z = 284.9, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5790.7, y = -10605.7, z = 285.0, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5801.3, y = -10543.3, z = 322.7, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5797.4, y = -10543.6, z = 322.7, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5793.4, y = -10544.0, z = 322.7, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5764.0, y = -10462.5, z = 300.3, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5759.9, y = -10462.3, z = 300.3, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
{x = 5755.4, y = -10461.8, z = 300.3, id = CFG.RANDOMPOWERUPACTIVEMARKER, duration = CFG.RANDOMPOWERUPPICKUPDELAY, cr = CFG.RANDOMPOWERUPMARKERRED, cg = CFG.RANDOMPOWERUPMARKERGREEN, cb = CFG.RANDOMPOWERUPMARKERBLUE},
}
},
--[[hier kommt das EXAMPLE POWER-UP--
{
name = "EXAMPLE_powerup",
spawnPoints = {
{x = 8.35, y = 8.41, z = 8.4, id = CFG.EXAMPLEPOWERUPMARKER, duration = CFG.STARPOWERUPPICKUPDELAY}
}
},
]]-- weitere Power-Ups definieren
}
also please checkout my other scripst:
Rock am Ring [FREE]
TV on Car [FREE]
Airstrike [FREE]
Helicopter Autopilot [PAID]
Simple Coord Showing [FREE]
Mikrolai Singleplayer Mission 01 [PAID]
Code is accessible | No, only config |
Subscription-based | No |
Lines (approximately) | ~700 |
Requirements | PlayCustomSounds if you want Soundeffects |
Support | as good as possible |