CityRP Documentation Repository

ITEM

Item metatable. The ITEM metatable is a bit weird, having some quirks. Typically, functions which relate to generating the items / setting data (New, SetDescription) are in UpperCamelCase. However, functions which relate to the operation of the item (canUse, onDrop), are in lowerCamelCase.

Functions

SharedITEM:AddMetaField(field, definition) → ITEMSource ☍

Add or update a metadata field definition.

Parameters

  • fieldstringThe metadata field's key.
  • definitionanyThe field's definition (a type string or definition table).

Returns

  1. ITEMThe item, for chaining.
SharedITEM:AutoFunction(name, key) → fun(data: any):ITEMSource ☍

Creates an automatically named setter function. It also returns a single param function, which sets a default value and returns the item.

local setDefault = ITEM:AutoFunction("SpecialValue", "internal_flag")
-- This creates a function, ITEM:SetSpecialValue().
-- Calling this function sets a value on ITEM.internal_flag.
-- Calling setDefault, sets the value now, returning the item. This is useful for chaining.
ITEM:AutoFunction("SomeValue", "this_defaults_to_false")(false)

Parameters

  • namestringFunction key (resolves to Set<Name>).
  • keystringInternal key to set.

Returns

  1. fun(data: any):ITEMSets the value immediately and returns the item, for chaining.
SharedITEM:CanDestroy(func) → ITEMSource ☍

Sets the canDestroy function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player, amt: integer): boolean, string? Function to set as the canDestroy function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanDrop(func) → ITEMSource ☍

Sets the canDrop function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player, pos: Vector, amt: integer): boolean, string? Function to set as the canDrop function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanGive(func) → ITEMSource ☍

Sets the canGive function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player, to: Player, amt: integer): boolean, string? Function to set as the canGive function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanPickup(func) → ITEMSource ☍

Sets the canPickup function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player): boolean, string? Function to set as the canPickup function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanPlace(func) → ITEMSource ☍

Sets the canPlace function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player, pos: Vector, amt: integer): boolean, string? Function to set as the canPlace function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanRemove(func) → ITEMSource ☍

Sets the canRemove function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player): boolean, string? Function to set as the canRemove function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanSell(func) → ITEMSource ☍

Sets the canSell function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player, amt: integer): boolean, string? Function to set as the canSell function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:CanUse(func) → ITEMSource ☍

Sets the canUse function for this item.

Parameters

  • funcfun(self: any)ITEM, ply: Player): boolean, string? Function to set as the canUse function. Defaults to a function that always returns true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:Clone() → ITEMSource ☍

Clone an item. Returns a new ITEM, with base set to the first item.

Returns

  1. ITEMThe cloned item.
SharedITEM.Dress:canDestroy(ply, amt) → boolean, string|nilSource ☍

canDestroy hook/override for this item base.

Parameters

Returns

  1. 1boolean
  2. 2string|nil
SharedITEM.Dress:canDrop(ply, pos, amt) → boolean, string|nilSource ☍

canDrop hook/override for this item base.

Parameters

Returns

  1. 1boolean
  2. 2string|nil
SharedITEM.Dress:canGive(ply, amt, to) → boolean, string|nilSource ☍

canGive hook/override for this item base.

Parameters

Returns

  1. 1boolean
  2. 2string|nil
SharedITEM.Dress:onDestroy(ply)Source ☍

onDestroy hook/override for this item base.

Parameters

SharedITEM.Dress:onDrop(ply, pos)Source ☍

onDrop hook/override for this item base.

Parameters

SharedITEM.Dress:onGive(ply, amt, to)Source ☍

onGive hook/override for this item base.

Parameters

SharedITEM.Dress:onRemove(ply) → booleanSource ☍

onRemove hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.Dress:onUse(ply) → booleanSource ☍

onUse hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.Dress:postRemove(ply)Source ☍

postRemove hook/override for this item base.

Parameters

SharedITEM.Dress:postUse(ply)Source ☍

postUse hook/override for this item base.

Parameters

SharedITEM.Dress:preRemove(ply) → booleanSource ☍

preRemove hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.Dress:preUse(ply, old) → booleanSource ☍

preUse hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.Dress:SetEmotes(on, off) → ITEMSource ☍

Set on/off emotes.

Parameters

  • onstringEquip Emote.
  • offstringDequip Emote.

Returns

  1. ITEM
SharedITEM.Dress:uponLoad()Source ☍

uponLoad hook/override for this item base.

SharedITEM:Merge(data) → ITEMSource ☍

Merge a table of data into the item.

Parameters

  • datatable?Key/value pairs of data to merge into the item.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:MetaContext(meta) → CityRPItemMetaContext|nilSource ☍

Build a metadata context for item hooks.

Parameters

  • metaanyThe raw metadata to wrap.

Returns

  1. CityRPItemMetaContext|nilThe metadata context, or nil if the itemmeta library isn't loaded.
SharedITEM:New(base, data) → ITEMSource ☍

Create a new item. The overloads below resolve on the literal string only - passing a variable falls back to the plain ITEM return. Every registered base has an entry; keep this list in step with core/items/base/.

Parameters

  • base(string|table)?Unique ID of the item to inherit from, or a data table to merge (if data holds the base ID instead).
  • data(string|table)?Data table to merge into the item, or the unique ID of the item to inherit from (if base holds a data table instead).

