This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //---------------------------------------------- | |
| //Author Info | |
| //---------------------------------------------- | |
| SWEP.Author = "SeveredSkullz" | |
| SWEP.Contact = "Severed_skullz@hotmail.com" | |
| SWEP.Purpose = "Blow Shit Up!" | |
| SWEP.Instructions = "A Multi-Function Grenade Launcher" | |
| SWEP.Category = "A35 Multi-Launcher" | |
| //---------------------------------------------- | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PrimarySpawnAmount = 25 | |
| SecondarySpawnAmount = 35 | |
| SupportSpawnAmount = 10 | |
| local PrimaryWeapons = { | |
| "weapon_twitch_mp5" | |
| --"weapon_twitch_ak47" | |
| --"weapon_twitch_mp5" | |
| --"weapon_twitch_p90" | |
| --"weapon_twitch_mac10" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function WeaponCheck (ply, wep) | |
| PickupCat = string.sub(wep:GetClass(), 7 , 11) | |
| for k, v in pairs(Player:GetWeapons()) do | |
| v = sting.sub(v:GetClass(), 7 , 11) | |
| if v == PickupCat then | |
| return false | |
| end | |
| end | |
| return true | |
| hook.Add("PlayerCanPickupWeapon", "WeaponCheckHook", WeaponCheck) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (SERVER) then | |
| AddCSLuaFile("shared.lua") | |
| SWEP.Weight = 5 | |
| SWEP.AutoSwitchTo = false | |
| SWEP.AutoSwitchFrom = false | |
| end | |
| if (CLIENT) then | |
| SWEP.PrintName = "C4" | |
| SWEP.DrawAmmo = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function DropActiveWeapon(ply) | |
| local ent = ply:GetActiveWeapon() | |
| if not ValidEntity(ent) then return "" end | |
| ply:DropWeapon(ply:GetActiveWeapon()) | |
| return "" | |
| end | |
| concommand.Add("DropActiveWeapon", DropActiveWeapon) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AddCSLuaFile( "cl_init.lua" ) | |
| AddCSLuaFile( "shared.lua" ) | |
| include( 'shared.lua' ) | |
| local models = { | |
| "models/player/Group03/female_01.mdl", | |
| "models/player/Group03/female_02.mdl", | |
| "models/player/Group03/female_03.mdl", | |
| "models/player/Group03/female_04.mdl", |