Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. stock LSRoad(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
  2. {
  3. new
  4. object = CreateDynamicObject(modelid, x, y, z + 0.1, rx, ry, rz, -1, -1, -1, 300.0, 0.0);
  5. for(new a = 0; a < 30; a++)
  6. {
  7. SetDynamicObjectMaterial(object, a, 18800, "mroadhelix1", "road1-3", 0x00000000);
  8. SetDynamicObjectMaterial(object, a, 18800, "mroadhelix1", "road1-3", 0x00000000);
  9. SetDynamicObjectMaterial(object, a, 18800, "mroadhelix1", "road1-3", 0x00000000);
  10. SetDynamicObjectMaterial(object, a, 18800, "mroadhelix1", "road1-3", 0x00000000);
  11. SetDynamicObjectMaterial(object, a, 18800, "mroadhelix1", "road1-3", 0x00000000);
  12. }
  13. return object;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement