Black Ops III

IsPlayer

Checks whether this entity is the player

Example:

if ( IsPlayer( gun_owner ) ) ...

Parameters

ParameterSummary
*entityAn entity object that may be the player

* = mandatory