Skip to content
/SLASHPLAY

How to spawn a prop by model in GMod

Type gm_spawn models/props_c17/oildrum001.mdl in your game console to spawn that prop as the spawn menu would. Sandbox prop limits still apply.

gm_spawn

Spawns a prop or ragdoll from a model path, the way the Sandbox spawn menu does.

gm_spawn <model>

Examples

gm_spawn models/props_c17/oildrum001.mdl

Spawn an oil drum.

Arguments

modelRequired
Model path, for example models/props_c17/oildrum001.mdl.

What it does

Respects Sandbox limits such as sbox_maxprops. Bind it to a key to spawn a favorite prop quickly.

The game's own description: Spawns props/ragdolls

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.