Dynamic Billboard Advertising
Ads do not appear on the billboards
Section titled โAds do not appear on the billboardsโCheck the start order first. The asset pack must start before the script:
ensure rs_ad_agency_assetsensure rs_ad_agencyThen check the server console for another resource that replaces the level meta (see the next question). Ads are placed on a board when you are within about 250 m of it, so drive closer if a distant board still shows its old face. Staff can run /rsad_audit to tour every board and list any that fail in F8.
Another resource also replaces gta5.meta
Section titled โAnother resource also replaces gta5.metaโrs_ad_agency_assets uses replace_level_meta to add the render slots ads are drawn in. Only one resource on a server can replace the level meta. If another resource also does, the two conflict and one of them stops working. Keep only one of them running.
There are no kiosks on the map
Section titled โThere are no kiosks on the mapโStarter kiosks are placed only once, on the first start with a new database. If they were removed, or AgencyConfig.Kiosk.StarterLocations was emptied before that start, place kiosks yourself:
/rsad_kiosk place [label]Also check that AgencyConfig.Kiosk.Enabled = true and that AgencyConfig.Access.Points is 'kiosk' or 'both'.
I cannot use a kiosk or rep
Section titled โI cannot use a kiosk or repโCheck the interaction mode:
AgencyConfig.Access.Interaction = 'auto' -- key | target | autoAgencyConfig.Access.TargetResource = 'auto' -- auto | ox_target | qb-targetauto uses your target resource when one is running, and the Press E prompt otherwise. With the prompt, stand within 1.6 m of a kiosk or 2.2 m of a rep. A kiosk already in use belongs to that player until they finish; others nearby watch their session live.
Who counts as an admin?
Section titled โWho counts as an admin?โA player is an agency admin if they have the command.rsadagency ACE, the general command ACE, or one of the framework groups in AgencyConfig.Framework (Qbox god / admin, QBCore god / admin, ESX superadmin / admin).
add_ace group.admin command.rsadagency allowIf every player can open the admin panel, check that test mode is off: AgencyConfig.OpenTestAccess = false.
Renting fails or says payment is unavailable
Section titled โRenting fails or says payment is unavailableโ- Make sure Qbox, QBCore, or ESX starts before
rs_ad_agency. - Check that the player has enough money in the configured account (
AgencyConfig.Rental.PaymentAccount,bankby default). - ESX has no crypto account. With
PaymentAccount = 'crypto'on ESX, renting is refused rather than charging another account. - Without a framework, set
AgencyConfig.Rental.AllowUnchargedStandalone = trueto allow free rentals.
How is the rent calculated?
Section titled โHow is the rent calculated?โrent = daily base price ร traffic multiplier -- 1.0 up to 3.0 ร term multiplier -- 1.0, 6.0 or 24.0 ร (1 + extra slides ร 0.25)With the defaults, a quiet board costs $500 for 1 day, $3,000 for 7 days, and $12,000 for 30 days. Busy boards cost more: every 25 views in the last 7 days add 10%, up to 3ร. Change a single boardโs day price in the admin panelโs Boards tab, or the defaults in AgencyConfig.Rental and AgencyConfig.DefaultBasePrice.
My ad has black bars on some boards
Section titled โMy ad has black bars on some boardsโBillboards in the city range from about 2:1 to almost 4:1, and media fits inside its own layer without cropping. Drag the layerโs corners past the edges of the board until no bar shows on any side. Layers can be made larger than the board for exactly this reason, so keep text and logos near the middle of your artwork.
How do I see the ad on the billboard while editing?
Section titled โHow do I see the ad on the billboard while editing?โPress H in the editor to toggle a live preview on the real billboard. TAB shows or hides the editor tools.
How do slides work?
Section titled โHow do slides work?โA rental includes one slide. Up to 5 slides rotate on the board, and each extra slide adds 25% to the rental price. Slides are chosen when renting; adding one later in the editor charges its share for the time left on the rental.
How do I keep a board for the police or for announcements?
Section titled โHow do I keep a board for the police or for announcements?โOpen /adagencyadmin, go to Boards, and open the boardโs reservations. A board can be kept for chosen players or jobs, or dedicated: free and permanent, for example for server announcements or a police board.
How do I remove an inappropriate ad?
Section titled โHow do I remove an inappropriate ad?โIn /adagencyadmin:
- Rentals: clear the ad, or revoke the rental with no refund, a refund for the time left, or a full refund.
- Players: stop a player from renting, and let them back in later.
Will 400+ boards hurt performance?
Section titled โWill 400+ boards hurt performance?โOnly boards near the player render. Unrented boards use pre-baked house ad textures, which cost almost nothing, and a board that leaves the area releases its render slot for the boards ahead. The limits are in Rendering and Performance on the Configuration page; raise them only after testing in a dense area such as Vinewood.
My config.lua change has no effect
Section titled โMy config.lua change has no effectโThe admin panelโs Settings tab saves its changes in the database, and those take priority over config.lua. Open the setting in the panel and press Reset to go back to the file value. Rendering, house ad, model, framework, and keybind settings also need restart rs_ad_agency.
Can I run it alongside Custom Car Stickers?
Section titled โCan I run it alongside Custom Car Stickers?โYes. The two scripts use separate render types, and the billboard renderer never touches the ones Custom Car Stickers uses, so both can run on the same server.
Does it work on custom maps?
Section titled โDoes it work on custom maps?โKiosk and billboard positions assume the standard GTA V map. On a custom map, move or remove the starter kiosks from the admin panelโs Locations tab, and turn off renting in the Boards tab for any board your map changes.
What should I back up before updating?
Section titled โWhat should I back up before updating?โBack up the rs_ad_agency_* database tables together with the rs_ad_agency/data/ads/ folder. Rentals reference both their database records and the stored ad media.
Do I need to import SQL manually?
Section titled โDo I need to import SQL manually?โNo. The resource creates its own SQL tables on the first start. Make sure your oxmysql database user can create tables.