native

FileWriteInt16

Syntax

native bool:FileWriteInt16(file, any:data);

Description

Writes a single int16 (short) to a file.

Parameters

file Handle to the file
data Data to write (truncated to an int16)

Return

True on success, false on failure