native entity_get_string(iIndex, iKey, szReturn[], iRetLen);
iIndex | Entity index |
iKey | Entry to retrieve from |
szReturn | Buffer to copy value to |
iRetLen | Maximum size of buffer |
Retrieves a string type value from an entities entvar struct.
For a list of valid string type entries, see the EV_SZ_* constants in engine_const.inc
Number of cells written to buffer, 0 if an invalid entry was specified
If an invalid entity index is provided, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.