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: 11ms

DB GetPage 2
Generate Html 0
SaveChanges (1) 5
Render Body 0
Render Sidebar 1