world_edit
Modify Garry's Mod entities or players with actions like remove, teleport, set angles, freeze, unfreeze, adjust health/armor, give or strip weapons. Requires explicit confirmation.
Instructions
GUARDED. Acts on one entity or player: remove, teleport, set_ang, freeze, unfreeze, set_health, set_armor, give, strip. target is an entity index or a player's SteamID/name. Requires confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ang | No | Angles for set_ang. | |
| pos | No | Destination for teleport. | |
| value | No | Amount for set_health and set_armor. | |
| action | Yes | ||
| target | Yes | ||
| weapon | No | Weapon class for give. | |
| confirm | No | Must be true: this changes the running game and is audited. Otherwise the call is refused. |