mirror of
https://github.com/BeamMP/Docs.git
synced 2025-07-03 16:36:18 +00:00
expand upon IsPlayerConnected explanation
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
parent
887c2945cb
commit
e06797dd23
@ -464,7 +464,7 @@ Z: 26.9505
|
|||||||
|
|
||||||
#### `MP.IsPlayerConnected(player_id: number) -> boolean`
|
#### `MP.IsPlayerConnected(player_id: number) -> boolean`
|
||||||
|
|
||||||
Whether the player is connected.
|
Whether the player is connected and if the server has received a UDP packet from them.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```lua
|
```lua
|
||||||
|
Loading…
x
Reference in New Issue
Block a user