Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 40
Generate Html 3
SaveChanges (1) 15
Render Body 0
Render Sidebar 6