native

read_argv

Syntax

native read_argv(id, output[], len);

Description

Retrieves argument of client command as string.

Parameters

id Argument index starting from 1, 0 returns the command itself
output Buffer to copy command argument to
len Maximum buffer size

Note

Should only be used inside of the client_command() forward.

Return

Number of cells written to buffer