XADRENALINEIX

Motions97's Yellow Neons

May 15th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.05 KB | None | 0 0
  1. if (IS_CHAR_IN_ANY_CAR(GetPlayerPed()))
  2. {
  3. Car car;
  4. GET_CAR_CHAR_IS_USING(GetPlayerPed(), &car);
  5. Object lights;
  6. {
  7. CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
  8. WAIT(1);
  9. ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
  10. SET_OBJECT_LIGHTS(lights, true);
  11. SET_OBJECT_VISIBLE(lights, true);
  12. SET_OBJECT_INVINCIBLE(lights, 1);
  13. CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
  14. WAIT(1);
  15. ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.5,-0.2,-190,0,160.2);
  16. SET_OBJECT_LIGHTS(lights, true);
  17. SET_OBJECT_VISIBLE(lights, true);
  18. SET_OBJECT_INVINCIBLE(lights, 1);
  19. CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
  20. WAIT(1);
  21. ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
  22. SET_OBJECT_LIGHTS(lights, true);
  23. SET_OBJECT_VISIBLE(lights, true);
  24. SET_OBJECT_INVINCIBLE(lights, 1);
  25. CREATE_OBJECT(0xB3AC6409, 0.0f, 0.0f, 0.0f, &lights, 1);
  26. WAIT(1);
  27. ATTACH_OBJECT_TO_CAR(lights,pveh,0.0f,0.2,0.2,-0.2,-190,0,160.2);
  28. SET_OBJECT_LIGHTS(lights, true);
  29. SET_OBJECT_VISIBLE(lights, true);
  30. SET_OBJECT_INVINCIBLE(lights, 1);
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment