AMX Mod X API Documentation

Signature
native parse(const text[], ...);
Description

Gets parameters from text.

Notes
  • Example: to split text: "^"This is^" the best year",

    call function like this: parse(text,arg1,len1,arg2,len2,arg3,len3,arg4,len4)

    and you will get: "This is", "the", "best", "year"

    Function returns number of parsed parameters.

Parameters
  • text String to parse.
  • ... Variable number of format parameters.
Returns

Number of parsed parameters.

Назад
Верх