mirror of
https://github.com/BeamMP/Docs.git
synced 2026-10-25 21:50:05 +00:00
expand upon IsPlayerConnected explanation
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
1 parent
887c2945cb
commit
e06797dd23
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user