Skip to content
/SLASHPLAY

How to stop players picking up objects in GMod

Type sv_playerpickupallowed 0 in the server console so players cannot carry objects with the use key. The Physics and Gravity Guns still work.

sv_playerpickupallowed

Toggles whether players can pick up and carry objects with the use key.

sv_playerpickupallowed <0|1>

Examples

sv_playerpickupallowed 0

No carrying props by hand.

Values

ValueWhat it does
0 Off
1Default On

Arguments

0|1Required
1 allows use key pickup.

What it does

Turns the Half-Life 2 style use key pickup on or off. The Physics Gun and Gravity Gun are not affected.

The game's own description: Allow the player to pick things up using the USE key

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.

Your own
GMod server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.