Returns

  1. ITEMThe newly created item.
SharedITEM:OnDestroy(func) → ITEMSource ☍

Sets the onDestroy function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player, amt: integer)Function to set as the onDestroy function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnDrop(func) → ITEMSource ☍

Sets the onDrop function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player, pos: Vector, amt: integer)Function to set as the onDrop function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnGive(func) → ITEMSource ☍

Sets the onGive function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player, to: Player, amt: integer)Function to set as the onGive function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnPickup(func) → ITEMSource ☍

Sets the onPickup function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player)Function to set as the onPickup function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnPlace(func) → ITEMSource ☍

Sets the onPlace function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player, pos: Vector, amt: integer)Function to set as the onPlace function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnRemove(func) → ITEMSource ☍

Sets the onRemove function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player)Function to set as the onRemove function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnSell(func) → ITEMSource ☍

Sets the onSell function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player, amt: integer)Function to set as the onSell function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:OnUse(func) → ITEMSource ☍

Sets the onUse function for this item.

Parameters

  • funcfun(self: ITEM, ply: Player)Function to set as the onUse function.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:Register(id) → boolean|nilSource ☍

Register an item. This must be the last call in an item chain, as it does processing on the item.

Parameters

  • idstring?Unique ID to set, not required if set prior.

Returns

  1. boolean|nilTrue on success, false on failure, from cityrp.item.register.
SharedITEM:RemoveMetaField(field) → ITEMSource ☍

Mark a metadata field as removed. Removed fields are silently dropped when metadata is normalized.

Parameters

  • fieldstringThe metadata field's key.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:Replaced(by, meta) → ITEMSource ☍

Sets if a item is replaced; it converts into the replacement whenever it reaches an inventory. If called with no args, replaced flag is cleared.

Parameters

  • bystring?Unique ID of the replacement item.
  • metastring?Meta given to the replacement, such as colour=Red. Without it, the stack keeps its own.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:Replacement(new, old, meta) → boolean|nilSource ☍

Create a simple replacement item. The new item must already be registered before this call.

Parameters

  • newstringUnique ID of the replacement item.
  • oldstringUnique ID of the old item.
  • metastring?Meta given to the replacement, as for ITEM:Replaced.

Returns

  1. boolean|nilTrue on success, false on failure, from cityrp.item.register.
SharedITEM:SetBodygroups(bodygroups) → ITEMSource ☍

Sets the bodygroups the item's model is shown with, on the ground and in its icon. An item whose bodygroups depend on its meta overrides ITEM:GetMetaBodygroups instead.

Parameters

  • bodygroupstable<integer, integer>Bodygroup values keyed by bodygroup index.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetColor(color) → ITEMSource ☍

Sets the colour the item's model is tinted with, to match whatever its entity does to itself in the world. Items whose entity leaves its model alone don't need to set this.

Parameters

  • colortableThe colour to tint the model with.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetData(name, value) → ITEMSource ☍

Set a single key on the item.

Parameters

  • namestringKey to set.
  • valueanyValue to set.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetMaterial(material) → ITEMSource ☍

Sets the material override the item's model renders with, to match whatever its entity does to itself in the world.

Parameters

  • materialstringThe material path to override the model with.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetMetaFieldOrder(order) → ITEMSource ☍

Set preferred metadata field display order.

Parameters

  • ordertable<number, string>The field keys, in the order they should be displayed.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetMetaSchema(schema) → ITEMSource ☍

Set metadata schema for this item.

Parameters

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetModel(model, skin, autoStore) → ITEMSource ☍

Sets the model of the item. If model is true, the model and skin will be pulled from the store model. If autoStore is true, model and skin will be pushed to the store model.

model:
    | true

Parameters

  • modelstring|trueModel path, or true to pull from the store model.
  • skinintegerSkin index.
  • autoStoreboolean?Whether this should also automatically set the store models.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetName(name, plural) → ITEMSource ☍

Sets the name of an item. If plural is undefined, defaults to "<name>s". If plural is true, it's set to "<name>".

plural:
    | false

Parameters

  • namestringNew name.
  • plural(string|false)?The plural form. Defaults to "<name>s" if omitted, or "<name>" if true.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetPlural(name) → ITEMSource ☍

Sets the item's plural. If nil/false, item's name + s is used. If true, item's name is used. Otherwise passed name is used.

name:
    | true

Parameters

  • name(string|true)?The plural to set, true to use the item's name, or omitted for "<name>s".

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetSkin(skin, autoStore) → ITEMSource ☍

Sets the skin of the item. If skin is true, it is pulled from the store skin.

skin:
    | true

Parameters

  • skininteger|trueSkin index, or true to pull from the store skin.
  • autoStoreboolean?Whether the skin should also be pushed to the store skin.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetStore(val) → ITEMSource ☍

Set if the item is in store, and its batch amount. If boolean, store is directly set. If 0, store is set to false. Otherwise store is set true and the value is used as the batch amount.

Parameters

  • valboolean|integerStore setting, or batch amount (0 disables the store).

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetStoreModel(model, skin) → ITEMSource ☍

Sets the store model of the item. If model is true, the model and skin will be pulled from the regular model.

model:
    | true

Parameters

  • modelstring|trueModel path, or true to pull from the regular model.
  • skinintegerSkin index.

Returns

  1. ITEMThe item, for chaining.
SharedITEM:SetStoreSkin(skin, autoStore) → ITEMSource ☍

Sets the store skin of the item. If skin is true, it is pulled from the item skin.

skin:
    | true

Parameters

  • skininteger|trueSkin index, or true to pull from the item skin.
  • autoStoreboolean?Whether the skin should also be pushed to the item skin.

Returns

  1. ITEMThe item, for chaining.
SharedITEM.SuitTie:AddModel(model, data) → ITEM.ModelBodygroupSource ☍

Add a model to the internal register.

Parameters

  • modelstringModel path to add.
  • dataDatato set for the model.

Returns

  1. ITEM.ModelBodygroup
SharedITEM.SuitTie:GetModel(model) → anySource ☍

Get a model's stored data.

Parameters

  • modelstringModel path.

Returns

  1. any
SharedITEM.SuitTie:onDrop(ply, pos)Source ☍

onDrop hook/override for this item base.

Parameters

SharedITEM.SuitTie:onGive(ply, to, amt)Source ☍

onGive hook/override for this item base.

Parameters

SharedITEM.SuitTie:onRemove(ply) → booleanSource ☍

onRemove hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.SwatColorTape:AddModel(model, data) → ITEM.ModelBodygroupSource ☍

Add a model to the internal register.

Parameters

  • modelstringModel path to add.
  • dataDatato set for the model.

Returns

  1. ITEM.ModelBodygroup
SharedITEM.SwatColorTape:GetModel(model) → anySource ☍

Get a model's stored data.

Parameters

  • modelstringModel path.

Returns

  1. any
SharedITEM.SwatColorTape:onDrop(ply, pos)Source ☍

onDrop hook/override for this item base.

Parameters

SharedITEM.SwatColorTape:onGive(ply, to, amt)Source ☍

onGive hook/override for this item base.

Parameters

SharedITEM.SwatColorTape:onRemove(ply) → booleanSource ☍

onRemove hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.SwatID:AddModel(model, data) → ITEM.ModelBodygroupSource ☍

Add a model to the internal register.

Parameters

  • modelstringModel path to add.
  • dataDatato set for the model.

Returns

  1. ITEM.ModelBodygroup
SharedITEM.SwatID:GetModel(model) → anySource ☍

Get a model's stored data.

Parameters

  • modelstringModel path.

Returns

  1. any
SharedITEM.SwatID:onDrop(ply, pos)Source ☍

onDrop hook/override for this item base.

Parameters

SharedITEM.SwatID:onGive(ply, to, amt)Source ☍

onGive hook/override for this item base.

Parameters

SharedITEM.SwatID:onRemove(ply) → booleanSource ☍

onRemove hook/override for this item base.

Parameters

Returns

  1. boolean
SharedITEM.SwatID:onUse(ply) → booleanSource ☍

onUse hook/override for this item base.

Parameters

Returns

  1. boolean

Classes

SharedITEM.police_laptopSource ☍

Fields

SharedITEM.__indexSource ☍

The lookup index for the item metatable.

SharedITEM.batchSource ☍

Number of items created per manufacture press.

SharedITEM.batchSource ☍
SharedITEM.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.bodygroupsSource ☍
SharedITEM.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.canDestroySource ☍

Checks if a item can be destroyed. Defaults to always allowing destruction. Called as a hook when a player attempts to destroy the item.

SharedITEM.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.canDropSource ☍

Checks if a item can be dropped. Defaults to always allowing the drop. Called as a hook when a player attempts to drop the item.

SharedITEM.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.canGiveSource ☍

Checks if a item can be given. Defaults to always allowing the give. Called as a hook when a player attempts to give the item to another.

SharedITEM.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.canPickupSource ☍

Checks if a item can be picked up. Defaults to always allowing the pickup. Called as a hook when a player attempts to pick up the item.

SharedITEM.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.canPlaceSource ☍

Checks if a item can be placed. Defaults to always allowing the placement. Called as a hook when a player attempts to place the item.

SharedITEM.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.canRemoveSource ☍

Checks if a item can be removed. Defaults to always allowing removal. Called as a hook when the item is about to be removed.

SharedITEM.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.canSellSource ☍

Checks if a item can be sold. Defaults to always allowing the sale. Called as a hook when a player attempts to sell the item.

SharedITEM.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.canUseSource ☍

Checks if a item can be used. Defaults to always allowing use. Called as a hook when a player attempts to use the item.

SharedITEM.categorySource ☍

Inventory / market category.

SharedITEM.colorSource ☍
SharedITEM.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.descriptionSource ☍

Description of the item.

SharedITEM.Dress.batchSource ☍

Number of items created per manufacture press.

SharedITEM.Dress.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.Dress.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.Dress.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.Dress.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.Dress.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.Dress.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.Dress.categorySource ☍

Inventory / market category.

SharedITEM.Dress.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.Dress.descriptionSource ☍

Description of the item.

SharedITEM.Dress.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.Dress.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.Dress.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.Dress.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.Dress.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.Dress.nomembershipSource ☍

Whether the clothing is available without membership. Set by SetNonMember.

SharedITEM.Dress.off_descSource ☍
SharedITEM.Dress.on_descSource ☍
SharedITEM.Dress.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.Dress.pluralSource ☍
SharedITEM.Dress.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.Dress.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.Dress.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.Dress.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.Dress.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.Dress.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.Dress.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.Dress.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.Dress.SetCatSource ☍

Alias of SetCategory.

SharedITEM.Dress.SetCategorySource ☍

Sets the item's category.

SharedITEM.Dress.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.Dress.SetCostSource ☍

Sets the market cost.

SharedITEM.Dress.SetDescSource ☍

Alias of SetDescription.

SharedITEM.Dress.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.Dress.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.Dress.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.Dress.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.Dress.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.Dress.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.Dress.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.Dress.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.Dress.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.Dress.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.Dress.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.Dress.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.Dress.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.Dress.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.Dress.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.Dress.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.Dress.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.Dress.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.Dress.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.Dress.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.Dress.SetPriceSource ☍

Alias of SetCost.

SharedITEM.Dress.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.Dress.SetREPSource ☍

Alias of SetREPs.

SharedITEM.Dress.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.Dress.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.Dress.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.Dress.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.Dress.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.Dress.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.Dress.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.Dress.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.Dress.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.Dress.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.Dress.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.Dress.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.Dress.sizeSource ☍

The inventory space used per item.

SharedITEM.Dress.skinSource ☍

Skin used in the F1 menu.

SharedITEM.Dress.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.Dress.storebgsSource ☍

Bodygroups applied to the store preview model.

SharedITEM.Dress.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.Dress.togglemodelSource ☍

Alternate model this outfit toggles to when used again.

SharedITEM.Dress.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.HealthKit.batchSource ☍

Number of items created per manufacture press.

SharedITEM.HealthKit.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.HealthKit.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.HealthKit.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.HealthKit.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.HealthKit.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.HealthKit.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.HealthKit.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.HealthKit.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.HealthKit.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.HealthKit.categorySource ☍

Inventory / market category.

SharedITEM.HealthKit.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.HealthKit.descriptionSource ☍

Description of the item.

SharedITEM.HealthKit.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.HealthKit.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.HealthKit.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.HealthKit.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.HealthKit.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.HealthKit.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.HealthKit.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.HealthKit.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.HealthKit.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.HealthKit.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.HealthKit.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.HealthKit.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.HealthKit.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.HealthKit.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.HealthKit.SetCatSource ☍

Alias of SetCategory.

SharedITEM.HealthKit.SetCategorySource ☍

Sets the item's category.

SharedITEM.HealthKit.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.HealthKit.SetCostSource ☍

Sets the market cost.

SharedITEM.HealthKit.SetDescSource ☍

Alias of SetDescription.

SharedITEM.HealthKit.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.HealthKit.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.HealthKit.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.HealthKit.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.HealthKit.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.HealthKit.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.HealthKit.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.HealthKit.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.HealthKit.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.HealthKit.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.HealthKit.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.HealthKit.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.HealthKit.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.HealthKit.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.HealthKit.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.HealthKit.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.HealthKit.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.HealthKit.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.HealthKit.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.HealthKit.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.HealthKit.SetPriceSource ☍

Alias of SetCost.

SharedITEM.HealthKit.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.HealthKit.SetREPSource ☍

Alias of SetREPs.

SharedITEM.HealthKit.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.HealthKit.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.HealthKit.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.HealthKit.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.HealthKit.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.HealthKit.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.HealthKit.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.HealthKit.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.HealthKit.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.HealthKit.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.HealthKit.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.HealthKit.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.HealthKit.sizeSource ☍

The inventory space used per item.

SharedITEM.HealthKit.skinSource ☍

Skin used in the F1 menu.

SharedITEM.HealthKit.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.HealthKit.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.HealthKit.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.HealthVial.batchSource ☍

Number of items created per manufacture press.

SharedITEM.HealthVial.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.HealthVial.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.HealthVial.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.HealthVial.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.HealthVial.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.HealthVial.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.HealthVial.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.HealthVial.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.HealthVial.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.HealthVial.categorySource ☍

Inventory / market category.

SharedITEM.HealthVial.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.HealthVial.descriptionSource ☍

Description of the item.

SharedITEM.HealthVial.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.HealthVial.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.HealthVial.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.HealthVial.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.HealthVial.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.HealthVial.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.HealthVial.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.HealthVial.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.HealthVial.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.HealthVial.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.HealthVial.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.HealthVial.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.HealthVial.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.HealthVial.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.HealthVial.SetCatSource ☍

Alias of SetCategory.

SharedITEM.HealthVial.SetCategorySource ☍

Sets the item's category.

SharedITEM.HealthVial.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.HealthVial.SetCostSource ☍

Sets the market cost.

SharedITEM.HealthVial.SetDescSource ☍

Alias of SetDescription.

SharedITEM.HealthVial.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.HealthVial.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.HealthVial.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.HealthVial.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.HealthVial.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.HealthVial.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.HealthVial.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.HealthVial.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.HealthVial.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.HealthVial.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.HealthVial.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.HealthVial.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.HealthVial.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.HealthVial.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.HealthVial.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.HealthVial.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.HealthVial.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.HealthVial.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.HealthVial.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.HealthVial.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.HealthVial.SetPriceSource ☍

