G.IsFriendEntityName
From GMod Wiki
| Function | |
| Syntax |
IsFriendEntityName( victimtype ) Where is this used? |
| Description: | |
| Tests is an NPC friendly to the player. | |
| Returns: | Boolean |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.IsFriendEntityName]G.IsFriendEntityName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The following NPCs are friendly:
| npc_alyx | npc_barney | npc_citizen |
| npc_eli | npc_kleiner | npc_magnusson |
| npc_monk | npc_mossman | npc_vortigaunt |