Advertisement
Alexander0507

TTT Waffen Lib

Apr 1st, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.60 KB | None | 0 0
  1. SWEP.Kind="..."
  2.         WEAPON_PISTOL: small arms like the pistol and the deagle.
  3.         WEAPON_HEAVY: rifles, shotguns, machineguns.
  4.         WEAPON_NADE: grenades.
  5.         WEAPON_EQUIP1: special equipment, typically bought with credits and Traitor/Detective-only.
  6.         WEAPON_EQUIP2: same as above, secondary equipment slot. Players can carry one of each.
  7.         WEAPON_ROLE: special equipment that is default equipment for a role, like the DNA Scanner.
  8.         WEAPON_MELEE: only for the crowbar players get by default.
  9.         WEAPON_CARRY: only for the Magneto-stick, default equipment.
  10.  
  11. SWEP.AmmoEnt= "..."
  12.         item_ammo_pistol_ttt: Pistol and M16 ammo.
  13.         item_ammo_smg1_ttt: SMG ammo, used by MAC10 and UMP.
  14.         item_ammo_revolver_ttt: Desert eagle ammo.
  15.         item_ammo_357_ttt: Sniper rifle ammo.
  16.         item_box_buckshot_ttt: Shotgun ammo.
  17.  
  18.  
  19. SWEP.Icon = "..."
  20.         icons/icons_yolo_name
  21.  
  22. SWEP.CanBuy =
  23.         {ROLE_TRAITOR}
  24.         {ROLE_DETECTIVE}
  25.         {ROLE_TRAITOR,ROLE_DETECTIVE}
  26.         nil
  27.  
  28. SWEP.InLoadoutFor=
  29.         {ROLE_TRAITOR}
  30.         {ROLE_DETECTIVE}
  31.         {ROLE_TRAITOR,ROLE_DETECTIVE}
  32.         nil
  33.  
  34. SWEP.LimitedStock =
  35.         true
  36.         false
  37.  
  38. SWEP.EquipMenuData = {
  39.    type = "Weapon",
  40.    desc = "Description"
  41. };
  42.  
  43. SWEP.IsSilent =
  44.         true
  45.         false
  46.  
  47. //zu testen
  48. SWEP.NoSights =
  49.         true
  50.         false
  51.  
  52. SWEP.AutoSpawnable =
  53.         true
  54.         false
  55.  
  56. //für waffen anzupassen
  57. SWEP.IronSightsPos = Vector( 6.05, -5, 2.4 )
  58. SWEP.IronSightsAng = Vector( 2.2, -0.1, 0 )
  59.  
  60.  
  61. //für alle ressourcen
  62. if SERVER then
  63.    resource.AddFile("materials/VGUI/ttt/icon_myserver_ak47.vmt")
  64. end
  65.  
  66. //originale Files Steam\steamapps\common\GarrysMod\garrysmod\gamemodes\terrortown\entities\weapons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement