CityRP Documentation Repository

core.plugins.billboards.sv.zad_sign_sv

Zeros AdvertKit Sign Server Functions. Server-side billboard sign management functions.

Functions

zad.f.BuyAdvertTime(ply, sign, sliderData)Source ☍

Purchase advert time on a billboard sign. Deducts money from the player and sets up the advert display with a timer.

Parameters

  • plyPlayerThe player purchasing advert time.
  • signEntityThe billboard sign entity.
  • sliderDatatableThe configuration data for the advert.
zad.f.CloseConfig(ply, sign)Source ☍

Close the sign configuration UI for a player.

Parameters

  • plyPlayerThe player to close the config for.
  • signEntityThe billboard sign entity.
zad.f.Entity_CleanUp(ply)Source ☍

Clean up all billboard entities owned by a player. Called when a player disconnects.

Parameters

  • plyPlayerThe player whose entities should be cleaned up.
zad.f.ForceCloseConfig(ply, sign)Source ☍

Force close the sign configuration UI for a player.

Parameters

  • plyPlayerThe player to force close the config for.
  • signEntityThe billboard sign entity (unused but kept for API consistency).
zad.f.OpenConfig(ply, sign)Source ☍

Open the sign configuration UI for a player.

Parameters

  • plyPlayerThe player to open the config for.
  • signEntityThe billboard sign entity.
zad.f.UpdateEntity(sign, sliderData)Source ☍

Update a billboard sign entity with new configuration data.

Parameters

  • signEntityThe billboard sign entity to update.
  • sliderDatatableThe configuration data containing ImageIDs, interval, speed, skin, color, still and mute.