IsPlayer( <entity> )


Module: Sentient

Summary:

Checks whether this entity is the player



Example:

if ( IsPlayer( gun_owner ) ) ...



Required Args:

  • 1 : <entity> An entity object that may be the player