Functions/DarkRP/Server/createMoneyBag

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.createMoneyBag(Vector pos, number amount)
Description:
Create a money bag.
Returns: Entity moneybag
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/createMoneyBag]DarkRP.createMoneyBag[/url][/b]

Function parameters[edit]

  1. pos (Vector)
  2. The The position where the money bag is to be spawned.

  3. amount (number)
  4. The amount of money.


Function return values[edit]

  1. moneybag (Entity)
  2. The money bag entity.