GetEdictClassname Function

Retrieves an edict classname.

bool GetEdictClassname(int edict, char[] clsname, int maxlength)

Parameters

int edict

Index of the entity.

char[] clsname

Buffer to store the classname.

int maxlength

Maximum length of the buffer.

Return Value

True on success, false if there is no classname set.