player.GetPData
From GMod Wiki
| Function | |
| Syntax |
player.GetPData( Where is this used? |
| Description: | |
| Gets the player's data. | |
| Returns: |
|
| Part of Library: |
|
| Available On: |
|
| BBCode Link: | [b][url=wiki.garrysmod.com/?title=Player.GetPData]Player.GetPData [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Gets the player's data (Minge Baggerson). |
|---|---|
| Used on | |
| Code | function getdata(ply) ply:GetPData("Name") end |
| Output | Minge Baggerson |
Additional Notes
- If it is used on the client, it will always error.
