• Adding the physgun ong spawn via lua
    2 replies, posted
How would I make it so you spawn with the Physgun on spawn via Lua?
[code] function GM:PlayerLoadout(ply) ply:Give("weapon_physgun") end [/code]
Place this in your init.lua [lua] function PhysgunOnSpawn(ply) ply:Give("weapon_physgun") end hook.Add( "PlayerSpawn", "GivePhysgunOnSpawn", PhysgunOnSpawn ) [/lua]
Sorry, you need to Log In to post a reply to this thread.