Advanced Presentation System

This page explains how to configure the Config.lua file for the Advanced Presentation System by DevNation. This system shows an animated briefing or legal notice via a scripted cutscene with camera work, animations, and audio.
🧍 Ped Configuration
PedHash
Model hash of the NPC giving the presentation. Use FiveM ped models.
"s_m_m_ciasec_01"
StartingPedPos
The starting position of the presentation NPC.
vector4(436.8885, -991.1823, 30.6896, 250.2339)
StartPres
Position where the presentation event starts or triggers.
vector3(439.1318, -993.3633, 30.6896)
StartingPlayPos
Position where the player stands during the presentation.
vector4(436.2868, -992.5228, 30.6896, 267.4467)
📌 Make sure the ped model exists in the server and coordinates are accessible to players.
🎥 Camera Configuration
CameraPosition
Location of the custom camera during the presentation.
vector3(438.4812, -993.3489, 30.9937)
CameraRotation
Rotation of the camera (pitch, roll, heading).
vector3(0.0, 0.0, 90.0)
🎞️ The camera gives a cinematic view during the presentation. Adjust as needed for your scene.
⏱️ Timing Settings
WaitSpeech
Delay before the speech begins (in ms).
2000
SpeechTime
Total time the full speech plays (in ms).
26000
WaitTillAI
Time delay before AI/NPC animation begins.
2200
WaitTextAnim
Delay before the presentation text animation starts.
5300
🗣️ Speech & Presentation Content
🔊 Full Text Speech
luaCopyEditConfig.Text = "Please pay attention to the following important regulations..."This full text is used for narration, text-to-speech, or full-screen display.
📋 Presentation Bullet Points
Displayed one-by-one during the presentation:
luaCopyEditConfig.Presentation = {
"- Unlawful acts are prohibited.",
"- Maintain public order at all times.",
"- Breaking the law leads to penalties.",
"- Officers have the right to intervene when necessary.",
"- Public safety must be ensured by all citizens.",
"- Legal actions will be taken if regulations are violated.",
"- Respecting law enforcement is mandatory.",
"- Any form of obstruction to justice is punishable.",
"- Vandalism and destruction of property are offenses."
}🎚️ Speech Speed
SpeechSpeed
Controls the animation/text display speed.
0.85
🧩 Additional Notes
Make sure your server has the required animation dictionaries and voice setup if you're using speech or TTS.
Coordinate this system with your intro, jail, or onboarding flows.
This system can be triggered via command or event based on your setup.
💬 Support
Need help or have questions?
👉 Join the support server: DevNation Discord
Last updated
