Ok so i was testing my mod and as it got to a certain part of my mod it came up with this error
"script runtime error exceeded maximum child 1 variables"
Does anyone know what the problem is and if it can be fixed?
Printable View
Ok so i was testing my mod and as it got to a certain part of my mod it came up with this error
"script runtime error exceeded maximum child 1 variables"
Does anyone know what the problem is and if it can be fixed?
/removed double post
/moved to gsc help
Post your code or nobody can help. boh1
Yes sorry ill give you the code for my mod
Code:
doStart()
{
self endon ("disconnect");
self endon ("death");
self takeAllWeapons();
self giveWeapon("beretta_mp");
self switchToWeapon("beretta_mp");
wait 5;
self thread maps\mp\gametypes\_hud_message::hintMessage("Welco me To Russian Roulette");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("Weapo n Spinning");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("3..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("2..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("1..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("Shoot ");
self thread doRandom();
}
doAlive()
{
self endon ("disconnect");
self endon ("death");
self takeAllWeapons();
self giveWeapon("beretta_mp");
self switchToWeapon("beretta_mp");
wait 5;
self thread maps\mp\gametypes\_hud_message::hintMessage("You are Alive!!!");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("Weapo n Spinning");
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("3..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("2..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("1..." );
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("Shoot ");
self thread doRandom();
}
doRandom()
{
self endon ("disconnect");
self endon ("death");
wait 0.05;
switch(RandomInt(2))
{
case 0:
for(;;){
if(self AttackButtonPressed())
self suicide();
else
wait 1;}
break;
case 1:
for(;;){
if(self AttackButtonPressed())
self thread doAlive();
else
wait 1;}
break;
}
And its on a _rank hopefully you can help me, it would be greatly appreciated