encode_lights
#2

encode_lights(light1, light2, light3, light4) {
return light1 | (light2 << 1) | (light3 << 2) | (light4 << 3);
}

Somewhere in your script.
Reply


Messages In This Thread
encode_lights - by Typhome - 21.08.2010, 13:09
Re: encode_lights - by Bumbis - 21.08.2010, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)