Garry's Mod Wiki

Entity:IsNPC

boolean Entity:IsNPC()

Description

Checks if the entity is an NPC or not.

This will return false for NextBots, see Entity:IsNextBot for that.

Returns

1 boolean
Whether the entity is an NPC.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

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