get_basedir

Syntax

stock get_basedir(name[], len)

Usage

name
Buffer to copy path to
len
Maximum buffer size

Description

Retrieves the path to the AMXX base directory.

Return

Number of cells written to buffer