mirror of
https://github.com/BeamMP/Docs.git
synced 2026-10-25 13:40:06 +00:00
change wording of IsPlayerGuest
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
1 parent
5ea196eaf1
commit
19dd21cfe2
1 file changed
+1
-1
@@ -545,7 +545,7 @@ Returns a table of all connected players. This table maps IDs to Names, like so:
|
|||||||
|
|
||||||
Whether the player is a guest. A guest is someone who didn't log in, and instead chose to play as a guest. Their name is usually `guest` followed by a long number.
|
Whether the player is a guest. A guest is someone who didn't log in, and instead chose to play as a guest. Their name is usually `guest` followed by a long number.
|
||||||
|
|
||||||
As guests are anonymous, you may want to disallow them to join, however it is recommended you use the [`onPlayerAuth`](#onplayerauth) `is_guest` argument.
|
Because guests are anonymous, you may want to disallow them to join, if so it is recommended to use the [`onPlayerAuth`](#onplayerauth) `is_guest` argument instead.
|
||||||
|
|
||||||
#### `MP.DropPlayer(player_id: number, [reason: string])`
|
#### `MP.DropPlayer(player_id: number, [reason: string])`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user