Garry's Mod Wiki


util.SetPData( string steamID, string name, any value )


Sets PData for offline player using his 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 store the value in
3 any value
The value to store

Page Links

Special Pages



Render Time: 58ms

DB GetPage 18
Generate Html 3
SaveChanges (1) 29
Render Body 0
Render Sidebar 6