Functions/DarkRP/Shared/createAmmoType

From Official DarkRP Wiki
Revision as of 14:22, 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.createAmmoType(string name, table tbl)
Description:
Create an ammo type.
Returns: nil
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/createAmmoType]DarkRP.createAmmoType[/url][/b]

Function parameters

  1. name (string)
  2. The name of the ammo.

  3. tbl (table)
  4. Table containing the information for the ammo.


Function return values

This function does not return any value.