Garry's Mod Wiki

util.SetPData

util.SetPData

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

Description

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.

Arguments

1 string steamID
SteamID of the player
2 string name
Variable name to store the value in
3 any value
The value to store

Special Pages


Wikis

?

Render Time: 54ms

DB GetPage 35
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6