Price
UnknownA script by LM-Scripts
Price
Unknown
LM-BusinessAD / Werbung System
Welcome to the Business AD system from LM.
This script enables players on a FiveM server to create advertisements or announcements based on their current job and broadcast them to all players in the game. The script uses the ESX framework to access player job information and manage interactions accordingly.
Features
1. Job-Specific Markers:
The script places markers at specific locations on the map, which are only visible to players with certain jobs. When a player approaches one of these markers, a notification is displayed, informing the player that they can press a key to create an advertisement.
2. Advertisement Menu:
When the player presses the interaction key, a menu opens where they can select from predefined messages or enter a custom message.
The advertisement is then sent to all players on the server.
A cooldown function is implemented to prevent players from sending ads too frequently.
3. Server-Side Notification:
The server script receives the advertisements and broadcasts them to all connected clients, allowing every player to see the message in the game.
Use:
This script is ideal for roleplay servers where specific jobs, such as taxi drivers, mechanics, or police officers, need to communicate their services or status updates to all players on the server. The use of markers makes the interaction intuitive for the player, and the cooldown system prevents spam, ensuring orderly gameplay.
Configuration Options:
JobsWithMarkers: Defines which jobs have markers at which locations and what messages can be sent.
MarkerConfig: Contains settings for the appearance of the markers (type, color, visibility range).
JobMessages: Contains predefined messages for each job.
AdMenuLabels: Defines the labels in the advertisement menu (e.g., “open”, “closed”, etc.).
HelpNotificationText: The text displayed when a player is near a marker.
RequirementsSee what others are saying about this script.
Share your experience and help others.