PD2STATS: API: CHEATER

About

Performs a check to see if the player pointed to by id has been marked as a cheater. Will perform a new check if the force parameter is added.

Current Version

3

Parameters

Name Type Required Description
id uint64 Yes The Steam ID of the target player
force bool No (Default 0) Force a check right now
type enum No (Default json) The return type desired. Valid options are "lua", "json", "xml", "yaml" and "saf" (Simon's Awkward Format)

Return

Name Type Description
error_code uint8 Specific error code. See the error list
error_string string Error string. See the error list
cheater bool Whether or not the target user has cheated before.
id string (uint64) A copy of the id value passed in.