AMX Mod X API Documentation

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

Writes a single binary data to a file.

Parameters
  • file Handle to the file
  • data Item to write
  • mode Size of each item in the array in bytes

    Valid sizes are 1, 2, or 4. See BLOCK_* constants

Returns

Number of elements written

Назад
Верх