ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onPlayerACInfo

Event

onPlayerACInfo

ServerPlayersIdentical to MTA:SA

Arrives right after onPlayerJoin with information about the player's game modifications. The detected list is empty because the client does not detect them yet.

Handler

addEventHandler("onPlayerACInfo", root, function(detectedACList, d3d9Size, d3d9MD5, d3d9SHA256) ... end)

Parameters

detectedACListtable
Detected modifications (currently empty).
d3d9Sizeint
For compatibility with existing scripts.
d3d9MD5string
For compatibility with existing scripts.
d3d9SHA256string
For compatibility with existing scripts.

Source

source is the player.

Example

addEventHandler("onPlayerACInfo", root, function(list)
    if #list > 0 then outputServerLog(getPlayerName(source) .. " ma modyfikacje") end
end)

See also