Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This file was converted to Kingston item system by Niggerlicious conversion kit --
- ITEM.Name = "Army Medkit";
- ITEM.Desc = "A military grade medkit, designed to handle gunshot wounds. In the field, it can save a life.";
- ITEM.Model = "models/kali/miscstuff/stalker/aid/first aid kit.mdl";
- ITEM.ItemSubmaterials = {
- { 0 , "models/kali/miscstuff/stalker/aid/firstaid_military_c" }
- }
- ITEM.Weight = 1;
- ITEM.FOV = 9;
- ITEM.CamPos = Vector( 50, 50, 50 );
- ITEM.LookAt = Vector( 0, 0, 5.02 );
- ITEM.BulkPrice = 7500;
- ITEM.License = LICENSE_BLACK;
- ITEM.functions = {}
- ITEM.functions.Use = {
- SelectionName = "Use",
- RemoveOnUse = true,
- OnUse = function(self)
- local ply = self:Owner()
- if( CLIENT ) then
- GAMEMODE:AddChat( Color( 200, 200, 200, 255 ), "CombineControl.ChatNormal", "You tend to your wounds. That should hold for a while.", { CB_ALL, CB_IC } );
- else
- ply:SetHealth( math.min( ply:Health() + 45, 100 ) );
- end
- return true
- end,
- CanRun = function(item)
- return true
- end,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement