Scripting/Server/Events/onPlayerFileHash
Answer to player.CheckFileHash(file). crc is the file's CRC32; 0 = missing/unreadable, -1 = no answer in time.
Syntax
onPlayerFileHash(player, file, crc)Arguments
- Player player
- string file
- any crc –
crcis the file's CRC32;0= missing/unreadable,-1= no answer in time.
Example
function onPlayerFileHash( player, file, crc )
{
MessagePlayer( "onPlayerFileHash fired", player );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- onPlayerRequestSpawn
- onPlayerSpawn
- onPlayerDeath
- onPlayerBusted
- onPlayerShoot
- onPlayerActionChange
- onPlayerKill
- onPlayerShotPlayer
- onPlayerWeaponChange
- onPlayerUseDetonator
- onPlayerShootObject
- onPlayerCheat
Section: Spawning, deaths and combat
Categories: Server events | Spawning, deaths and combat