Alias of SetCost.

SharedITEM.HealthVial.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.HealthVial.SetREPSource ☍

Alias of SetREPs.

SharedITEM.HealthVial.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.HealthVial.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.HealthVial.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.HealthVial.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.HealthVial.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.HealthVial.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.HealthVial.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.HealthVial.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.HealthVial.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.HealthVial.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.HealthVial.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.HealthVial.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.HealthVial.sizeSource ☍

The inventory space used per item.

SharedITEM.HealthVial.skinSource ☍

Skin used in the F1 menu.

SharedITEM.HealthVial.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.HealthVial.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.HealthVial.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.materialSource ☍
SharedITEM.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.metaSchemaSource ☍
SharedITEM.Meth.batchSource ☍

Number of items created per manufacture press.

SharedITEM.Meth.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.Meth.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.Meth.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.Meth.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.Meth.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.Meth.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.Meth.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.Meth.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.Meth.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.Meth.categorySource ☍

Inventory / market category.

SharedITEM.Meth.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.Meth.descriptionSource ☍

Description of the item.

SharedITEM.Meth.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.Meth.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.Meth.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.Meth.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.Meth.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.Meth.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.Meth.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.Meth.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.Meth.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.Meth.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.Meth.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.Meth.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.Meth.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.Meth.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.Meth.SetCatSource ☍

Alias of SetCategory.

SharedITEM.Meth.SetCategorySource ☍

Sets the item's category.

SharedITEM.Meth.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.Meth.SetCostSource ☍

Sets the market cost.

SharedITEM.Meth.SetDescSource ☍

Alias of SetDescription.

SharedITEM.Meth.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.Meth.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.Meth.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.Meth.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.Meth.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.Meth.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.Meth.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.Meth.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.Meth.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.Meth.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.Meth.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.Meth.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.Meth.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.Meth.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.Meth.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.Meth.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.Meth.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.Meth.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.Meth.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.Meth.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.Meth.SetPriceSource ☍

Alias of SetCost.

SharedITEM.Meth.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.Meth.SetREPSource ☍

Alias of SetREPs.

SharedITEM.Meth.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.Meth.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.Meth.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.Meth.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.Meth.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.Meth.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.Meth.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.Meth.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.Meth.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.Meth.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.Meth.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.Meth.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.Meth.sizeSource ☍

The inventory space used per item.

SharedITEM.Meth.skinSource ☍

Skin used in the F1 menu.

SharedITEM.Meth.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.Meth.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.Meth.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.modelSource ☍
SharedITEM.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.nameSource ☍
SharedITEM.onDestroySource ☍
SharedITEM.onDropSource ☍
SharedITEM.onGiveSource ☍
SharedITEM.onPickupSource ☍
SharedITEM.onPlaceSource ☍
SharedITEM.onRemoveSource ☍
SharedITEM.onSellSource ☍
SharedITEM.onUseSource ☍
SharedITEM.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.pluralSource ☍
SharedITEM.PremiumToken.batchSource ☍

Number of items created per manufacture press.

SharedITEM.PremiumToken.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.PremiumToken.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.PremiumToken.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.PremiumToken.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.PremiumToken.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.PremiumToken.categorySource ☍

Inventory / market category.

SharedITEM.PremiumToken.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.PremiumToken.descriptionSource ☍

Description of the item.

SharedITEM.PremiumToken.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.PremiumToken.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.PremiumToken.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.PremiumToken.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.PremiumToken.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.PremiumToken.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.PremiumToken.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.PremiumToken.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.PremiumToken.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.PremiumToken.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.PremiumToken.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.PremiumToken.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.PremiumToken.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.PremiumToken.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.PremiumToken.SetCatSource ☍

Alias of SetCategory.

SharedITEM.PremiumToken.SetCategorySource ☍

Sets the item's category.

SharedITEM.PremiumToken.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.PremiumToken.SetCostSource ☍

Sets the market cost.

SharedITEM.PremiumToken.SetDescSource ☍

Alias of SetDescription.

SharedITEM.PremiumToken.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.PremiumToken.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.PremiumToken.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.PremiumToken.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.PremiumToken.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.PremiumToken.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.PremiumToken.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.PremiumToken.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.PremiumToken.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.PremiumToken.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.PremiumToken.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.PremiumToken.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.PremiumToken.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.PremiumToken.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.PremiumToken.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.PremiumToken.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.PremiumToken.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.PremiumToken.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.PremiumToken.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.PremiumToken.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.PremiumToken.SetPriceSource ☍

Alias of SetCost.

SharedITEM.PremiumToken.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.PremiumToken.SetREPSource ☍

Alias of SetREPs.

SharedITEM.PremiumToken.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.PremiumToken.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.PremiumToken.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.PremiumToken.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.PremiumToken.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.PremiumToken.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.PremiumToken.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.PremiumToken.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.PremiumToken.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.PremiumToken.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.PremiumToken.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.PremiumToken.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.PremiumToken.sizeSource ☍

The inventory space used per item.

SharedITEM.PremiumToken.skinSource ☍

Skin used in the F1 menu.

SharedITEM.PremiumToken.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.PremiumToken.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.PremiumToken.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.replacedSource ☍
SharedITEM.replacedidSource ☍
SharedITEM.replacedmetaSource ☍
SharedITEM.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.SetCatSource ☍

Alias of SetCategory.

SharedITEM.SetCategorySource ☍

Sets the item's category.

SharedITEM.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.SetCostSource ☍

Sets the market cost.

SharedITEM.SetDescSource ☍

Alias of SetDescription.

SharedITEM.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.SetPriceSource ☍

Alias of SetCost.

SharedITEM.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.SetREPSource ☍

Alias of SetREPs.

SharedITEM.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.sizeSource ☍

The inventory space used per item.

SharedITEM.skinSource ☍

Skin used in the F1 menu.

SharedITEM.skinSource ☍
SharedITEM.Steroids.batchSource ☍

Number of items created per manufacture press.

SharedITEM.Steroids.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.Steroids.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.Steroids.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.Steroids.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.Steroids.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.Steroids.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.Steroids.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.Steroids.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.Steroids.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.Steroids.categorySource ☍

Inventory / market category.

SharedITEM.Steroids.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.Steroids.descriptionSource ☍

Description of the item.

SharedITEM.Steroids.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.Steroids.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.Steroids.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.Steroids.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.Steroids.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.Steroids.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.Steroids.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.Steroids.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.Steroids.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.Steroids.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.Steroids.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.Steroids.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.Steroids.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.Steroids.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.Steroids.SetCatSource ☍

Alias of SetCategory.

SharedITEM.Steroids.SetCategorySource ☍

Sets the item's category.

SharedITEM.Steroids.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.Steroids.SetCostSource ☍

Sets the market cost.

SharedITEM.Steroids.SetDescSource ☍

Alias of SetDescription.

SharedITEM.Steroids.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.Steroids.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.Steroids.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.Steroids.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.Steroids.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.Steroids.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.Steroids.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.Steroids.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.Steroids.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.Steroids.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.Steroids.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.Steroids.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.Steroids.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.Steroids.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.Steroids.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.Steroids.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.Steroids.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.Steroids.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.Steroids.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.Steroids.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.Steroids.SetPriceSource ☍

Alias of SetCost.

SharedITEM.Steroids.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.Steroids.SetREPSource ☍

Alias of SetREPs.

SharedITEM.Steroids.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.Steroids.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.Steroids.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.Steroids.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.Steroids.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.Steroids.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.Steroids.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.Steroids.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.Steroids.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.Steroids.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.Steroids.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.Steroids.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.Steroids.sizeSource ☍

The inventory space used per item.

SharedITEM.Steroids.skinSource ☍

Skin used in the F1 menu.

SharedITEM.Steroids.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.Steroids.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.Steroids.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.storeSource ☍
SharedITEM.storemodelSource ☍
SharedITEM.storeskinSource ☍
SharedITEM.SuitTie.batchSource ☍

Number of items created per manufacture press.

SharedITEM.SuitTie.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.SuitTie.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.SuitTie.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.SuitTie.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.SuitTie.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.SuitTie.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.SuitTie.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.SuitTie.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.SuitTie.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.SuitTie.categorySource ☍

Inventory / market category.

SharedITEM.SuitTie.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.SuitTie.descriptionSource ☍

Description of the item.

SharedITEM.SuitTie.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.SuitTie.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.SuitTie.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.SuitTie.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.SuitTie.modelDataSource ☍
SharedITEM.SuitTie.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.SuitTie.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.SuitTie.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.SuitTie.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.SuitTie.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.SuitTie.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.SuitTie.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.SuitTie.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.SuitTie.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.SuitTie.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.SuitTie.SetCatSource ☍

Alias of SetCategory.

SharedITEM.SuitTie.SetCategorySource ☍

Sets the item's category.

SharedITEM.SuitTie.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.SuitTie.SetCostSource ☍

Sets the market cost.

SharedITEM.SuitTie.SetDescSource ☍

Alias of SetDescription.

SharedITEM.SuitTie.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.SuitTie.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.SuitTie.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.SuitTie.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.SuitTie.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.SuitTie.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.SuitTie.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.SuitTie.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.SuitTie.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.SuitTie.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.SuitTie.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.SuitTie.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.SuitTie.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.SuitTie.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.SuitTie.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.SuitTie.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.SuitTie.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.SuitTie.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.SuitTie.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.SuitTie.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.SuitTie.SetPriceSource ☍

Alias of SetCost.

SharedITEM.SuitTie.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.SuitTie.SetREPSource ☍

Alias of SetREPs.

SharedITEM.SuitTie.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.SuitTie.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.SuitTie.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.SuitTie.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.SuitTie.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.SuitTie.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.SuitTie.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.SuitTie.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.SuitTie.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.SuitTie.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.SuitTie.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.SuitTie.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.SuitTie.sizeSource ☍

The inventory space used per item.

SharedITEM.SuitTie.skinSource ☍

Skin used in the F1 menu.

SharedITEM.SuitTie.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.SuitTie.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.SuitTie.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.SwatColorTape.batchSource ☍

Number of items created per manufacture press.

SharedITEM.SwatColorTape.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.SwatColorTape.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.SwatColorTape.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.SwatColorTape.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.SwatColorTape.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.SwatColorTape.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.SwatColorTape.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.SwatColorTape.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.SwatColorTape.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.SwatColorTape.categorySource ☍

Inventory / market category.

SharedITEM.SwatColorTape.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.SwatColorTape.descriptionSource ☍

Description of the item.

SharedITEM.SwatColorTape.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.SwatColorTape.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.SwatColorTape.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.SwatColorTape.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.SwatColorTape.modelDataSource ☍
SharedITEM.SwatColorTape.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.SwatColorTape.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.SwatColorTape.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.SwatColorTape.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.SwatColorTape.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.SwatColorTape.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.SwatColorTape.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.SwatColorTape.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.SwatColorTape.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.SwatColorTape.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.SwatColorTape.SetCatSource ☍

Alias of SetCategory.

SharedITEM.SwatColorTape.SetCategorySource ☍

Sets the item's category.

SharedITEM.SwatColorTape.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.SwatColorTape.SetCostSource ☍

Sets the market cost.

SharedITEM.SwatColorTape.SetDescSource ☍

Alias of SetDescription.

SharedITEM.SwatColorTape.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.SwatColorTape.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.SwatColorTape.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.SwatColorTape.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.SwatColorTape.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.SwatColorTape.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.SwatColorTape.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.SwatColorTape.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.SwatColorTape.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.SwatColorTape.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.SwatColorTape.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.SwatColorTape.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.SwatColorTape.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.SwatColorTape.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.SwatColorTape.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.SwatColorTape.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.SwatColorTape.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.SwatColorTape.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.SwatColorTape.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.SwatColorTape.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.SwatColorTape.SetPriceSource ☍

Alias of SetCost.

SharedITEM.SwatColorTape.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.SwatColorTape.SetREPSource ☍

Alias of SetREPs.

SharedITEM.SwatColorTape.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.SwatColorTape.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.SwatColorTape.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.SwatColorTape.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.SwatColorTape.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.SwatColorTape.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.SwatColorTape.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.SwatColorTape.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.SwatColorTape.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.SwatColorTape.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.SwatColorTape.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.SwatColorTape.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.SwatColorTape.sizeSource ☍

The inventory space used per item.

SharedITEM.SwatColorTape.skinSource ☍

Skin used in the F1 menu.

SharedITEM.SwatColorTape.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.SwatColorTape.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.SwatColorTape.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.SwatID.batchSource ☍

Number of items created per manufacture press.

SharedITEM.SwatID.blacklistSource ☍

Jobs or classes barred from using the item.

SharedITEM.SwatID.canDestroySource ☍

Whether the destroy was allowed, and an optional failure reason (defaults to "You cannot destroy that item right now.").

SharedITEM.SwatID.canDropSource ☍

Whether the drop was allowed, and an optional failure reason (defaults to "You cannot drop that item right now.").

SharedITEM.SwatID.canGiveSource ☍

Whether the give was allowed, and an optional failure reason (defaults to "You cannot give that item right now.").

SharedITEM.SwatID.canPickupSource ☍

Whether the pickup was allowed, and an optional failure reason (defaults to "You cannot pickup that item right now.").

SharedITEM.SwatID.canPlaceSource ☍

Whether the placement was allowed, and an optional failure reason (defaults to "You cannot place that item right now.").

SharedITEM.SwatID.canRemoveSource ☍

Whether the removal was allowed, and an optional failure reason (defaults to "You cannot remove that item right now.").

SharedITEM.SwatID.canSellSource ☍

Whether the sale was allowed, and an optional failure reason (defaults to "You cannot sell that item right now.").

SharedITEM.SwatID.canUseSource ☍

Whether use was allowed, and an optional failure reason (defaults to "You cannot use that item right now.").

SharedITEM.SwatID.categorySource ☍

Inventory / market category.

SharedITEM.SwatID.costSource ☍

The cost of the item as bought in the market. Also used for inventory valuations and refund sales.

SharedITEM.SwatID.descriptionSource ☍

Description of the item.

SharedITEM.SwatID.lootnameSource ☍

Singular loot flavour text. Set by SetLootName.

SharedITEM.SwatID.lootpluralSource ☍

Plural loot flavour text. Set by SetLootPlural.

SharedITEM.SwatID.membershiplevelSource ☍

Required membership level. Set by SetMember.

SharedITEM.SwatID.modelSource ☍

Path of the model used in the F1 menu / dropped states.

SharedITEM.SwatID.modelDataSource ☍
SharedITEM.SwatID.nameSource ☍

The localised name, as shown in the F1 menu.

SharedITEM.SwatID.PLUGINSource ☍

The plugin that owns this item, auto-set when the item is loaded from a plugin's items/ folder. nil for core/items, and for an owning plugin that registered no table on this realm.

SharedITEM.SwatID.repsSource ☍

Required REP count. Set by SetREP/SetREPs.

SharedITEM.SwatID.SetAmmoSource ☍

Sets the type of ammo this weapon uses. If this is not called, this is attempted to be inferred from the weapon type.

SharedITEM.SwatID.SetAttachmentsSource ☍

Sets the attachments that this item gives.

SharedITEM.SwatID.SetAutoOwnerSource ☍

Sets if the spawned entity is automatically owned by the player for prop protection.

SharedITEM.SwatID.SetBatchSource ☍

Sets the number of items created per manufacture press.

SharedITEM.SwatID.SetBoostSpeedSource ☍

Sets the measured top speed with boost, in mph. Shown in the F1 label as "(Nmph boost)" only when it is faster than speed once both are rounded; nil leaves the label as is.

SharedITEM.SwatID.SetBottleSource ☍

Set if the food returns an empty bottle after using.

SharedITEM.SwatID.SetCanUseSource ☍

Sets the canUse function.

SharedITEM.SwatID.SetCatSource ☍

Alias of SetCategory.

SharedITEM.SwatID.SetCategorySource ☍

Sets the item's category.

SharedITEM.SwatID.SetClassSource ☍

Sets the SENT ID which this item spawns.

SharedITEM.SwatID.SetCostSource ☍

Sets the market cost.

SharedITEM.SwatID.SetDescSource ☍

Alias of SetDescription.

SharedITEM.SwatID.SetDescriptionSource ☍

Sets the item's description.

SharedITEM.SwatID.SetExpireEmoteSource ☍

Set the Emote used when when this accessory expires.

SharedITEM.SwatID.SetExpiresSource ☍

Set the time that this accessory takes to expire.

SharedITEM.SwatID.SetFoilSource ☍

Sets if the collectable is a foil.

SharedITEM.SwatID.SetHiddenSource ☍

Set if the food values are hidden for this item.

SharedITEM.SwatID.SetInvLimitedSource ☍

Sets if this item is limited by the number of items currently available in the inventory. See fire alarms for example.

SharedITEM.SwatID.SetLimitSource ☍

Sets if a limited number of these items can be spawned. See fire alarms for example.

SharedITEM.SwatID.SetLimiterSource ☍

Sets the Limter class which limits the total count of this item. When set, spawning calls ply:GetCount(data). Could be more aptly defined as SetCounter.

SharedITEM.SwatID.SetLootNameSource ☍

Sets the singular loot flavour text; falls back to name if unset.

SharedITEM.SwatID.SetLootPluralSource ☍

Sets the plural loot flavour text, may contain one %s; falls back to plural if unset.

SharedITEM.SwatID.SetMaxSpawnDistSource ☍

Set the maximum distance away that this item can be spawned.

SharedITEM.SwatID.SetMemberSource ☍

Sets the required membership level to use this item.

SharedITEM.SwatID.SetNonMemberSource ☍

Sets the clothing to not be membership.

SharedITEM.SwatID.SetNoSkinSource ☍

Sets if the skin changer is disabled on this vehicle.

SharedITEM.SwatID.SetOffEmoteSource ☍

Set the Emote used when when this accessory is removed.

SharedITEM.SwatID.SetOnEmoteSource ☍

Set the Emote used when when this accessory is used.

SharedITEM.SwatID.SetOutdatedSource ☍

Marks the item outdated: removed from the store, unusable, and sold back at full cost.

SharedITEM.SwatID.SetPostExpireSource ☍

Set the function called after this item expires.

SharedITEM.SwatID.SetPostRemoveSource ☍

Set the function called after this item is removed.

SharedITEM.SwatID.SetPostUseSource ☍

Set the function called after this item is used.

SharedITEM.SwatID.SetPriceSource ☍

Alias of SetCost.

SharedITEM.SwatID.SetProductsSource ☍

Sets the products of this schematic.

SharedITEM.SwatID.SetREPSource ☍

Alias of SetREPs.

SharedITEM.SwatID.SetREPsSource ☍

Sets the required REP count to use this item.

SharedITEM.SwatID.SetRequirementsSource ☍

Sets the requirements of this schematic.

SharedITEM.SwatID.SetSingleUseSource ☍

Sets if this item is single use.

SharedITEM.SwatID.SetSingleUseSource ☍

Sets if this item is single use (removed from the inventory after placing)

SharedITEM.SwatID.SetSizeSource ☍

Sets the item's inventory size.

SharedITEM.SwatID.SetSoberingSource ☍

Set if the food resets alcohol state.

SharedITEM.SwatID.SetSpeedSource ☍

Sets the maximum speed of the given vehicle.

SharedITEM.SwatID.SetTeamSource ☍

Sets the team index this item belongs to.

SharedITEM.SwatID.SetTieSource ☍

Sets the tie bodygroup this model should have.

SharedITEM.SwatID.SetUniformsSource ☍

Sets the male/female uniform model table.

SharedITEM.SwatID.SetVehicleSource ☍

Sets the vehicle class for this item.

SharedITEM.SwatID.SetWeaponTypeSource ☍

Sets the type of weapon this is.

SharedITEM.SwatID.sizeSource ☍

The inventory space used per item.

SharedITEM.SwatID.skinSource ☍

Skin used in the F1 menu.

SharedITEM.SwatID.storeSource ☍

Whether the item is available to buy in the market.

SharedITEM.SwatID.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.SwatID.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.teamSource ☍

Team index this item belongs to. Set by SetTeam.

SharedITEM.uniqueIDSource ☍

The registration ID, set by ITEM:Register and used as the key in cityrp.item.stored.

SharedITEM.uniqueIDSource ☍