OnPlayerACInfo
Jump to navigation
Jump to search
This event is triggered when a player trips anti-cheat detections.
Parameters
table acCodelist, int d3dSize, string d3dMd5, string d3dSha256
- acCodelist: A table of tripped AC codes represented as numbers
- d3dsize: File size of detected d3d9.dll
- d3dmd5: MD5 of detected d3d9.dll
- d3dsha356: SHA256 of detected d3d9.dll
Source
The source of this event is the player
Example
This example prints all information into the chatbox
function handleOnPlayerACInfo( acCodelist, d3dSize, d3dMd5, d3dSha256 ) outputChatBox( "ACInfo for " .. getPlayerName(source) .. " acCodelist:" .. table.concat(acCodelist,",") .. " d3dSize:" .. d3dSize .. " d3dSha256:" .. d3dSha256 ) end addEventHandler( "onPlayerACInfo", root, handleOnPlayerACInfo ) -- Ensure no one gets missed when the resource is (re)started addEventHandler( "onResourceStart", resourceRoot, function() for _,plr in ipairs( getElementsByType("player") ) do resendPlayerACInfo( plr ) end end )
See Also
Player events
- onPlayerACInfo
- onPlayerBan
- onPlayerChangeNick
- onPlayerChat
- onPlayerClick
- onPlayerCommand
- onPlayerConnect
- onPlayerContact
- onPlayerDamage
- onPlayerJoin
- onPlayerLogin
- onPlayerLogout
- onPlayerMarkerHit
- onPlayerMarkerLeave
- onPlayerModInfo
- onPlayerMute
- onPlayerNetworkStatus
- onPlayerPickupHit
- onPlayerPickupLeave
- onPlayerPickupUse
- onPlayerPrivateMessage
- onPlayerQuit
- onPlayerScreenShot
- onPlayerSpawn
- onPlayerStealthKill
- onPlayerTarget
- onPlayerUnmute
- onPlayerVehicleEnter
- onPlayerVehicleExit
- onPlayerVoiceStart
- onPlayerVoiceStop
- onPlayerWasted
- onPlayerWeaponFire
- onPlayerWeaponSwitch
Event functions
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled