ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getPlayerACInfo

Function

getPlayerACInfo

ServerPlayersIdentical to MTA:SA

Returns the last anti-cheat information reported by the client on join.

Syntax

table getPlayerACInfo(player thePlayer)

Arguments

thePlayerplayer
The player.

Returns

A table with fields as in onPlayerACInfo.

Example

local info = getPlayerACInfo(player)
outputServerLog(getPlayerName(player) .. ": " .. toJSON(info))

See also