[ESX] Rock am Ring!

ezgif.com-gif-maker (5)

Hello Ladies and Gentleman!
This is it! Rock am Ring for your Server!

About:
Rock am Ring is a great Festival experience wich was even greater this year after 2 years of covid. Some People will never have the chance to feel this experience in real life. So my thought was “how can I share this experience to everyone” and I think Fivem is the right way to share something wonderful like this :slight_smile:

Features:


Ticket-Item (wich teleports you to Rock am Ring)


Entrance Menu (wich let you choose between the stages before you enter)


Ticket-Check (wich kick Players without Ticket)


Configurable Keybinds


if you don’t want the Keybinds (in my case people trigger them without knowing and start Rock am Ring over and over again) remove the:

RegisterKeyMapping('stage1 cam', 'Cam Stage1', 'keyboard', 'NUMPAD1')
RegisterKeyMapping('stage1 publikum', 'Publikum Stage1', 'keyboard', 'NUMPAD4')
RegisterKeyMapping('stage1 startshow1', 'Show Stage1', 'keyboard', 'NUMPAD7')
RegisterKeyMapping('rar_start_the_whole_thing', 'Starte RAR', 'keyboard', 'o')

lines in stage1/2/3.lua


Easy to Setup config (where you can set the videos for each stage)

config.lua in folder stage1/2/3

CFG = {}

CFG.VIDEO_STAGE_3 = "https://www.youtube.com/watch?v=5BMe_UP5R9I"

Commands

/stage1 cam

sets the Playercam to stage1

/stage1 publikum

spawns the crowd at stage1
if you got a slow PC / Server maybe don’t use it… it spawns about 45 peds per stage

/stage1 startshow1

starts the video on stage1

/rar_start_the_whole_thing

like the title says, starts every stage and everything up with delay because you can’t start every video at once

just change eg. /stage1 cam to /stage2 cam and so on…


Installation and depencies:


ESX and

Step 1 (depencies)
  1. install NativeUI
  2. download and install my modified “Nurburgring Nordschleife” Map to remove fences and other collissions between the stages:
    MAP(this link expires after 30 days, write me if it’s gone…)

(credits to: Brent_Peter for [Release] Nurburgring GP and Nordschleife - 16.1 miles of race tracks for FiveM [v1.20])

  1. install Hypnonema

  2. go to your database and add an item called “rar_ticket”

  3. install the “gasoline to light up the magic”
    [RaR].rar (67.6 MB)
    :wink:

Step 2 (installing)
  1. go to your server config and add the resources eg:


ensure [RaR]
ensure NurburgringNordschleife

–and don’t forget to setup NativeUI & Hypnonema (if you don’t already have it)


ensure NativeUI
ensure Hyponema
add_ace identifier.steam:YOUR STEAM ID “command.hypnonema” allow
exec @hypnonema/permissions.cfg

Step 3 (final setup)
  1. Go into your game, open up Hypnonema and go to the “Screens” section
  2. Go and add 6 screens… I know it sucks but… ROCK AM RING!

Name: stage1
Is 3D Rendered TRUE
image
position x: 3176.2
postion y: -7012.5
position z: 2193.5
rotation z: -140
scale x: 0.969999969
scale y: 0.484999985
scale z: -0.1
sound min.dist.: 10
sound max.dist.: 100
sound attenuation: 1


Name: stage2_1
position x: 3008
postion y: -6775
position z: 2201
rotation z: 99.85
scale x: 1.5
scale y: 1
scale z: 1
sound min.dist.: 30
sound max.dist.: 65
sound attenuation: 1


Name: stage2_2
position x: 3012
postion y: -6752
position z: 2201
rotation z: 99.85
scale x: 0.8
scale y: 0.6
scale z: 0.35
sound min.dist.: 10
sound max.dist.: 10
sound attenuation: 10


Name: stage2_3
position x: 3001.3
postion y: -6813.8
position z: 2201
rotation z: 99.85
scale x: 0.8
scale y: 0.6
scale z: 0.35
sound min.dist.: 10
sound max.dist.: 10
sound attenuation: 10


Name: stage3
position x: 3572
postion y: -6480.5
position z: 2226.8
rotation z: 45
scale x: 3
scale y: 1.5
scale z: 0
sound min.dist.: 80
sound max.dist.: 200
sound attenuation: 1


Name: lounge
Is 3D Rendered FALSE
image

RenderTarget Name
cinscreen

Model Name
v_ilev_cin_screen

sound min.dist.: 10
sound max.dist.: 50
sound attenuation: 100

after all of this struggle, a restart of your server and started all the stages you should’ve something like this:
Showcase video:

Video

THIS SCRIPT IS FREE AND STAYS FREE

Please Checkout my other scripst and if you like Rock am Ring feel free to donate this work

RaR Donation

TV on Car [FREE]
Airstrike [FREE]
Helicopter Autopilot [PAID]
Simple Coord Showing [FREE]
Mikrolai Singleplayer Mission 01 [PAID]

Greetings,
Mikrolai.

Code is accessible Yes
Subscription-based No
Lines (approximately) too much xDDD and could be way smaller!
Requirements ESX for Ticketsystem
Support as good as I can
5 Likes

1 Like

EDIT: Thank you for using the script and contributing on it! :slight_smile:
I already tried to fix it before (because I don’t want errors anywhere) but it didn’t work…
now finally I got it. :slight_smile:
I uploaded the fixed version so just redownload the RaR.rar above.

Fix:
AddEventHandler('onClientResourceStart', function (resourceName)
  if(GetCurrentResourceName() ~= resourceName) then
    return
  end
RegisterKeyMapping('stage1 cam', 'Cam Stage1', 'keyboard', 'NUMPAD1')
RegisterKeyMapping('stage1 publikum', 'Publikum Stage1', 'keyboard', 'NUMPAD4')
RegisterKeyMapping('stage1 startshow1', 'Show Stage1', 'keyboard', 'NUMPAD7')
RegisterKeyMapping('rar_start_the_whole_thing', 'Starte RAR', 'keyboard', 'o')
TriggerServerEvent('register_item_rar')
print("Stage 1 gestartet, Keybindings erstellt & Item registriert")
end)

Greetings,
Mikrolai.

1 Like


:smiley:

1 Like

did u refresh ur resources and restarted your server?
EDIT: it seems like ure the only one running into this issue… :thinking:

does the script start anyway?

I´m stuck at this point. Yes i replace the whole [RaR] folder and restart the server

1 Like

I PM you because it seems to be a unique error
please do me a favour and delete ur error message posts on this thread to keep it overviewable