Garry's Mod Wiki

PLAYER

Description

This page describes all default fields for a player class.

Parameters

DisplayName [string]

The 'nice' name of the player class for display in User Interface and such.

WalkSpeed [number]

How fast to move when not running

RunSpeed [number]

How fast to move when running/sprinting

CrouchedWalkSpeed [number]

Multiply walk speed by this when crouching

DuckSpeed [number]

How fast to go from not ducking, to ducking

UnDuckSpeed [number]

How fast to go from ducking, to not ducking

JumpPower [number]

How powerful a jump should be

CanUseFlashlight [boolean]

Can the player use the flashlight

MaxHealth [number]

Max health we can have

StartHealth [number]

How much health we start with

StartArmor [number]

How much armour we start with

DropWeaponOnDie [boolean]

Do we drop our weapon when we die

TeammateNoCollide [boolean]

Do we collide with teammates or run straight through them

AvoidPlayers [boolean]

Automatically swerves around other players

UseVMHands [boolean]

Uses viewmodel hands

Page Links


Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 4
Generate Html 21
SaveChanges 9
Render Body 0
Render Sidebar 11