Garry's Mod

Error on line 22.

Submitted by ycb_x_beast_x, , Thread ID: 160542

Thread Closed

RE: Error on line 22.

#2
So at first glance i would just redirect you to the DarkRP Wiki which says that the second argument must be a table, so in your case:

Code:
DarkRP.createShipment("Colt 1991", {
  model = "models/weapons/s_dmgf_co1911.mdl",
  entity = ""m9k_colt1911",
  price = 62000,
  amount = 10,
  separate = false,
  pricesep = nil,
  noship = false,
  allowed = {TEAM_GUN},
  category = "Pistols",
})

For all available fields check this.

Users browsing this thread: 1 Guest(s)