GetEntityRenderColor Function

Gets an entity's color.

void GetEntityRenderColor(int entity, int& r, int& g, int& b, int& a)


int entity

Entity index.

int& r

Amount of red (0-255)

int& g

Amount of green (0-255)

int& b

Amount of blue (0-255)

int& a

Amount of alpha (0-255)


Invalid entity index, or lack of mod compliance.