Garry's Mod Wiki

Revision Difference

player.GetHumans#549677

<function name="GetHumans" parent="player" type="libraryfunc"> <description> Returns a table of all human ( non bot/AI ) players. Unlike <page>player.GetAll</page>, this does not include bots. <note>This function returns a sequential table, meaning it should be looped with <page>Global.ipairs</page> instead of <page>Global.pairs</page> for efficiency reasons.</note>⤶ </description> <realm>Shared</realm> <rets> <ret name="" type="table">A table of all human ( non bot/AI ) players.</ret> </rets> </function>