Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SWEP.Kind="..."
- WEAPON_PISTOL: small arms like the pistol and the deagle.
- WEAPON_HEAVY: rifles, shotguns, machineguns.
- WEAPON_NADE: grenades.
- WEAPON_EQUIP1: special equipment, typically bought with credits and Traitor/Detective-only.
- WEAPON_EQUIP2: same as above, secondary equipment slot. Players can carry one of each.
- WEAPON_ROLE: special equipment that is default equipment for a role, like the DNA Scanner.
- WEAPON_MELEE: only for the crowbar players get by default.
- WEAPON_CARRY: only for the Magneto-stick, default equipment.
- SWEP.AmmoEnt= "..."
- item_ammo_pistol_ttt: Pistol and M16 ammo.
- item_ammo_smg1_ttt: SMG ammo, used by MAC10 and UMP.
- item_ammo_revolver_ttt: Desert eagle ammo.
- item_ammo_357_ttt: Sniper rifle ammo.
- item_box_buckshot_ttt: Shotgun ammo.
- SWEP.Icon = "..."
- icons/icons_yolo_name
- SWEP.CanBuy =
- {ROLE_TRAITOR}
- {ROLE_DETECTIVE}
- {ROLE_TRAITOR,ROLE_DETECTIVE}
- nil
- SWEP.InLoadoutFor=
- {ROLE_TRAITOR}
- {ROLE_DETECTIVE}
- {ROLE_TRAITOR,ROLE_DETECTIVE}
- nil
- SWEP.LimitedStock =
- true
- false
- SWEP.EquipMenuData = {
- type = "Weapon",
- desc = "Description"
- };
- SWEP.IsSilent =
- true
- false
- //zu testen
- SWEP.NoSights =
- true
- false
- SWEP.AutoSpawnable =
- true
- false
- //für waffen anzupassen
- SWEP.IronSightsPos = Vector( 6.05, -5, 2.4 )
- SWEP.IronSightsAng = Vector( 2.2, -0.1, 0 )
- //für alle ressourcen
- if SERVER then
- resource.AddFile("materials/VGUI/ttt/icon_myserver_ak47.vmt")
- end
- //originale Files Steam\steamapps\common\GarrysMod\garrysmod\gamemodes\terrortown\entities\weapons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement