• Weapons Won't Spawn!? AGAIN!
    3 replies, posted
[B]Yes... hello again[/B] Shout out to:Robotboy655 for helping me out in my last thread but now is a new problem! Once again in deathrun... In deathrun there are secret parts that give you a trail or something. But that won't work! I have a feeling it's because the sun sick/frag wont spawn!? Am I correct or am I wrong plse help! I will keep trying as I am waiting for answers so you may be a bit too late if you reply.
Make empty SWEPs titled weapon_flashbang and weapon_smokegrenade so that they will appear.
[QUOTE=code_gs;48721100]Make empty SWEPs titled weapon_flashbang and weapon_smokegrenade so that they will appear.[/QUOTE] where do I put the SWEPS plus will I be able to pickup the trail? [editline]20th September 2015[/editline] and do I put anything inside the SWEPs like type down anything
Threw something together real quick. Use this for weapon_smokegrenade, weapon_flashbang, weapon_hegrenade; and put them in gamemodes/deathrun/entities/weapons/. [code]AddCSLuaFile() SWEP.PrintName = "Deathrun Grenade" SWEP.Author = "code_gs" SWEP.ViewModel = "models/weapons/v_crowbar.mdl" SWEP.WorldModel = "models/weapons/w_eq_flashbang.mdl" -- Change per grenade SWEP.Primary = { ClipSize = -1, DefaultClip = -1, Automatic = false, Ammo = "none" } SWEP.Secondary = { ClipSize = -1, DefaultClip = -1, Automatic = false, Ammo = "none" } SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.DrawAmmo = false SWEP.DrawCrosshair = false function SWEP:Initialize() self:HoldType( "normal" ) end function SWEP:Deploy() return false end function SWEP:PrimaryAttack() end function SWEP:SecondaryAttack() end[/code]
Sorry, you need to Log In to post a reply to this thread.