I think this would be userfull for maps that just use dynamic lights for lighting the map ex:
Code: Select all
script 1 open clientside
{
if(GetPlayerRender()==0)
{
Light_ChangeToValue(1,133);
Light_ChangeToValue(2,255);
Light_ChangeToValue(3,133);
Light_ChangeToValue(4,200);
Light_ChangeToValue(5,255);
Set_sectorlight(1,CR_RED);//don´t remember now the code to change the type of light
set_sectorlight(3,CR_GREEN);
set_sectorlight(5,CR_YELLOW);
}
}
But for all that it´s required that GetPlayerRender exist :s



[/spoiler]