- Documentation
- Server functions
- getPlayerACInfo
Function
getPlayerACInfo
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))