CityRP Documentation Repository

core.plugins.billboards.sv.zad_money_sv

Zeros AdvertKit Money Functions. Server-side money management functions for CityRP2 integration.

Functions

zad.f.GiveMoney(ply, money)Source ☍

Give money to a player.

Parameters

  • plyPlayerThe player to give money to.
  • moneynumberThe amount of money to give.
zad.f.HasMoney(ply, money) → booleanSource ☍

Check if a player has enough money.

Parameters

  • plyPlayerThe player to check.
  • moneynumberThe amount of money required.

Returns

  1. booleanif player can afford the amount, false otherwise.
zad.f.TakeMoney(ply, money)Source ☍

Take money from a player.

Parameters

  • plyPlayerThe player to take money from.
  • moneynumberThe amount of money to take.