Vehicle Light
#2

You have this function?
pawn Код:
// props to whoever wrote this function
stock encode_lights(light1, light2, light3, light4) {
    return light1 | (light2 << 1) | (light3 << 2) | (light4 << 3);
}
Use it in your SetVehicleParamsEx funtion and set all lights to 1.
Reply


Messages In This Thread
Vehicle Light - by Shidony - 16.06.2011, 17:48
Re: Vehicle Light - by Vince - 16.06.2011, 17:50
Re : Vehicle Light - by Shidony - 16.06.2011, 17:58
Re : Vehicle Light - by Shidony - 17.06.2011, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)