Garry's Mod Wiki

util.GetPData

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

Description

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.

Arguments

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

Returns

1 string
The stored value

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 13