parse_loguser

Синтаксис

native parse_loguser(const text[], name[], nlen, &userid =-2, authid[] = "", alen = 0, team[] = "", tlen = 0);

Употреба

text
String to process
name
Buffer to copy client name to
nlen
Maximum name buffer size
userid
Variable to store userid in
authid
Buffer to copy client authid to
alen
Maximum auth buffer size
team
Buffer to copy client team to
tlen
Maximum team buffer size

Описание

Parse log data about client.

Забележка

When client actions are logged, they appear in the the format
"Name<#userid><SteamID><teamname>", this native extracts the individual
pieces of information.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If the provided string is not valid client log data, an
error will be thrown.