But obviously, I need to change it just for one client (the one that died).
However Sector_SetColor doesn't do anything when I tried this on a server.
Also the "light_raisebyvalue" works without problem!
Here is top of the script
Code: Select all
script 752 enter clientside
{
if(isTitlemap()) { terminate; }
if(consoleplayerNumber() != playernumber()) { terminate; }
.. stuff ..
Code: Select all
... stuff ...
if(GameType() == GAME_SINGLE_PLAYER || getCvar("survival") > 0) {
for(int di = 0;di < 500;di++) {
Light_RaiseByValue(di,170);
Sector_SetColor(di,255,90,90,210);
}
}
} //end of script
plz help!