Post: Rocket Rain "Connection Interrupted" Freeze
11-12-2015, 08:42 PM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); When I activate the rocket rain script, it freezes shortly after with a connection interrupted. I tried it twice and it always happened. Can you tell what is wrong with this script?
    toggleRocketRain()
{
modName = "Rocket Rain";

if(!self.rocketRain)
{
self.rocketRain = true;
self thread rainProjectiles("heli_gunner_rockets_mp");
self iPrintln("Rocket Rain ^2ON");

return;
}

self.rocketRain = false;
self notify("stopRocketRain");
self iPrintln("Rocket Rain ^1OFF");
}

rainProjectiles(projectile)
{
self endon("disconnect");
self endon("stopRocketRain");

while(true)
{
x = randomIntRange(-10000, 10000);
y = randomIntRange(-10000, 10000);
z = randomIntRange(8000, 10000);
magicBullet(projectile, (x, y, z), (x, y, 0), self);

wait 0.1;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
11-12-2015, 09:32 PM #2
-Numb
You talkin to me?
I can't see any problem with this.. are you sure this is the problem?

and I have not seen that types of toggles much, but it should work.. maybe try to change the toggle if you can't find anything else wrong?
11-12-2015, 10:06 PM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by Numb View Post
I can't see any problem with this.. are you sure this is the problem?

and I have not seen that types of toggles much, but it should work.. maybe try to change the toggle if you can't find anything else wrong?

The toggle is definitely correct, I do them like that all the time. It freezes when the loop is ran though so there must be something wrong with it but there is no script error. I know, it's weird but it seriously happens. :/

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo