GetStreamedPlayers

From Onset Developer Wiki
Revision as of 18:04, 21 February 2020 by 28days (talk | contribs) (Add example and documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetStreamedPlayers

Type: Function
Context: Client
Introduced: v1.0

Description

Returns a table of player identifiers streamed in for the client.

Syntax

GetStreamedPlayers()

Parameters

  • This function has no parameters.

Return Value

  • A table with player identifiers if any else nil.

Example

for k, v in ipairs(GetStreamedPlayers()) do
    SetPlayerClothingPreset(v, 1)
end

See also

_EDIT_ME_