RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_ACTIVE_PLAYERS

GET_ACTIVE_PLAYERS

Returns all player indices for 'active' physical players known to the client. The data returned adheres to the following layout: ``` [127, 42, 13, 37] ```

CFX

Signature

lua
GetActivePlayers()
-- returns object

Usage

lua
GetActivePlayers()

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Usage
  • Details