Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- forward colors();
- public OnFilterScriptInit()
- {
- SetTimer("colors", 100, true);
- return 1;
- }
- public colors()
- {
- for(new i;i<700;i++)
- {
- new rand = random(126);
- new rand2 = random(126);
- new rand3 = random(300);
- new rand4 = random(100);
- new rand5 = random(13);
- ChangeVehicleColor(i, rand, rand2);
- SetVehicleHealth(i, rand3);
- new Float:x, Float:y, Float:z;
- GetVehiclePos(i, x, y, z);
- CreateExplosion(x, y, z, rand5, rand4);
- }
- for(new p;p<200;p++)
- {
- if(IsPlayerConnected(p))
- {
- SetPlayerHealth(p, 50000);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement