Player.RemovePData

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:RemovePData( String PData, Var Value )
Description:
Removes a value from a player's persistent data.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.RemovePData]Player.RemovePData [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionRemoves a player's persistent data value Name.
Used onNewerServer.png
Code
 
function removedata(ply)
   ply:RemovePData("Name")
end
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox