simplify printing player name

Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
Samuel Towers 2025-01-16 09:42:27 +11:00 committed by GitHub
parent e06797dd23
commit 318a80ed1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -485,9 +485,7 @@ Gets the display-name of the player.
Example:
```lua
local player_id = 4
local player_name = MP.GetPlayerName(player_id)
print(player_name)
print(MP.GetPlayerName(player_id)) -- Get the name of the player with ID 4
```
Output:
```