SetLightStyle Function

Sets a light style.

void SetLightStyle(int style, const char[] value)

Parameters

int style

Light style (from 0 to MAX_LIGHTSTYLES-1)

const char[] value

Light value string (see world.cpp/light.cpp in dlls)

Errors

Light style index is out of range.