Revision Difference
Entity:IsNPC#567658
<function name="IsNPC" parent="Entity" type="classfunc">
<description>
Checks if the entity is an NPC or not.
Checks if the entity is an <page>NPC</page> or not.
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>
Garry's Mod
Rust
Steamworks
Wiki Help