PivityGmodStore

Health

Explanation

Items with the Type = "Health" will set the players health to the Amount specified.

Code Example

CH_NPC_Shops.Items["health_100"] = { -- A unique name. This can be anything, as long as it's unique.
Name = "+100 HP", -- The display name
Class = "Health", -- Always set as Health
Type = "Health", -- Defines the type of the item (in this case Health)
Price = 1000, -- The buy price
Amount = 100 -- How much health should we give?
Description = "This health kit will give you 100 extra health.", -- The description
Model = "models/Items/HealthKit.mdl", -- The model
Color = Color( 0, 160, 0 ), -- The color as shown in the menu.
CanBuy = true, -- If the item can be bought from the store
}

Can't find what you're looking for?

Contact support