AMX Mod X API Documentation

Signature
native fread(file, &any:data, mode);
Description

Reads a single binary data from a file.

Parameters
  • file Handle to the file
  • data Variable to store item read
  • mode Size of each element, in bytes, to be read

    See BLOCK_* constants

Returns

Number of elements read

Назад
Верх