Panel.SetPlayer
From GMod Wiki
Function | |
Syntax | Panel:SetPlayer( Player Player, Integer Resolution ) |
Description: | |
This function is used to set the player in P.AvatarImage. Possible resolutions are 32, 64 and 184. | |
Returns: | nil |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.SetPlayer]Panel.SetPlayer [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Additional Notes
- Only set the the player ONCE to avoid memory leaks.