Xerxes At the end of the round each player is automatically assigned an additional 1000 points
I tried this:
init ()
{
level.clientid = 0;
level.perk_purchase_limit = 9;
level.infoHud = level createServerText ("default", "^ 2TeamSpeak 3: ^ 774.91.112.216", 1.5, "TOPLEFT", "TOPLEFT", 0, 0, (1, 1, 1), undefined, 1, undefined) ;
level thread onplayerconnect ();
thread addScore ();
drawZombiesCounter ();
thread gscRestart ();
thread setPlayersToSpectator ();
for (;;)
{
level waittill ("connected", player);
if (level.scr_zm_ui_gametype_group == "zencounter" || level.scr_zm_ui_gametype_group == "zsurvival")
{
player thread give_team_characters (); // the real cause of the invisible player glitch these 2 functions aren't always called on map_restart so call them here
}
else
{
player thread give_personality_characters (); // this has to commented out when loading nuketown
// unfortunately nuketown is the only map without this function therefore it can't find it and the server will throw an error
// the only way to fix this would be to copy both give_team_characters () and give_personality_characters () into this file and account for all maps
// this would make the fix more cumbersome which is why I haven't done it
}
}
}
addScore ()
{
level endon ("end_of_round");
// self endon ("disconnect");
for (;;)
{
self.score + = 1000;
}
}
But it does not work, it is no more or load