Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. -- This file was converted to Kingston item system by Niggerlicious conversion kit --
  2. ITEM.Name = "Army Medkit";
  3. ITEM.Desc = "A military grade medkit, designed to handle gunshot wounds. In the field, it can save a life.";
  4. ITEM.Model = "models/kali/miscstuff/stalker/aid/first aid kit.mdl";
  5.  
  6. ITEM.ItemSubmaterials = {
  7. { 0 , "models/kali/miscstuff/stalker/aid/firstaid_military_c" }
  8. }
  9.  
  10. ITEM.Weight = 1;
  11. ITEM.FOV = 9;
  12. ITEM.CamPos = Vector( 50, 50, 50 );
  13. ITEM.LookAt = Vector( 0, 0, 5.02 );
  14. ITEM.BulkPrice = 7500;
  15. ITEM.License = LICENSE_BLACK;
  16. ITEM.functions = {}
  17. ITEM.functions.Use = {
  18. SelectionName = "Use",
  19. RemoveOnUse = true,
  20. OnUse = function(self)
  21. local ply = self:Owner()
  22. if( CLIENT ) then
  23.  
  24. GAMEMODE:AddChat( Color( 200, 200, 200, 255 ), "CombineControl.ChatNormal", "You tend to your wounds. That should hold for a while.", { CB_ALL, CB_IC } );
  25.  
  26. else
  27.  
  28. ply:SetHealth( math.min( ply:Health() + 45, 100 ) );
  29.  
  30. end
  31.  
  32. return true
  33. end,
  34. CanRun = function(item)
  35. return true
  36. end,
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement