usePlayer
Uses a player by their ID.
Syntax
usePlayer(id);
Parameters
Name | Type | Description |
---|---|---|
id | number | The ID of the player to use. |
Returns
- `PlayerManager - The player manager.
Example
const player = usePlayer(1);
Available on: Client Server
Uses a player by their ID.
usePlayer(id);
Name | Type | Description |
---|---|---|
id | number | The ID of the player to use. |
const player = usePlayer(1);
Available on: Client Server