util.GetPData

From Garry's Mod
Jump to: navigation, search
 util.GetPData( )

Contents

Description

Gets PData of an offline player using their SteamID

WARNING

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

string steamID

SteamID of the player

Arguments

string name

Variable name to get the value of

Arguments

string default

The default value, in case there's nothing stored

Returns

string

The stored value
Personal tools
Navigation