Functions/DarkRP/Server/createMoneyBag

From Official DarkRP Wiki
Revision as of 14:14, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  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

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