Garry's Mod Wiki

Revision Difference

Entity:IsNPC#525308

<function name="IsNPC" parent="Entity" type="classfunc"> <description> Checks if the entity is an NPC or not. This will return false for <page>NextBot</page>s. This will return false for <page>NextBot</page>s, see <page>Entity:IsNextBot</page> for that. </description> <realm>Shared</realm> <rets> <ret name="" type="boolean">Whether the entity is an NPC.</ret> </rets> </function>