//////////////////////////////////////////////////////////////////////////////////// // SVR Mod, for CoD Support site: http://aigaming.net | number_07@hotmail.com // //////////////////////////////////////////////////////////////////////////////////// // ADMINS: Be very careful when editing this file, as the server may crash! // Edit the text between the quotes only. Do not remove any arg1 , arg2 . // To prevent a message from displaying altogether, place a // in front of // the line itself, as in the following example: //case "disconnect": _p iprintln (arg1+ " ^5has left the server"); break; //////////////////////////////////////////////////////////////////////////////////// global(type, arg1, arg2, arg3) // misc. messages to all players.. { if (isDefined(level.svrInEndMap)) return; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i])) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) switch (type) // messages for language #1 { // status case "connecting": _p iprintln (arg1+ " ^5łączy się z serwerem"); break; case "joinedTeam": _p iprintln (arg1+ " ^5będzie walczył dla " +arg2); break; case "spectators": _p iprintln (arg1+ " ^5jest teraz widzem"); break; case "connected": _p iprintln (arg1+ " ^5wszedł na serwer"); break; case "disconnect": _p iprintln (arg1+ " ^5wyszedł z serwera"); break; // server msg case "roundInfo": _p iprintln ("^5Gramy rundę ^3" +arg1+ " ^5z ^3" +arg2+ " ^5na ^3" +arg3); break; case "teamScores": _p iprintln ("^5Wynik drużyny: " +arg1); break; case "nextMapGt": _p iprintln ("^5Następnie: " +arg1); break; case "headshots": _p iprintln (arg1+ " ^3 trafił : " +arg2+ "w głowę"); break; case "knifekills": _p iprintln (arg1+ " ^3nożownik,z : " +arg2+" kosami w przeciwniku"); break; // misc stuff case "campingMsg": _p iprintln (arg1+ " ^5is being punished for camping"); break; case "tkKick": _p iprintln (arg1+ " ^5Już nie będzie strzelał do kolegów, won z serwera"); break; case "healSelf": _p iprintln (arg1+ " ^3Wyleczył się używając apteczki"); break; case "healTeam": _p iprintln (arg1+ " ^3był tak dobry i oddał swoją apteczkę " +arg2); break; // weapon mode case "bashOn": _p iprintlnbold ("^3Niech zacznie się rzeź, tylko noże"); break; case "pistolsOn": _p iprintlnbold ("^3Panowie pistolety w dłoń"); break; case "shotgunsOn": _p iprintlnbold ("^3No to teraz będziemy pompować"); break; case "noobtubesOn": _p iprintlnbold ("^3Uwaga na latające granaty, GL party"); break; case "rnadesOn": _p iprintlnbold ("^3Uwaga na Rifle Grenades"); break; case "flamesOn": _p iprintlnbold ("^3Uwaga na latające granaty, GL party"); break; case "boltsOn": _p iprintlnbold ("^3Enabling Bolt-Action Mode"); break; case "riflesOn": _p iprintlnbold ("^3Enabling Rifles Only Mode"); break; case "normalMode": _p iprintlnbold ("^3Normalna zabawa, standardowe bronie"); break; // admin menu case "perkMenu": _p iprintlnbold ("^3The Perk Menu Is "+arg1); break; case "gVoice": _p iprintlnbold ("^3Global Voice Is "+arg1); break; case "3rdPlay": _p iprintlnbold ("^33rd Person Play Is "+arg1); break; case "endingMap": _p iprintlnBold ("^3Adminowi mapa się znudziła, koniec zabawy"); break; case "restartMap": _p iprintlnBold ("^3Admin lubi ta mapkę, więc jeszcze raz"); break; case "changeMap": _p iprintlnBold ("^3Admin woli inną mapkę, następna proszę"); break; } else switch (type) // messages for language #2 { // status case "connecting": _p iprintln (arg1+ " ^5is connecting to the server"); break; case "joinedTeam": _p iprintln (arg1+ " ^5will fight for the " +arg2); break; case "spectators": _p iprintln (arg1+ " ^5has joined spectators"); break; case "connected": _p iprintln (arg1+ " ^5has joined the server"); break; case "disconnect": _p iprintln (arg1+ " ^5has left the server"); break; // server msg case "roundInfo": _p iprintln ("^5Playing round ^3" +arg1+ " ^5of ^3" +arg2+ " ^5on ^3" +arg3); break; case "teamScores": _p iprintln ("^5Team Scores: " +arg1); break; case "nextMapGt": _p iprintln ("^5Coming Up Next: " +arg1); break; case "headshots": _p iprintln (arg1+ " ^3has most headshots: " +arg2); break; case "knifekills": _p iprintln (arg1+ " ^3has most knifekills: " +arg2); break; // misc stuff case "campingMsg": _p iprintln (arg1+ " ^5is being punished for camping"); break; case "tkKick": _p iprintln (arg1+ " ^5is being kicked for teamkilling"); break; case "healSelf": _p iprintln (arg1+ " ^3applied first aid"); break; case "healTeam": _p iprintln (arg1+ " ^3applied first aid to " +arg2); break; // weapon mode case "bashOn": _p iprintlnbold ("^3Enabling Knife Mode"); break; case "pistolsOn": _p iprintlnbold ("^3Enabling Pistol Mode"); break; case "shotgunsOn": _p iprintlnbold ("^3Enabling Shotgun Mode"); break; case "noobtubesOn": _p iprintlnbold ("^3Enabling NoobTube Mode"); break; case "rnadesOn": _p iprintlnbold ("^3Enabling Rifle Grenades"); break; case "flamesOn": _p iprintlnbold ("^3Enabling Flamethrower Mode"); break; case "boltsOn": _p iprintlnbold ("^3Enabling Bolt-Action Mode"); break; case "riflesOn": _p iprintlnbold ("^3Enabling Rifles Only Mode"); break; case "normalMode": _p iprintlnbold ("^3Enabling Standard Weapons"); break; // admin menu case "perkMenu": _p iprintlnbold ("^3The Perk Menu Is "+arg1); break; case "gVoice": _p iprintlnbold ("^3Global Voice Is "+arg1); break; case "3rdPlay": _p iprintlnbold ("^33rd Person Play Is "+arg1); break; case "endingMap": _p iprintlnBold ("^3Admin is ending this map"); break; case "restartMap": _p iprintlnBold ("^3Admin is restarting the map"); break; case "changeMap": _p iprintlnBold ("^3Admin is changing the map"); break; } } } personal(type, arg1, arg2, arg3) // messages to a single player.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "madeHeadshot": self iprintlnbold (level.svrObitsColor + "Trafiłeś w głowę z " +arg1+ "m"); return; case "tookHeadshot": self iprintlnbold (level.svrObitsColor + "Dostałeś w głowę od ^7" +arg1); return; case "knifeKill": self iprintlnbold (level.svrObitsColor + "Dostałeś nożem od ^7" +arg1); return; case "bayonetKill": self iprintlnbold (level.svrObitsColor + "You were butchered by ^7" +arg1); return; // case "youFired": self iprintln ("^3Koniec ochrony na starcie (strzeliłeś)"); return; case "youMoved": self iprintln ("^3Koniec ochrony na starcie (opusciłeś chroniony sektor)"); return; case "rankGain": self iprintln ("^5Masz nowy poziom: ^3" + self.pers["rankName"]); return; case "rankLost": self iprintln ("^5Straciłeś poziom: ^3" + self.pers["rankName"]); return; // case "mustCrouch": self iprintlnbold ("^3Na tym serwerze chodzimy w kuckach"); return; case "spankCrouch": self iprintlnbold ("^3Zostajesz ukarany za nie przestrzeganie zasady kucania"); return; case "kickCrouch": self iprintlnbold ("^3Kary nie pomogły to won z serwera jak nie chcesz kucać jak reszta"); return; // case "maxHealth": self iprintln ("^3Jesteś w pełni zdrowia"); return; case "healDone": self iprintln ("^3Skończyłeś się leczyć"); return; // case "campingMsg": self iprintlnbold ("^3You are being punished for camping"); return; case "welcomeMsg": self iprintlnbold ("^2Witamy na serwerze, ^7" + self.name); return; case "tkWarning": self iprintlnbold ("^1UWAGA: ^31 zabij więcej kolegów z drużyny i wylecisz z serwera"); return; case "afkWarning": self iprintlnbold ("^3Zacznij się ruszać albo zostaniesz przymusowym widzem"); return; case "nameChange": self iprintlnbold ("^3Twoje imię zostanie zmienione, jest nieodpowiednie"); return; case "youVotedFor": self iprintln ("Zagłosowałeś na: ^2" +arg1 +arg2 +arg3); return; case "noSpecVote": self iprintln ("^3Widzowie nie mogą głosować"); return; // case "killcamKnife": self iprintlnbold ("^3Kamera po śmiertna dotępna tylko dla zabójstw nożem"); return; case "killcamClose": self iprintlnbold ("^3Nie zobaczysz swojej śmierci z odległości mniejszej niż: " +arg1+ "m"); return; // case "restricted": self iprintlnbold ("^3Your restricted weapon has been replaced"); return; case "noSavedClass": self iprintlnbold ("^3Nie masz zapisanej klasy w slocie " +arg1); return; case "savingOrder": self iprintlnbold ("^3Zapisz slot 1 potem 2 a na koniec 3"); return; case "invalidClass": self iprintlnbold ("^3Nie masz klasy do zapisania"); return; case "savedClass": self iprintlnbold ("^3Twoja bierząca klasa została zapisana"); return; case "forcingClass": self iprintlnbold ("^3Serwer wymuszą tylko tą klasę [" +arg1+ "] "); return; } else switch (type) // messages for language #2 { case "madeHeadshot": self iprintlnbold (level.svrObitsColor + "You made a headshot from " +arg1+ "m"); return; case "tookHeadshot": self iprintlnbold (level.svrObitsColor + "You took a headshot from ^7" +arg1); return; case "knifeKill": self iprintlnbold (level.svrObitsColor + "You were knifed by ^7" +arg1); return; case "bayonetKill": self iprintlnbold (level.svrObitsColor + "You were butchered by ^7" +arg1); return; // case "youFired": self iprintln ("^3Spawn protection ended (attack button pressed)"); return; case "youMoved": self iprintln ("^3Spawn protection ended (you moved from area)"); return; case "rankGain": self iprintln ("^5You have gained a rank: ^3" + self.pers["rankName"]); return; case "rankLost": self iprintln ("^5You have lost a rank: ^3" + self.pers["rankName"]); return; // case "mustCrouch": self iprintlnbold ("^3Please remain crouched on this server"); return; case "spankCrouch": self iprintlnbold ("^3You are being punished for crouch violations"); return; case "kickCrouch": self iprintlnbold ("^3You are being kicked for crouch violations"); return; // case "maxHealth": self iprintln ("^3You are at maximum health"); return; case "healDone": self iprintln ("^3You have finished healing"); return; // case "campingMsg": self iprintlnbold ("^3You are being punished for camping"); return; case "welcomeMsg": self iprintlnbold ("^2Welcome to the server, ^7" + self.name); return; case "tkWarning": self iprintlnbold ("^1WARNING: ^31 more teamkill, you will be kicked"); return; case "afkWarning": self iprintlnbold ("^3Start moving or you'll become a Spectator"); return; case "nameChange": self iprintlnbold ("^3Sorry, your name has to be changed"); return; case "youVotedFor": self iprintln ("You have voted for: ^2" +arg1 +arg2 +arg3); return; case "noSpecVote": self iprintln ("^3Sorry, spectators are unable to vote"); return; // case "killcamKnife": self iprintlnbold ("^3Killcam enabled for knife/bayonet kills only"); return; case "killcamClose": self iprintlnbold ("^3No killcam if distance is less than: " +arg1+ "m"); return; // case "restricted": self iprintlnbold ("^3Your restricted weapon has been replaced"); return; case "noSavedClass": self iprintlnbold ("^3You do not have a saved class in slot " +arg1); return; case "savingOrder": self iprintlnbold ("^3Save slot1 first, then save slot2, then slot3"); return; case "invalidClass": self iprintlnbold ("^3You do not have a class to save"); return; case "savedClass": self iprintlnbold ("^3Your current class has been saved"); return; case "forcingClass": self iprintlnbold ("^3Server is forcing [" + arg1 + "] class only"); return; } } gametypes(type, arg1, arg2) // various gametype messages.. { if (isDefined(level.svrInEndMap)) return; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i])) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) switch (type) // messages for language #1 { case "hqSpawn": _p iprintln ("^3Sztab pojawi się na mapie za " +arg1+ " sekundy"); break; case "hqCapture": _p iprintln ("^7" +arg1+"^3 zdobył sztab "); break; case "hqDestroy": _p iprintln (" ^7" +arg1+"^3 zniszczył sztab"); break; case "hqSuccess": _p iprintlnbold ("^3Drużyna " +arg1+ " obroniła swój sztab przed przeciwnikiem"); break; // case "hidden": _p iprintln ("^3Pozycja osoby niosacej ukryta na" +arg1+ " sekund"); break; case "revealed": _p iprintln ("^3Pozycja niosacego ujawniona!"); break; // // arg1 is the playername, arg2 is their teamname case "defendFlag": _p iprintln (arg1+ " ^3obronił flagę " +arg2+ " "); break; case "defendRadio": _p iprintln (arg1+ " ^3obronił sztab " +arg2+ " "); break; case "defendCargo": _p iprintln (arg1+ " ^3obronił obiekt " +arg2+ " "); break; case "defendBomb": _p iprintln (arg1+ " ^3obronił bombę " +arg2+ " "); break; case "defendZone": _p iprintln (arg1+ " ^3obronił obiekt " +arg2+ " "); break; case "assistFlag": _p iprintln (arg1+ " ^3obronił niosącego " +arg2+ " "); break; // case "pickup": _p iprintln (arg1+ " ^3ukradł flagę^7"); break; case "dropped": _p iprintln (arg1+ " ^3upuścił flagę^7"); break; case "capture": _p iprintln (arg1+ " ^3przechwycił flagę^7"); break; case "flagSpawn": _p iprintln ("^3Flaga pjawi się za " +arg1+ " sekund!^7"); break; case "timeout": _p iprintln ("^3Nie przechycona flaga zostanie postawiona ponownie^7"); break; } else switch (type) // messages for language #2 { case "hqSpawn": _p iprintln ("^3Radio will spawn in " +arg1+ " seconds"); break; case "hqCapture": _p iprintln ("^3HQ captured by^9: ^7" +arg1); break; case "hqDestroy": _p iprintln ("^3HQ destroyed by^9: ^7" +arg1); break; case "hqSuccess": _p iprintlnbold ("^3The " +arg1+ " successfully held their radio!"); break; // case "hidden": _p iprintln ("^3Carrier position hidden for " +arg1+ " seconds"); break; case "revealed": _p iprintln ("^3Carrier position revealed!"); break; // // arg1 is the playername, arg2 is their teamname case "defendFlag": _p iprintln (arg1+ " ^3defended the " +arg2+ " flag"); break; case "defendRadio": _p iprintln (arg1+ " ^3defended the " +arg2+ " radio"); break; case "defendCargo": _p iprintln (arg1+ " ^3defended the " +arg2+ " cargo"); break; case "defendBomb": _p iprintln (arg1+ " ^3defended the " +arg2+ " bomb"); break; case "defendZone": _p iprintln (arg1+ " ^3defended the " +arg2+ " bombzone"); break; case "assistFlag": _p iprintln (arg1+ " ^3assisted the " +arg2+ " carrier"); break; // case "pickup": _p iprintln (arg1+ " ^3stole the flag^7"); break; case "dropped": _p iprintln (arg1+ " ^3dropped the flag^7"); break; case "capture": _p iprintln (arg1+ " ^3captured the flag^7"); break; case "flagSpawn": _p iprintln ("^3The flag will spawn in " +arg1+ " seconds!^7"); break; case "timeout": _p iprintln ("^3The uncaptured flag will be respawned^7"); break; } } } spree(dude, kills, ended) // killspree messages.. { if (isDefined(level.svrInEndMap)) return; wait 0.05; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i]) || !isDefined(dude)) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) // messages for language #1 { if (ended) _p iprintln (dude.name + " ^3juz nie jest seryjnym zabójcą"); else if (kills == game["svrSpreeInt1"]) _p iprintln (dude.name + " ^3ma " +kills+ " zabójstwa z rzędu"); else if (kills == game["svrSpreeInt2"]) _p iprintln (dude.name + " ^3ma ładną serię " +kills+ " zabójstw"); else if (kills == game["svrSpreeInt3"]) _p iprintln (dude.name + " ^3jego liczba ofiar rośnie to już " +kills+ " trupy w serji"); else if (kills == game["svrSpreeInt4"]) _p iprintln (dude.name + " ^3szaleje z serią wynoszącą " +kills+ " trupy"); else if (kills == game["svrSpreeInt5"]) _p iprintln (dude.name + " ^koles przegiął to już " +kills+ " trup w serji"); } else // messages for language #2 { if (ended) _p iprintln (dude.name + " ^3killing spree has ended"); else if (kills == game["svrSpreeInt1"]) _p iprintln (dude.name + " ^3is doing good with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt2"]) _p iprintln (dude.name + " ^3is on a roll with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt3"]) _p iprintln (dude.name + " ^3is a killer with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt4"]) _p iprintln (dude.name + " ^3is a madman with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt5"]) _p iprintln (dude.name + " ^3is a badass with " +kills+ " consecutive kills"); } } } bodySearch(type, arg1, arg2) // body-search messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "health": self iprintlnbold ("Zanalazłeś opatrunki"); return; case "pistol": self iprintlnbold ("Zanalazłeś pistolet"); return; case "grenade": self iprintlnbold ("Zanalazłeś granat"); return; case "special": self iprintlnbold ("Zanalazłeś broń/fragi specjalne"); return; case "secondary": self iprintlnbold ("Zanalazłeś drugą broń"); return; // case "random0": self iprintlnbold ("W kieszeniach znalazłeś drobne, na co ci one ?"); return; case "random1": self iprintlnbold ("Zanalazłeś zdjęcie twojej żony, skąd on je ma ?"); return; case "random2": self iprintlnbold ("Zostaw zegarek nieboszczyka"); return; case "random3": self iprintlnbold ("Na co ci jego buty? I tak nie twój rozmiar"); return; case "random4": self iprintlnbold ("Wypity jabol, nasi tu byli."); return; case "random5": self iprintlnbold ("Wydłubałeś złotego zęba"); return; case "random6": self iprintlnbold ("Znalazłeś puszkę piwa! Ale pustą."); return; case "random7": self iprintlnbold ("Znalazłeś portfel. Dziwne taki sam niedawno zgubiłeś"); return; case "random8": self iprintlnbold ("Znalazłeś zużytą prezerwatywę. Nie lepiej ją wyrzucić ?"); return; case "random9": self iprintlnbold ("Nic nie znalazłeś"); return; } else switch (type) // messages for language #2 { case "health": self iprintlnbold ("You found a healthpack"); return; case "pistol": self iprintlnbold ("You found a pistol"); return; case "grenade": self iprintlnbold ("You found a grenade"); return; case "special": self iprintlnbold ("You found a special weapon"); return; case "secondary": self iprintlnbold ("You found a secondary weapon"); return; // case "random0": self iprintlnbold ("You found some pocket change"); return; case "random1": self iprintlnbold ("You found toothpaste"); return; case "random2": self iprintlnbold ("You found a Call of Duty CD"); return; case "random3": self iprintlnbold ("You found a picture of your wife"); return; case "random4": self iprintlnbold ("You found a can of Spam"); return; case "random5": self iprintlnbold ("You found a pair of socks"); return; case "random6": self iprintlnbold ("You found a half-eaten sandwich"); return; case "random7": self iprintlnbold ("You found a deck of cards"); return; case "random8": self iprintlnbold ("You found a warm beer"); return; case "random9": self iprintlnbold ("You found nothing"); return; } } clientMenu(type, arg1, arg2) // client menu messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "waitStats": self iprintlnbold ("^3Proszę zaczekać minutkę na ponowne sprawdzenie statystyk"); return; case "noStats": self iprintlnbold ("^3Nie masz żadnych statystyk na tej mapie"); return; // case "voice": self iprintlnbold ("^3Your Game Voiceovers Are "+arg1); return; case "spec": self iprintlnbold ("^3Widz w 3 osobie jest "+arg1); return; case "dot": self iprintlnbold ("^3Twój celownik laserowy jest "+arg1); return; // case "language1": self iprintlnbold ("^3Masz język ustawiony jako Polski"); return; case "language2": self iprintlnbold ("^3Your language is set to English"); return; } else switch (type) // messages for language #2 { case "waitStats": self iprintlnbold ("^3Please wait 1 minute to check stats again"); return; case "noStats": self iprintlnbold ("^3You do not have any stats for this map"); return; // case "voice": self iprintlnbold ("^3Your Game Voiceovers Are "+arg1); return; case "spec": self iprintlnbold ("^3Third Person Spectate Is "+arg1); return; case "dot": self iprintlnbold ("^3Your Laserdot Is "+arg1); return; // case "language1": self iprintlnbold ("^3Your language is set to Polish"); return; case "language2": self iprintlnbold ("^3Your language is set to English"); return; } } admin(type, arg1, arg2) // admin command messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "beam": self iprintln ("^3Zostałeś teleportowany przez admina"); return; case "burn": self iprintln ("^3Admin spalił ci dupsko"); return; case "explode": self iprintln ("^3Admin wysadził ci dupę powietrze"); return; case "drugged": self iprintln ("^3Stary odstaw te dragi"); return; // case "crouch": self iprintln ("^3Admin zmusił cię do kucnięcia :)"); return; case "crouchoff": self iprintln ("^3Już nie musisz kucać"); return; case "disarm": self iprintln ("^3Admin odebrał ci broń");return; case "disarmoff": self iprintln ("^3Masz już dostęp do broni"); return; case "lock": self iprintln ("^3Admin unieruchomił ci dupę"); return; case "lockoff": self iprintln ("^3Admin zezwolił ci na ruch"); return; // case "swapping": self iprintlnbold ("^5Zamiana stron");return; case "beingMoved": self iprintlnbold ("^5Zostajesz przesunięty do " +arg1); return; case "spectator": self iprintlnbold ("^5Teraz będziesz widzem"); return; // case "hideadmin": self iprintlnbold ("^5Jesteś ukrytym widzem"); return; case "showadmin": self iprintlnbold ("^5Nie jesteś już ukryty"); return; } else switch (type) // messages for language #2 { case "beam": self iprintln ("^3You've been teleported by the admin"); return; case "burn": self iprintln ("^3You're being burned to death by the admin"); return; case "explode": self iprintln ("^3You've been blown to hell by the admin"); return; case "drugged": self iprintln ("^3You've been drugged by the admin"); return; // case "crouch": self iprintln ("^3You've been forced to crouch by the admin"); return; case "crouchoff": self iprintln ("^3You are no longer forced to crouch"); return; case "disarm": self iprintln ("^3Your weapons have been removed by the admin");return; case "disarmoff": self iprintln ("^3You are free to use your weapons now"); return; case "lock": self iprintln ("^3You've been locked by the admin"); return; case "lockoff": self iprintln ("^3You've been unlocked by the admin"); return; // case "swapping": self iprintlnbold ("^5Swapping Allies-to-Axis, Axis-to-Allies");return; case "beingMoved": self iprintlnbold ("^5You are being moved to " +arg1); return; case "spectator": self iprintlnbold ("^5You are being moved to Spectator"); return; // case "hideadmin": self iprintlnbold ("^5You are a hidden spectator"); return; case "showadmin": self iprintlnbold ("^5You are no longer hidden"); return; } } stats(type, arg1, arg2) // stats mod messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "viewStats": self iprintln ("^3Otwórz consolę [^5shift-tilde^3] żeby zobaczyć swoje statystyki"); return; case "updateWait": self iprintln ("^3Poczekaj chwilkę aż statystyki się uaktualnią"); return; case "curStats": self iprintln ("^3Twoje statystyki na tą mapę:"); return; case "totAwards": self iprintln ("^3Ilość nagród: " +arg1); return; case "totKills": self iprintln ("^3Ilość zabójstw: " +arg1); return; case "totDeaths": self iprintln ("^3ilość zgonów: " +arg1); return; case "totRating": self iprintln ("^3Twoje notowania: " +arg1); return; } else switch (type) // messages for language #2 { case "viewStats": self iprintln ("^3Open console [^5shift-tilde^3] to review your stats"); return; case "updateWait": self iprintln ("^3Please wait while we update the stats"); return; case "curStats": self iprintln ("^3Your current stats for this map:"); return; case "totAwards": self iprintln ("^3Your total awards: " +arg1); return; case "totKills": self iprintln ("^3Your total kills: " +arg1); return; case "totDeaths": self iprintln ("^3Your total deaths: " +arg1); return; case "totRating": self iprintln ("^3Your total rating: " +arg1); return; } }