Config.ThemeParkCanBeOwned=true-- enable this if you want to want to have theme park for sell for players - settings for management can be found in Config.ThemeParkOwnedSettings
Config.ThemeParkControlAttractions=true-- enable this function if you want to control the attractions manually (after enabling this function, the attractions will no longer turn on automatically) - settings for control attractions can be found in Config.ThemeParkControlMachineSettings
Config.ThemeParkPass=false-- -- enable this if you want use theme park pass item, you need create item with name "themeparkpass" in your inventory/framework, also for standalone you need create usable item, example is in server/other.lua
Config.ThemeParkPassTime=10-- time when normal theme park expire when player use it (in minutes)
Config.ThemeParkAttractionFallChance=false-- enable this feature if you want the chance that the player will fall from the attraction, you can set the chance in Config.ThemeParkFallSettings
Config.ThemeParkDisabledByDefault=false-- enable this feature if you want to disable all attractions when the server starts, to enable attractions you have to enable them via the /enablethemepark command which is for administrators. (permissions for this command is in other.lua file)
Config.ThemeParkDisableTicketSystem=false-- enable this feature if you want free entry to all attractions
Config.AttractionsSettings={
gforce={
disable=false,-- enable this if you dont want to use this attraction
usedistance=1.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
exitcoords={coords=vector3(-1640.03,-1075.81,12.15),heading=52.5},-- coordinates for exit the attraction
animcooldown=1000,-- in miliseconds
ticketprice=10,-- price for ticket
speedmodifier=1.0,-- attraction speed, default speed is 1.0
maxrounds=10,-- change this you want more rounds at maximum speed (changing this number to a higher number will change the duration of the attraction)
},
topscan={
disable=false,-- enable this if you dont want to use this attraction
usedistance=1.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
exitcoords={coords=vector3(-1619.91,-1073.14,12.01),heading=345.5},-- coordinates for exit the attraction
animcooldown=1000,-- in miliseconds
ticketprice=10,-- price for ticket
speedmodifier=1.0,-- attraction speed, default speed is 1.0
maxrounds=20,-- change this you want more rounds at maximum speed (changing this number to a higher number will change the duration of the attraction)
normalstyle=true,-- change this if you want different style of top scan (Top Scan starts spinning at a different angle)
},
vortex={
disable=false,-- enable this if you dont want to use this attraction
usedistance=1.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
exitcoords={coords=vector3(-1702.23,-1105.6,12.15),heading=321.5},-- coordinates for exit the attraction
animcooldown=1000,
ticketprice=10,-- price for ticket
speedmodifier=1.0,-- attraction speed, default speed is 1.0
maxrounds=2,-- change this you want more rounds at maximum speed (changing this number to a higher number will change the duration of the attraction)
},
detonator={
disable=false,-- enable this if you dont want to use this attraction
usedistance=1.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
exitcoords={coords=vector3(-1685.04,-1115.26,12.15),heading=352.5},-- coordinates for exit the attraction
ticketprice=10,-- price for ticket
speedmodifier=1.0,-- attraction speed, default speed is 1.0
timeontop=10000,-- in miliseconds (the time that the detonator will wait at the top before going down.)
},
boat={
disable=false,-- enable this if you dont want to use this attraction
usedistance=1.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
exitcoords={coords=vector3(-1660.67,-1115.0,12.04),heading=50.5},-- coordinates for exit the attraction
animcooldown=1000,-- in miliseconds
ticketprice=10,-- price for ticket
speedmodifier=1.0,-- attraction speed, default speed is 1.0
maxrounds=5,-- change this you want more rounds at maximum speed (changing this number to a higher number will change the duration of the attraction)
},
bumpercars={
disable=false,-- enable this if you dont want to use this attraction
bumperdespawncoords={coords=vector3(-1639.6,-1067.51,12.5),heading=230.0},-- coordinates for exit the attraction
buydistance=1.5,-- distance for buy ticket
seatdistance=2.0,-- distance for seat as a passenger.
minminutes=1,-- minimum minutes in bumper cars
maxminutes=10,-- max minutes in bumper cars
priceperminute=10,-- price for ticket per minute
maxplayers=15,-- maximum number of players for bumper cars
bumperusekey="E",-- bumper cars key for seat as a passenger.
bumperleavekey="E",-- bumper cars key for leave bumper cars
disablebumperkeyboard=true,-- turning off the keyboard when driving bumper cars
},
ferris={
disable=false,-- enable this if you dont want to use this attraction
usedistance=2.5,-- distance for use attraction
waitforplayers=20000,-- in miliseconds
ferrisseatanimcooldown=1000,-- in miliseconds
ferrisseatwait=5000,-- in miliseconds
ferrisexitcoords={coords=vector3(-1686.27,-1098.77,12.5),heading=140.0},-- coordinates for exit the attraction
ticketprice=10,-- price for ticket
},
shootingrange={-- If you have some script which block weapons, you can add some bypass to allow weapon_musket to be used withount inventory item use, we also trigger this event when shooting range is started TriggerEvent("rtx_themepark:Shooter:Started", true) and when shooting range ends TriggerEvent("rtx_themepark:Shooter:Started", false), you can create event handler for our event in your script
disable=false,-- enable this if you dont want to use this attraction
usedistance=2.0,-- distance for use attraction
maxtargets=5,-- maximum number of targets
defaultspeed=0.010,-- base speed of targets
maxspeed=0.035,-- max speed of targets
maxpeektargets=50,-- maximum number of target hits
maxmistakes=5,-- maximum number of mistakes before cancellation
timetoshoot=5,-- maximum number of seconds to hit the target
blip=true,-- enable this if you want display blip on map
blipcoords=vector3(-1646.97,-1083.27,12.15),-- location of blip
blipiconid=266,-- icon type
blipdisplay=4,-- icon display
blipcolor=3,-- icon color
blipshortrange=true,-- icon range
blipscale=1.0,-- icon scale
bliptext="Theme Park",-- text of blip
}
Config.ThemeParkFallSettings={
fallchance=10,-- in percentage 1-1000
fallchancecheck=5,-- in seconds (for example it will trigger fall chance every 10 seconds when player is on the attraction)
attractions={
gforce=true,-- enable this if you want to have chance to fall from this attraction
topscan=true,-- enable this if you want to have chance to fall from this attraction
vortex=true,-- enable this if you want to have chance to fall from this attraction
detonator=true,-- enable this if you want to have chance to fall from this attraction
boat=true,-- enable this if you want to have chance to fall from this attraction
rollercoaster=true,-- enable this if you want to have chance to fall from this attraction
prater=true,-- enable this if you want to have chance to fall from this attraction
brakedance=true,-- enable this if you want to have chance to fall from this attraction
slingshot=true,-- enable this if you want to have chance to fall from this attraction
carousel=true,-- enable this if you want to have chance to fall from this attraction
extasy=true,-- enable this if you want to have chance to fall from this attraction
spinride=true,-- enable this if you want to have chance to fall from this attraction
rollercoaster2=true,-- enable this if you want to have chance to fall from this attraction
},
}
Config.ThemeParkOwnedSettings={
enablepermissionsystem=false,-- enable this if you want use permissions system via ace, job, identifier (if you enable this function, theme park can no longer be purchased normally)
themeparkcoords=vector3(-1631.3,-1055.77,13.63),-- coordinates for theme park managment
themeparkprice=10000,-- price of theme park
themeparkdistance=2.0,-- distance for theme park managment
themeparkmaxtransferdistance=2.0,-- maxdistance for transfer theme park
sellmultipler=0.5,-- sell multipler
ticketmultipler=0.5,-- the amount the theme park will receive from the ticket
itemmultipler=0.5,-- the amount the theme park will receive from the item
openmanagmentkey="E",-- key for open managment menu
disablesell=false,-- enable this if you want disable sell function from managment menu
disabletransfer=false,-- enable this if you want disable transfer function from managment menu
acepermissionsforusemanagmentmenu={enable=false,permission="themepark.managment"},-- enable this if you want to use ace permissions
jobpermissionsforusemanagmentmenu={enable=true,jobname="skyline"},-- enable this if you want to use job permissions (you need create job with name themepark or change the job title to something else)
jobpermissionsforusecontrolmenu={enable=true,jobname="skyline"},-- enable this if you want to use job permissions (you need create job with name themepark or change the job title to something else)
standtype="hotdog",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1649.97,-1090.43,12.12),
standtype="balloon",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1647.4,-1093.0,12.08),
standtype="popcorn",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1635.26,-1103.84,12.02),
standtype="cotton",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1616.14,-1056.79,12.07),
standtype="balloon",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1618.93,-1060.0,12.07),
standtype="popcorn",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1623.27,-1066.29,12.07),
standtype="hotdog",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1613.03,-1047.15,12.11),
standtype="cotton",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1667.91,-1145.63,12.01),
standtype="cotton",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1676.21,-1148.22,12.01),
standtype="popcorn",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1683.27,-1149.94,12.01),
standtype="balloon",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1696.45,-1098.79,12.15),
standtype="balloon",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1694.0,-1100.81,12.15),
standtype="hotdog",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1689.2,-1104.85,12.15),
standtype="popcorn",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1682.61,-1109.75,12.15),
standtype="cotton",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1617.53,-1044.0,12.15),
standtype="burger",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1638.56,-1113.89,12.02),
standtype="burger",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1691.91,-1111.48,12.15),
standtype="burger",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1594.92,-1068.34,12.56),
standtype="burger",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1603.84,-1124.47,12.01),
standtype="balloon",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1610.33,-1132.26,12.01),
standtype="popcorn",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(1616.89,-1140.2,12.01),
standtype="cotton",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1651.83,-1145.89,12.56),
standtype="burger",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1603.56,-1164.56,12.56),
standtype="hotdog",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
{
coords=vector3(-1628.93,-1118.66,12.56),
standtype="juice",-- hotdog, popcorn, cotton, balloon, burger, juice
itemprice=5,
},
}
Config.ShootingRangePrizes={
{-- score number
minimumscore=10,-- minimum score
prizetype="money",-- prize type (you need add your types yourself in server/other.lua
prizedata=100,-- prize data example money amount
prizelabel="Money",-- prize label
},
{-- score number
minimumscore=100,-- minimum score
prizetype="money",-- prize type (you need add your types yourself in server/other.lua
prizedata=1000,-- prize data example money amount
prizelabel="Money",-- prize label
},
}
Config.PlayerLoadedEvent={-- load methods of theme park
esx="esx:playerLoaded",
qbcore="QBCore:Client:OnPlayerLoaded",
standalone="playerLoaded",
customevent=true,-- enable this if you dont want load theme park after player loaded to server. (enable this for example for servers with multicharacter)
standaloneevent=false,-- enable this if you dont want load theme park after player loaded to server. (for standalone version)
exports["rtx_notify"]:Notify("Theme Park",text,5000,"info")-- if you get error in this line its because you dont use our notify system buy it here https://rtx.tebex.io/package/5402098 or you can use some other notify system just replace this notify line with your notify system