Garry's Mod Wiki


string util.GetPData( string steamID, string name, string default )


Gets PData of an offline player using their SteamID

This function internally uses Player:UniqueID, which can cause collisions (two or more players sharing the same PData entry). It's recommended that you don't use it. See the related wiki page for more information.


1 string steamID
SteamID of the player
2 string name
Variable name to get the value of
3 string default
The default value, in case there's nothing stored


1 string
The stored value

Page Links

Special Pages



Render Time: 40ms

DB GetPage 5
Generate Html 13
SaveChanges (1) 8
Render Body 0
Render Sidebar 11