Garry's Mod Wiki

Garry's Mod Wiki

  table player.GetHumans()

Description

Returns a table containing all human players (non-bot/AI).

Unlike player.GetAll, this does not include bots.

This function returns a sequential table, meaning it should be looped with ipairs instead of pairs for efficiency reasons.

Returns

1 sequental table<Player>
A table containing all human (non-bot/AI) players.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...