Skip to content
/SLASHPLAY

How to damage yourself in GMod

With sv_cheats 1 on, type hurtme 50 in your game console to take 50 damage, handy for testing health kits or HUDs.

hurtme

Deals the given amount of damage to yourself; needs sv_cheats 1.

hurtme <damage>

Examples

hurtme 50

Lose 50 health.

Arguments

damageRequired
Health to lose.

What it does

Useful for testing health kits, regeneration or HUD elements.

The game's own description: Hurts the player. Arguments: <health to lose>

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.