Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (IS_CHAR_IN_ANY_CAR(GetPlayerPed()))
- {
- Car car;
- GET_CAR_CHAR_IS_USING(GetPlayerPed(), &car);
- Object lights;
- {
- CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
- WAIT(1);
- ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
- SET_OBJECT_LIGHTS(lights, true);
- SET_OBJECT_VISIBLE(lights, true);
- SET_OBJECT_INVINCIBLE(lights, 1);
- CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
- WAIT(1);
- ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.5,-0.2,-190,0,160.2);
- SET_OBJECT_LIGHTS(lights, true);
- SET_OBJECT_VISIBLE(lights, true);
- SET_OBJECT_INVINCIBLE(lights, 1);
- CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
- WAIT(1);
- ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
- SET_OBJECT_LIGHTS(lights, true);
- SET_OBJECT_VISIBLE(lights, true);
- SET_OBJECT_INVINCIBLE(lights, 1);
- CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
- WAIT(1);
- ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
- SET_OBJECT_LIGHTS(lights, true);
- SET_OBJECT_VISIBLE(lights, true);
- SET_OBJECT_INVINCIBLE(lights, 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment