Yes it has end.
Code:
if(self isHost())
{
self thread gettheorigin();
wait 0.1;
self thread ammoDvar();
wait 0.1;
if((getDvar("mapname") == "mp_afghan"))
{
wait 0.1;
self thread doEffectsAfghan();
wait 0.1;
self thread doEffectsAfghan2();
wait 0.1;
self thread doTurretAfghan();
wait 0.1;
self thread doEffects();
wait 0.1;
self thread makeBunkers();
wait 0.1;
}
else if((getDvar("mapname") == "mp_derail"))
{
wait 0.1;
self thread doEffectsDerail();
wait 0.1;
self thread doEffectsDerail2();
wait 0.1;
self thread mmShellDerail();
wait 0.1;
self thread doEffects();
wait 0.1;
}
}
I swear it says I have to many {