AMX Mod X API Documentation

Signature
native set_string(param, dest[], maxlen);
Description

Copies a string to the plugin calling the native.

Parameters
  • param Argument to set, starting from 1
  • dest Buffer to copy string from
  • maxlen Maximum size of buffer
Returns

Number of cells copied from buffer

Errors
  • If used outside of a native callback, or the native was

    created with style 1, an error will be thrown.

Назад
Верх