AMX Mod X API Documentation

Signature
native bool:json_serial_to_file(const JSON:value, const file[], bool:pretty = false);
Description

Copies serialized string to the file.

Parameters
  • value JSON handle
  • file Path to the file
  • pretty True to format pretty JSON string, false to not
Returns

True if succeed, false otherwise

Errors
  • If passed handle is not a valid value
Назад
Верх