• Derive from sandbox, default weapon question.
    2 replies, posted
Hello all, I'm deriving a game-mode from sandbox, but I don't want the default weapons to be available on spawn. Any ideas? I know how to give weapons to a specific team from a table, it's just the default load-out keeps getting involved. Thanks
You need to override the PlayerLoadout hook. [lua] function GM:PlayerLoadout( ply ) ply:Give( "weapon_pistol" ) // Your weapon code can go here. return false // This stops default weapons from being given end [/lua]
Cheers dude!
Sorry, you need to Log In to post a reply to this thread.