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: 42ms

Session 0
DB GetPage 5
Generate Html 14
SaveChanges 9
Render Body 0
Render Sidebar 12