Advertisement
Guest User

crash_trackman

a guest
Jul 14th, 2009
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #include <a_samp>
  2. forward colors();
  3. public OnFilterScriptInit()
  4. {
  5. SetTimer("colors", 100, true);
  6. return 1;
  7. }
  8. public colors()
  9. {
  10. for(new i;i<700;i++)
  11. {
  12. new rand = random(126);
  13. new rand2 = random(126);
  14. new rand3 = random(300);
  15. new rand4 = random(100);
  16. new rand5 = random(13);
  17. ChangeVehicleColor(i, rand, rand2);
  18. SetVehicleHealth(i, rand3);
  19. new Float:x, Float:y, Float:z;
  20. GetVehiclePos(i, x, y, z);
  21. CreateExplosion(x, y, z, rand5, rand4);
  22. }
  23. for(new p;p<200;p++)
  24. {
  25. if(IsPlayerConnected(p))
  26. {
  27. SetPlayerHealth(p, 50000);
  28. }
  29. }
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement