S&box Wiki

Sandbox.Entity.IsLocalPawn

Sandbox.Entity.IsLocalPawn

Syntax

bool IsLocalPawn { get; }

Description

Will return true if we're clientside, this entity has an owner and we're currently treating this owner as the local client. This means the player could be being spectated.

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 42
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 1