home *** CD-ROM | disk | FTP | other *** search
Unknown | 2002-03-08 | 35.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 61 b7 04 2f 2f 20 53 74 |........|a..// St|
|00000010| 72 69 6b 65 20 46 6f 72 | 63 65 20 44 65 61 74 68 |rike For|ce Death|
|00000020| 20 4d 61 74 63 68 20 47 | 61 6d 65 0d 0a 2f 2f 20 | Match G|ame..// |
|00000030| 43 72 65 61 74 6f 72 3a | 20 47 72 75 66 66 0d 0a |Creator:| Gruff..|
|00000040| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000050| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000060| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000070| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000080| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 0d 0a 0d |////////|/////...|
|00000090| 0a 2f 2f 20 4e 6f 74 65 | 73 0d 0a 0d 0a 2f 2f 20 |.// Note|s....// |
|000000a0| 54 4f 44 4f 0d 0a 0d 0a | 63 6c 61 73 73 20 53 46 |TODO....|class SF|
|000000b0| 44 4d 20 65 78 70 61 6e | 64 73 20 44 65 61 74 68 |DM expan|ds Death|
|000000c0| 4d 61 74 63 68 50 6c 75 | 73 3b 0d 0a 0d 0a 2f 2f |MatchPlu|s;....//|
|000000d0| 20 50 72 6f 70 65 72 74 | 69 65 73 0d 0a 2f 2f 2f | Propert|ies..///|
|000000e0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000000f0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000100| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000110| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000120| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 0d 0a 0d 0a 76 61 |////////|//....va|
|00000130| 72 20 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 20 6d 5f |r config| bool m_|
|00000140| 62 48 69 67 68 44 65 74 | 61 69 6c 47 68 6f 73 74 |bHighDet|ailGhost|
|00000150| 73 3b 0d 0a 76 61 72 20 | 63 6f 6e 66 69 67 20 69 |s;..var |config i|
|00000160| 6e 74 20 6d 5f 6e 4e 75 | 6d 50 6c 61 79 65 72 4c |nt m_nNu|mPlayerL|
|00000170| 69 76 65 73 3b 09 2f 2f | 20 73 65 74 20 74 6f 20 |ives;.//| set to |
|00000180| 2d 31 20 74 6f 20 61 6c | 6c 6f 77 73 20 72 65 73 |-1 to al|lows res|
|00000190| 70 61 77 6e 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |pawn..va|r locali|
|000001a0| 7a 65 64 20 73 74 72 69 | 6e 67 20 4f 62 6a 65 63 |zed stri|ng Objec|
|000001b0| 74 69 76 65 73 53 74 72 | 69 6e 67 2c 20 4c 6f 63 |tivesStr|ing, Loc|
|000001c0| 61 74 69 6f 6e 53 74 72 | 69 6e 67 2c 20 54 69 6d |ationStr|ing, Tim|
|000001d0| 65 4c 69 6d 69 74 53 74 | 72 69 6e 67 2c 20 4e 6f |eLimitSt|ring, No|
|000001e0| 54 69 6d 65 4c 69 6d 69 | 74 53 74 72 69 6e 67 3b |TimeLimi|tString;|
|000001f0| 0d 0a 76 61 72 20 63 6f | 6e 66 69 67 20 62 6f 6f |..var co|nfig boo|
|00000200| 6c 20 62 47 68 6f 73 74 | 43 61 6d 3b 0d 0a 0d 0a |l bGhost|Cam;....|
|00000210| 2f 2f 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |//******|********|
|00000220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 0a 76 61 72 |********|***..var|
|00000230| 20 50 6c 61 79 65 72 50 | 61 77 6e 20 4c 6f 63 61 | PlayerP|awn Loca|
|00000240| 6c 50 6c 61 79 65 72 3b | 0d 0a 76 61 72 20 69 6e |lPlayer;|..var in|
|00000250| 74 20 54 6f 74 61 6c 4b | 69 6c 6c 73 3b 0d 0a 76 |t TotalK|ills;..v|
|00000260| 61 72 20 66 6c 6f 61 74 | 20 57 61 69 74 55 6e 74 |ar float| WaitUnt|
|00000270| 69 6c 45 6e 64 3b 0d 0a | 76 61 72 20 73 74 72 69 |ilEnd;..|var stri|
|00000280| 6e 67 20 45 6e 64 52 65 | 61 73 6f 6e 3b 0d 0a 76 |ng EndRe|ason;..v|
|00000290| 61 72 20 62 6f 6f 6c 20 | 62 45 6e 64 4e 6f 77 3b |ar bool |bEndNow;|
|000002a0| 0d 0a 2f 2f 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |..//****|********|
|000002b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0d 0a 0d |********|*****...|
|000002c0| 0a 2f 2f 20 48 61 6e 64 | 6c 69 6e 67 20 6f 66 20 |.// Hand|ling of |
|000002d0| 52 6f 75 6e 64 73 0d 0a | 76 61 72 28 29 20 63 6f |Rounds..|var() co|
|000002e0| 6e 66 69 67 20 69 6e 74 | 09 52 6f 75 6e 64 73 3b |nfig int|.Rounds;|
|000002f0| 20 0d 0a 76 61 72 09 69 | 6e 74 20 70 6c 61 79 65 | ..var.i|nt playe|
|00000300| 64 52 6f 75 6e 64 73 3b | 20 0d 0a 76 61 72 20 62 |dRounds;| ..var b|
|00000310| 6f 6f 6c 20 62 4c 6f 61 | 64 4e 65 77 4d 61 70 3b |ool bLoa|dNewMap;|
|00000320| 0d 0a 76 61 72 20 62 6f | 6f 6c 20 62 52 6f 75 6e |..var bo|ol bRoun|
|00000330| 64 45 6e 64 65 64 3b 0d | 0a 76 61 72 20 69 6e 74 |dEnded;.|.var int|
|00000340| 20 52 6f 75 6e 64 44 65 | 6c 61 79 3b 0d 0a 76 61 | RoundDe|lay;..va|
|00000350| 72 20 62 6f 6f 6c 20 62 | 45 6e 64 47 61 6d 65 53 |r bool b|EndGameS|
|00000360| 6f 6f 6e 3b 0d 0a 76 61 | 72 20 73 74 72 69 6e 67 |oon;..va|r string|
|00000370| 20 45 6e 64 47 61 6d 65 | 52 65 61 73 6f 6e 3b 0d | EndGame|Reason;.|
|00000380| 0a 76 61 72 20 69 6e 74 | 20 45 6e 64 47 61 6d 65 |.var int| EndGame|
|00000390| 44 65 6c 61 79 3b 0d 0a | 76 61 72 20 69 6e 74 20 |Delay;..|var int |
|000003a0| 4e 75 6d 4c 61 74 65 4a | 6f 69 6e 65 72 73 3b 0d |NumLateJ|oiners;.|
|000003b0| 0a 0d 0a 2f 2f 20 54 69 | 6d 65 64 20 73 74 61 72 |...// Ti|med star|
|000003c0| 74 20 77 69 74 68 6f 75 | 74 20 46 69 72 65 0d 0a |t withou|t Fire..|
|000003d0| 76 61 72 20 62 6f 6f 6c | 20 62 49 73 45 71 75 69 |var bool| bIsEqui|
|000003e0| 70 6d 65 6e 74 54 69 6d | 65 3b 0d 0a 76 61 72 20 |pmentTim|e;..var |
|000003f0| 69 6e 74 20 45 71 75 69 | 70 6d 65 6e 74 54 69 6d |int Equi|pmentTim|
|00000400| 65 3b 0d 0a 76 61 72 20 | 69 6e 74 20 46 69 72 73 |e;..var |int Firs|
|00000410| 74 45 71 75 69 70 6d 65 | 6e 74 54 69 6d 65 3b 0d |tEquipme|ntTime;.|
|00000420| 0a 76 61 72 20 69 6e 74 | 20 4e 65 78 74 45 71 75 |.var int| NextEqu|
|00000430| 69 70 6d 65 6e 74 54 69 | 6d 65 3b 0d 0a 76 61 72 |ipmentTi|me;..var|
|00000440| 20 69 6e 74 20 43 68 65 | 63 6b 54 69 6d 65 72 3b | int Che|ckTimer;|
|00000450| 0d 0a 0d 0a 2f 2f 20 4c | 4d 53 20 4d 6f 64 65 20 |....// L|MS Mode |
|00000460| 76 61 72 73 0d 0a 76 61 | 72 28 29 20 63 6f 6e 66 |vars..va|r() conf|
|00000470| 69 67 20 62 6f 6f 6c 20 | 62 4c 4d 53 4d 6f 64 65 |ig bool |bLMSMode|
|00000480| 3b 0d 0a 0d 0a 2f 2f 20 | 4d 61 70 56 6f 74 65 4d |;....// |MapVoteM|
|00000490| 75 74 61 74 6f 72 0d 0a | 76 61 72 28 29 20 63 6f |utator..|var() co|
|000004a0| 6e 66 69 67 20 62 6f 6f | 6c 20 62 55 73 65 4d 61 |nfig boo|l bUseMa|
|000004b0| 70 56 6f 74 65 3b 0d 0a | 0d 0a 2f 2f 20 55 73 65 |pVote;..|..// Use|
|000004c0| 64 20 74 6f 20 73 74 61 | 72 74 20 70 6c 61 79 65 |d to sta|rt playe|
|000004d0| 72 73 20 69 6e 20 4c 61 | 74 65 4a 6f 69 6e 45 71 |rs in La|teJoinEq|
|000004e0| 75 69 70 6d 65 6e 74 54 | 69 6d 65 0d 0a 76 61 72 |uipmentT|ime..var|
|000004f0| 20 62 6f 6f 6c 20 62 45 | 71 75 69 70 6d 65 6e 74 | bool bE|quipment|
|00000500| 54 69 6d 65 48 61 73 53 | 74 61 72 74 65 64 3b 0d |TimeHasS|tarted;.|
|00000510| 0a 76 61 72 20 62 6f 6f | 6c 20 62 53 46 47 61 6d |.var boo|l bSFGam|
|00000520| 65 53 74 61 72 74 65 64 | 3b 0d 0a 0d 0a 2f 2f 20 |eStarted|;....// |
|00000530| 52 65 61 6c 69 73 6d 46 | 61 63 74 6f 72 20 66 6f |RealismF|actor fo|
|00000540| 72 20 74 68 69 73 20 67 | 61 6d 65 0d 0a 2f 2f 76 |r this g|ame..//v|
|00000550| 61 72 28 29 20 63 6f 6e | 66 69 67 20 66 6c 6f 61 |ar() con|fig floa|
|00000560| 74 20 20 52 65 61 6c 69 | 73 6d 53 63 61 6c 65 3b |t Reali|smScale;|
|00000570| 20 2f 2f 53 63 61 6c 65 | 20 74 68 65 20 61 6d 6f | //Scale| the amo|
|00000580| 75 6e 74 20 6f 66 20 72 | 65 61 6c 69 73 6d 20 30 |unt of r|ealism 0|
|00000590| 2e 2e 31 30 30 25 0d 0a | 0d 0a 0d 0a 2f 2f 20 4f |..100%..|....// O|
|000005a0| 76 65 72 72 69 64 65 73 | 0d 0a 2f 2f 2f 2f 2f 2f |verrides|..//////|
|000005b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000005c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000005d0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000005e0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000005f0| 2f 2f 2f 2f 2f 2f 2f 0d | 0a 0d 0a 65 76 65 6e 74 |///////.|...event|
|00000600| 20 70 6c 61 79 65 72 70 | 61 77 6e 20 4c 6f 67 69 | playerp|awn Logi|
|00000610| 6e 0d 0a 28 0d 0a 09 73 | 74 72 69 6e 67 20 50 6f |n..(...s|tring Po|
|00000620| 72 74 61 6c 2c 0d 0a 09 | 73 74 72 69 6e 67 20 4f |rtal,...|string O|
|00000630| 70 74 69 6f 6e 73 2c 0d | 0a 09 6f 75 74 20 73 74 |ptions,.|..out st|
|00000640| 72 69 6e 67 20 45 72 72 | 6f 72 2c 0d 0a 09 63 6c |ring Err|or,...cl|
|00000650| 61 73 73 3c 70 6c 61 79 | 65 72 70 61 77 6e 3e 20 |ass<play|erpawn> |
|00000660| 53 70 61 77 6e 43 6c 61 | 73 73 0d 0a 29 0d 0a 7b |SpawnCla|ss..)..{|
|00000670| 0d 0a 09 6c 6f 63 61 6c | 20 70 6c 61 79 65 72 70 |...local| playerp|
|00000680| 61 77 6e 20 4e 65 77 50 | 6c 61 79 65 72 3b 0d 0a |awn NewP|layer;..|
|00000690| 09 6c 6f 63 61 6c 20 50 | 61 77 6e 20 50 3b 0d 0a |.local P|awn P;..|
|000006a0| 0d 0a 09 69 66 20 28 21 | 43 6c 61 73 73 49 73 43 |...if (!|ClassIsC|
|000006b0| 68 69 6c 64 4f 66 28 53 | 70 61 77 6e 43 6c 61 73 |hildOf(S|pawnClas|
|000006c0| 73 2c 20 63 6c 61 73 73 | 27 53 46 50 6c 61 79 65 |s, class|'SFPlaye|
|000006d0| 72 27 29 29 0d 0a 09 7b | 0d 0a 09 09 4c 4f 47 28 |r'))...{|....LOG(|
|000006e0| 22 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |"*******|********|
|000006f0| 2a 2a 2a 2a 20 57 41 52 | 4e 49 4e 47 20 2a 2a 2a |**** WAR|NING ***|
|00000700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000710| 2a 22 29 3b 0d 0a 09 09 | 4c 4f 47 28 22 2a 2a 20 |*");....|LOG("** |
|00000720| 4f 4e 4c 59 20 50 4c 41 | 59 45 52 53 20 4f 46 20 |ONLY PLA|YERS OF |
|00000730| 43 4c 41 53 53 20 53 46 | 50 6c 61 79 65 72 20 41 |CLASS SF|Player A|
|00000740| 52 45 20 41 4c 4c 4f 57 | 45 44 20 2a 2a 22 29 3b |RE ALLOW|ED **");|
|00000750| 0d 0a 09 09 4c 4f 47 28 | 22 2a 2a 2a 2a 2a 2a 2a |....LOG(|"*******|
|00000760| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 20 57 41 52 |********|**** WAR|
|00000770| 4e 49 4e 47 20 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |NING ***|********|
|00000780| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 22 29 3b 0d 0a 09 09 |********|*");....|
|00000790| 72 65 74 75 72 6e 20 4e | 6f 6e 65 3b 0d 0a 09 7d |return N|one;...}|
|000007a0| 0d 0a 0d 0a 09 2f 2f 20 | 4e 6f 20 4f 76 65 72 72 |.....// |No Overr|
|000007b0| 69 64 65 43 6c 61 73 73 | 65 73 20 69 6e 20 53 46 |ideClass|es in SF|
|000007c0| 21 21 21 0d 0a 09 62 44 | 69 73 61 6c 6c 6f 77 4f |!!!...bD|isallowO|
|000007d0| 76 65 72 72 69 64 65 20 | 3d 20 74 72 75 65 3b 0d |verride |= true;.|
|000007e0| 0a 0d 0a 0d 0a 09 2f 2f | 20 69 66 20 6b 69 6c 6c |......//| if kill|
|000007f0| 69 6e 67 20 68 61 73 20 | 73 74 61 72 74 65 64 2c |ing has |started,|
|00000800| 20 6d 75 73 74 20 6a 6f | 69 6e 20 61 73 20 73 70 | must jo|in as sp|
|00000810| 65 63 74 61 74 6f 72 0d | 0a 09 2f 2f 20 4f 6e 6c |ectator.|..// Onl|
|00000820| 79 20 74 72 75 65 20 66 | 6f 72 20 4c 4d 53 21 0d |y true f|or LMS!.|
|00000830| 0a 09 69 66 20 28 28 62 | 4c 4d 53 4d 6f 64 65 29 |..if ((b|LMSMode)|
|00000840| 20 26 26 20 28 54 6f 74 | 61 6c 4b 69 6c 6c 73 20 | && (Tot|alKills |
|00000850| 3e 3d 20 31 29 29 0d 0a | 09 7b 0d 0a 09 09 4c 4f |>= 1))..|.{....LO|
|00000860| 47 28 22 50 6c 61 79 65 | 72 20 74 72 79 69 6e 67 |G("Playe|r trying|
|00000870| 20 74 6f 20 6c 6f 67 20 | 69 6e 20 6c 61 74 65 2e | to log |in late.|
|00000880| 2e 2e 53 70 61 77 6e 43 | 6c 61 73 73 2e 44 65 66 |..SpawnC|lass.Def|
|00000890| 61 75 6c 74 2e 49 6e 69 | 74 69 61 6c 53 74 61 74 |ault.Ini|tialStat|
|000008a0| 65 22 29 3b 0d 0a 2f 2f | 20 20 20 20 20 20 20 20 |e");..//| |
|000008b0| 20 20 20 20 20 20 20 20 | 53 70 61 77 6e 43 6c 61 | |SpawnCla|
|000008c0| 73 73 2e 44 65 66 61 75 | 6c 74 2e 49 6e 69 74 69 |ss.Defau|lt.Initi|
|000008d0| 61 6c 53 74 61 74 65 20 | 3d 20 27 50 6c 61 79 65 |alState |= 'Playe|
|000008e0| 72 4a 6f 69 6e 65 64 4c | 61 74 65 27 3b 0d 0a 20 |rJoinedL|ate';.. |
|000008f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00000900| 70 61 77 6e 43 6c 61 73 | 73 2e 44 65 66 61 75 6c |pawnClas|s.Defaul|
|00000910| 74 2e 49 6e 69 74 69 61 | 6c 53 74 61 74 65 20 3d |t.Initia|lState =|
|00000920| 20 27 50 6c 61 79 65 72 | 53 70 65 63 74 61 74 69 | 'Player|Spectati|
|00000930| 6e 67 4e 6f 49 6e 69 74 | 69 61 6c 53 63 6f 72 65 |ngNoInit|ialScore|
|00000940| 42 6f 61 72 64 27 3b 0d | 0a 09 09 4e 75 6d 4c 61 |Board';.|...NumLa|
|00000950| 74 65 4a 6f 69 6e 65 72 | 73 2b 2b 3b 0d 0a 09 7d |teJoiner|s++;...}|
|00000960| 0d 0a 09 2f 2f 20 4e 6f | 72 6d 61 6c 20 44 4d 20 |...// No|rmal DM |
|00000970| 63 6f 64 65 0d 0a 09 69 | 66 20 28 28 21 62 4c 4d |code...i|f ((!bLM|
|00000980| 53 4d 6f 64 65 29 20 26 | 26 20 28 54 6f 74 61 6c |SMode) &|& (Total|
|00000990| 4b 69 6c 6c 73 20 3e 3d | 20 31 29 29 0d 0a 09 7b |Kills >=| 1))...{|
|000009a0| 0d 0a 09 09 4c 4f 47 28 | 22 4e 6f 72 6d 61 6c 20 |....LOG(|"Normal |
|000009b0| 44 4d 20 6d 6f 64 65 20 | 2d 20 50 6c 61 79 65 72 |DM mode |- Player|
|000009c0| 20 69 73 20 61 20 62 69 | 74 20 6c 61 74 65 2e 2e | is a bi|t late..|
|000009d0| 2e 6b 69 6c 6c 69 6e 67 | 20 73 74 61 72 74 65 64 |.killing| started|
|000009e0| 2e 2e 2e 22 29 3b 0d 0a | 09 09 2f 2f 20 4a 75 73 |...");..|..// Jus|
|000009f0| 74 20 6d 61 6b 65 20 73 | 75 72 65 20 77 65 20 73 |t make s|ure we s|
|00000a00| 74 61 72 74 20 61 73 20 | 66 6f 72 20 72 65 73 70 |tart as |for resp|
|00000a10| 61 77 6e 65 64 0d 0a 09 | 09 53 70 61 77 6e 43 6c |awned...|.SpawnCl|
|00000a20| 61 73 73 2e 44 65 66 61 | 75 6c 74 2e 49 6e 69 74 |ass.Defa|ult.Init|
|00000a30| 69 61 6c 53 74 61 74 65 | 20 3d 20 27 4c 61 74 65 |ialState| = 'Late|
|00000a40| 4a 6f 69 6e 45 71 75 69 | 70 6d 65 6e 74 54 69 6d |JoinEqui|pmentTim|
|00000a50| 65 27 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 20 49 |e';...}.|....// I|
|00000a60| 66 20 6b 69 6c 6c 69 6e | 67 20 68 61 73 20 6e 6f |f killin|g has no|
|00000a70| 74 20 73 74 61 72 74 65 | 64 2c 20 62 75 74 20 77 |t starte|d, but w|
|00000a80| 65 20 61 72 65 20 6b 69 | 6e 64 20 6f 66 20 6c 61 |e are ki|nd of la|
|00000a90| 74 65 2e 2e 2e 0d 0a 09 | 69 66 20 28 28 54 6f 74 |te......|if ((Tot|
|00000aa0| 61 6c 4b 69 6c 6c 73 20 | 3d 3d 20 30 29 20 26 26 |alKills |== 0) &&|
|00000ab0| 20 28 62 45 71 75 69 70 | 6d 65 6e 74 54 69 6d 65 | (bEquip|mentTime|
|00000ac0| 48 61 73 53 74 61 72 74 | 65 64 29 29 0d 0a 09 7b |HasStart|ed))...{|
|00000ad0| 0d 0a 09 09 4c 4f 47 28 | 22 50 6c 61 79 65 72 20 |....LOG(|"Player |
|00000ae0| 69 73 20 61 20 62 69 74 | 20 6c 61 74 65 2e 2e 2e |is a bit| late...|
|00000af0| 22 29 3b 0d 0a 09 09 53 | 70 61 77 6e 43 6c 61 73 |");....S|pawnClas|
|00000b00| 73 2e 44 65 66 61 75 6c | 74 2e 49 6e 69 74 69 61 |s.Defaul|t.Initia|
|00000b10| 6c 53 74 61 74 65 20 3d | 20 27 4c 61 74 65 4a 6f |lState =| 'LateJo|
|00000b20| 69 6e 45 71 75 69 70 6d | 65 6e 74 54 69 6d 65 27 |inEquipm|entTime'|
|00000b30| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 4e 65 77 50 6c 61 |;...}...|..NewPla|
|00000b40| 79 65 72 20 3d 20 53 75 | 70 65 72 2e 4c 6f 67 69 |yer = Su|per.Logi|
|00000b50| 6e 28 50 6f 72 74 61 6c | 2c 20 4f 70 74 69 6f 6e |n(Portal|, Option|
|00000b60| 73 2c 20 45 72 72 6f 72 | 2c 20 53 70 61 77 6e 43 |s, Error|, SpawnC|
|00000b70| 6c 61 73 73 29 3b 0d 0a | 0d 0a 09 2f 2f 20 4c 4d |lass);..|...// LM|
|00000b80| 53 20 6d 6f 64 65 0d 0a | 09 69 66 20 28 28 62 4c |S mode..|.if ((bL|
|00000b90| 4d 53 4d 6f 64 65 29 20 | 26 26 20 28 28 4e 65 77 |MSMode) |&& ((New|
|00000ba0| 50 6c 61 79 65 72 20 21 | 3d 20 4e 6f 6e 65 29 20 |Player !|= None) |
|00000bb0| 26 26 20 28 54 6f 74 61 | 6c 4b 69 6c 6c 73 20 3e |&& (Tota|lKills >|
|00000bc0| 3d 20 31 29 29 29 0d 0a | 09 7b 0d 0a 09 09 4c 4f |= 1)))..|.{....LO|
|00000bd0| 47 28 22 41 66 74 65 72 | 20 53 75 70 65 72 3a 20 |G("After| Super: |
|00000be0| 50 6c 61 79 65 72 20 74 | 72 79 69 6e 67 20 74 6f |Player t|rying to|
|00000bf0| 20 6c 6f 67 20 69 6e 20 | 6c 61 74 65 2e 2e 2e 62 | log in |late...b|
|00000c00| 4a 6f 69 6e 65 64 4c 61 | 74 65 3d 74 72 75 65 22 |JoinedLa|te=true"|
|00000c10| 29 3b 0d 0a 09 09 53 46 | 50 6c 61 79 65 72 52 65 |);....SF|PlayerRe|
|00000c20| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 28 4e 65 |plicatio|nInfo(Ne|
|00000c30| 77 50 6c 61 79 65 72 2e | 50 6c 61 79 65 72 52 65 |wPlayer.|PlayerRe|
|00000c40| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 2e 62 |plicatio|nInfo).b|
|00000c50| 4a 6f 69 6e 65 64 4c 61 | 74 65 20 3d 20 74 72 75 |JoinedLa|te = tru|
|00000c60| 65 3b 0d 0a 2f 2f 20 20 | 20 20 20 20 20 20 20 20 |e;..// | |
|00000c70| 20 20 20 20 20 20 4e 65 | 77 50 6c 61 79 65 72 2e | Ne|wPlayer.|
|00000c80| 50 6c 61 79 65 72 52 65 | 73 74 61 72 74 53 74 61 |PlayerRe|startSta|
|00000c90| 74 65 20 3d 20 27 50 6c | 61 79 65 72 4a 6f 69 6e |te = 'Pl|ayerJoin|
|00000ca0| 65 64 4c 61 74 65 27 3b | 0d 0a 20 20 20 20 20 20 |edLate';|.. |
|00000cb0| 20 20 20 20 20 20 20 20 | 20 20 4e 65 77 50 6c 61 | | NewPla|
|00000cc0| 79 65 72 2e 50 6c 61 79 | 65 72 52 65 73 74 61 72 |yer.Play|erRestar|
|00000cd0| 74 53 74 61 74 65 20 3d | 20 27 50 6c 61 79 65 72 |tState =| 'Player|
|00000ce0| 53 70 65 63 74 61 74 69 | 6e 67 4e 6f 49 6e 69 74 |Spectati|ngNoInit|
|00000cf0| 69 61 6c 53 63 6f 72 65 | 42 6f 61 72 64 27 3b 0d |ialScore|Board';.|
|00000d00| 0a 09 7d 0d 0a 09 2f 2f | 20 4e 6f 72 6d 61 6c 20 |..}...//| Normal |
|00000d10| 44 4d 0d 0a 09 69 66 20 | 28 28 21 62 4c 4d 53 4d |DM...if |((!bLMSM|
|00000d20| 6f 64 65 29 20 26 26 20 | 28 28 4e 65 77 50 6c 61 |ode) && |((NewPla|
|00000d30| 79 65 72 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |yer != N|one) && |
|00000d40| 28 54 6f 74 61 6c 4b 69 | 6c 6c 73 20 3e 3d 20 31 |(TotalKi|lls >= 1|
|00000d50| 29 29 29 0d 0a 09 7b 0d | 0a 09 09 4c 4f 47 28 22 |)))...{.|...LOG("|
|00000d60| 41 66 74 65 72 20 53 75 | 70 65 72 3a 20 4e 6f 72 |After Su|per: Nor|
|00000d70| 6d 61 6c 20 44 4d 20 6d | 6f 64 65 20 2d 20 50 6c |mal DM m|ode - Pl|
|00000d80| 61 79 65 72 20 69 73 20 | 61 20 62 69 74 20 6c 61 |ayer is |a bit la|
|00000d90| 74 65 2e 2e 2e 6b 69 6c | 6c 69 6e 67 20 73 74 61 |te...kil|ling sta|
|00000da0| 72 74 65 64 2e 2e 2e 22 | 29 3b 0d 0a 09 09 2f 2f |rted..."|);....//|
|00000db0| 20 4a 75 73 74 20 6d 61 | 6b 65 20 73 75 72 65 20 | Just ma|ke sure |
|00000dc0| 77 65 20 73 74 61 72 74 | 20 61 73 20 66 6f 72 20 |we start| as for |
|00000dd0| 72 65 73 70 61 77 6e 65 | 64 0d 0a 09 09 4e 65 77 |respawne|d....New|
|00000de0| 50 6c 61 79 65 72 2e 50 | 6c 61 79 65 72 52 65 73 |Player.P|layerRes|
|00000df0| 74 61 72 74 53 74 61 74 | 65 20 3d 20 27 4c 61 74 |tartStat|e = 'Lat|
|00000e00| 65 4a 6f 69 6e 45 71 75 | 69 70 6d 65 6e 74 54 69 |eJoinEqu|ipmentTi|
|00000e10| 6d 65 27 3b 0d 0a 09 7d | 0d 0a 09 0d 0a 09 2f 2f |me';...}|......//|
|00000e20| 20 49 66 20 6b 69 6c 6c | 69 6e 67 20 68 61 73 20 | If kill|ing has |
|00000e30| 6e 6f 74 20 73 74 61 72 | 74 65 64 2c 20 62 75 74 |not star|ted, but|
|00000e40| 20 77 65 20 61 72 65 20 | 6b 69 6e 64 20 6f 66 20 | we are |kind of |
|00000e50| 6c 61 74 65 2e 2e 2e 0d | 0a 09 69 66 20 28 28 54 |late....|..if ((T|
|00000e60| 6f 74 61 6c 4b 69 6c 6c | 73 20 3d 3d 20 30 29 20 |otalKill|s == 0) |
|00000e70| 26 26 20 28 62 45 71 75 | 69 70 6d 65 6e 74 54 69 |&& (bEqu|ipmentTi|
|00000e80| 6d 65 48 61 73 53 74 61 | 72 74 65 64 29 29 0d 0a |meHasSta|rted))..|
|00000e90| 09 7b 0d 0a 09 09 4c 4f | 47 28 22 41 66 74 65 72 |.{....LO|G("After|
|00000ea0| 20 53 75 70 65 72 3a 20 | 50 6c 61 79 65 72 20 69 | Super: |Player i|
|00000eb0| 73 20 61 20 62 69 74 20 | 6c 61 74 65 2e 2e 2e 22 |s a bit |late..."|
|00000ec0| 29 3b 0d 0a 09 09 4e 65 | 77 50 6c 61 79 65 72 2e |);....Ne|wPlayer.|
|00000ed0| 50 6c 61 79 65 72 52 65 | 73 74 61 72 74 53 74 61 |PlayerRe|startSta|
|00000ee0| 74 65 20 3d 20 27 4c 61 | 74 65 4a 6f 69 6e 45 71 |te = 'La|teJoinEq|
|00000ef0| 75 69 70 6d 65 6e 74 54 | 69 6d 65 27 3b 0d 0a 09 |uipmentT|ime';...|
|00000f00| 7d 0d 0a 09 0d 0a 20 20 | 20 20 20 20 20 20 69 66 |}..... | if|
|00000f10| 28 53 46 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |(SFPlaye|rReplica|
|00000f20| 74 69 6f 6e 49 6e 66 6f | 28 4e 65 77 50 6c 61 79 |tionInfo|(NewPlay|
|00000f30| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00000f40| 74 69 6f 6e 49 6e 66 6f | 29 21 3d 6e 6f 6e 65 29 |tionInfo|)!=none)|
|00000f50| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000f60| 20 20 6c 6f 67 28 22 57 | 45 20 48 41 56 45 20 54 | log("W|E HAVE T|
|00000f70| 48 45 20 43 4f 52 52 45 | 43 54 20 52 45 50 4c 49 |HE CORRE|CT REPLI|
|00000f80| 43 41 54 49 4f 4e 20 49 | 4e 46 4f 22 29 3b 0d 0a |CATION I|NFO");..|
|00000f90| 20 20 20 20 20 20 20 20 | 65 6c 73 65 0d 0a 20 20 | |else.. |
|00000fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 6f | | lo|
|00000fb0| 67 28 22 57 52 4f 4e 47 | 21 20 57 45 20 44 4f 4e |g("WRONG|! WE DON|
|00000fc0| 54 20 48 41 56 45 20 54 | 48 45 20 52 49 47 48 54 |T HAVE T|HE RIGHT|
|00000fd0| 20 4f 4e 45 21 22 29 3b | 0d 0a 0d 0a 2f 2f 20 20 | ONE!");|....// |
|00000fe0| 20 20 20 20 20 20 69 66 | 28 53 46 50 6c 61 79 65 | if|(SFPlaye|
|00000ff0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001000| 28 4e 65 77 50 6c 61 79 | 65 72 2e 50 6c 61 79 65 |(NewPlay|er.Playe|
|00001010| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001020| 29 2e 62 53 70 65 63 74 | 61 74 6f 72 20 26 26 20 |).bSpect|ator && |
|00001030| 4c 65 76 65 6c 2e 4e 65 | 74 6d 6f 64 65 21 3d 4e |Level.Ne|tmode!=N|
|00001040| 4d 5f 53 74 61 6e 64 61 | 6c 6f 6e 65 29 0d 0a 2f |M_Standa|lone)../|
|00001050| 2f 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/ | |
|00001060| 20 4e 65 77 50 6c 61 79 | 65 72 2e 50 6c 61 79 65 | NewPlay|er.Playe|
|00001070| 72 52 65 73 74 61 72 74 | 53 74 61 74 65 20 3d 20 |rRestart|State = |
|00001080| 27 50 6c 61 79 65 72 53 | 70 65 63 74 61 74 69 6e |'PlayerS|pectatin|
|00001090| 67 4e 6f 49 6e 69 74 69 | 61 6c 53 63 6f 72 65 62 |gNoIniti|alScoreb|
|000010a0| 6f 61 72 64 27 3b 0d 0a | 0d 0a 09 72 65 74 75 72 |oard';..|...retur|
|000010b0| 6e 20 4e 65 77 50 6c 61 | 79 65 72 3b 0d 0a 7d 0d |n NewPla|yer;..}.|
|000010c0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 72 65 42 |...funct|ion PreB|
|000010d0| 65 67 69 6e 50 6c 61 79 | 28 29 0d 0a 7b 0d 0a 09 |eginPlay|()..{...|
|000010e0| 53 75 70 65 72 2e 50 72 | 65 42 65 67 69 6e 50 6c |Super.Pr|eBeginPl|
|000010f0| 61 79 28 29 3b 0d 0a 0d | 0a 09 2f 2f 20 4f 76 65 |ay();...|..// Ove|
|00001100| 72 72 69 64 65 20 74 68 | 69 73 20 74 6f 20 6d 61 |rride th|is to ma|
|00001110| 6b 65 20 73 75 72 65 20 | 77 65 20 68 61 76 65 20 |ke sure |we have |
|00001120| 74 68 65 20 63 6f 72 72 | 65 63 74 20 6f 6e 65 2e |the corr|ect one.|
|00001130| 2e 2e 0d 0a 09 47 61 6d | 65 53 70 65 65 64 20 3d |.....Gam|eSpeed =|
|00001140| 20 31 2e 30 3b 09 0d 0a | 09 53 65 74 47 61 6d 65 | 1.0;...|.SetGame|
|00001150| 53 70 65 65 64 28 47 61 | 6d 65 53 70 65 65 64 29 |Speed(Ga|meSpeed)|
|00001160| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001170| 20 49 6e 69 74 47 61 6d | 65 52 65 70 6c 69 63 61 | InitGam|eReplica|
|00001180| 74 69 6f 6e 49 6e 66 6f | 28 29 0d 0a 7b 0d 0a 09 |tionInfo|()..{...|
|00001190| 53 75 70 65 72 2e 49 6e | 69 74 47 61 6d 65 52 65 |Super.In|itGameRe|
|000011a0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 28 29 3b |plicatio|nInfo();|
|000011b0| 0d 0a 0d 0a 09 53 46 47 | 61 6d 65 52 65 70 6c 69 |.....SFG|ameRepli|
|000011c0| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|000011d0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|000011e0| 6d 5f 6e 4e 75 6d 50 6c | 61 79 65 72 4c 69 76 65 |m_nNumPl|ayerLive|
|000011f0| 73 20 3d 20 6d 5f 6e 4e | 75 6d 50 6c 61 79 65 72 |s = m_nN|umPlayer|
|00001200| 4c 69 76 65 73 3b 0d 0a | 0d 0a 09 53 46 47 61 6d |Lives;..|...SFGam|
|00001210| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00001220| 28 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |(GameRep|lication|
|00001230| 49 6e 66 6f 29 2e 52 6f | 75 6e 64 73 20 3d 20 52 |Info).Ro|unds = R|
|00001240| 6f 75 6e 64 73 3b 0d 0a | 09 53 46 47 61 6d 65 52 |ounds;..|.SFGameR|
|00001250| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 28 47 |eplicati|onInfo(G|
|00001260| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|00001270| 66 6f 29 2e 70 6c 61 79 | 65 64 52 6f 75 6e 64 73 |fo).play|edRounds|
|00001280| 20 3d 20 70 6c 61 79 65 | 64 52 6f 75 6e 64 73 3b | = playe|dRounds;|
|00001290| 0d 0a 09 53 46 47 61 6d | 65 52 65 70 6c 69 63 61 |...SFGam|eReplica|
|000012a0| 74 69 6f 6e 49 6e 66 6f | 28 47 61 6d 65 52 65 70 |tionInfo|(GameRep|
|000012b0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 29 2e 62 4c |lication|Info).bL|
|000012c0| 6f 61 64 4e 65 77 4d 61 | 70 20 3d 20 62 4c 6f 61 |oadNewMa|p = bLoa|
|000012d0| 64 4e 65 77 4d 61 70 3b | 0d 0a 09 53 46 47 61 6d |dNewMap;|...SFGam|
|000012e0| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|000012f0| 28 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |(GameRep|lication|
|00001300| 49 6e 66 6f 29 2e 52 6f | 75 6e 64 44 65 6c 61 79 |Info).Ro|undDelay|
|00001310| 20 3d 20 52 6f 75 6e 64 | 44 65 6c 61 79 3b 0d 0a | = Round|Delay;..|
|00001320| 0d 0a 09 2f 2f 20 48 61 | 6e 64 6c 65 20 45 71 75 |...// Ha|ndle Equ|
|00001330| 69 70 6d 65 6e 74 54 69 | 6d 65 0d 0a 09 45 71 75 |ipmentTi|me...Equ|
|00001340| 69 70 6d 65 6e 74 54 69 | 6d 65 20 3d 20 46 69 72 |ipmentTi|me = Fir|
|00001350| 73 74 45 71 75 69 70 6d | 65 6e 74 54 69 6d 65 3b |stEquipm|entTime;|
|00001360| 0d 0a 09 62 49 73 45 71 | 75 69 70 6d 65 6e 74 54 |...bIsEq|uipmentT|
|00001370| 69 6d 65 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 09 53 |ime = fa|lse;...S|
|00001380| 46 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |FGameRep|lication|
|00001390| 49 6e 66 6f 28 47 61 6d | 65 52 65 70 6c 69 63 61 |Info(Gam|eReplica|
|000013a0| 74 69 6f 6e 49 6e 66 6f | 29 2e 45 71 75 69 70 6d |tionInfo|).Equipm|
|000013b0| 65 6e 74 54 69 6d 65 20 | 3d 20 45 71 75 69 70 6d |entTime |= Equipm|
|000013c0| 65 6e 74 54 69 6d 65 3b | 0d 0a 0d 0a 7d 0d 0a 0d |entTime;|....}...|
|000013d0| 0a 65 76 65 6e 74 20 49 | 6e 69 74 47 61 6d 65 28 |.event I|nitGame(|
|000013e0| 73 74 72 69 6e 67 20 4f | 70 74 69 6f 6e 73 2c 20 |string O|ptions, |
|000013f0| 6f 75 74 20 73 74 72 69 | 6e 67 20 45 72 72 6f 72 |out stri|ng Error|
|00001400| 29 0d 0a 7b 0d 0a 09 62 | 46 69 72 73 74 42 6c 6f |)..{...b|FirstBlo|
|00001410| 6f 64 20 3d 20 74 72 75 | 65 3b 09 09 2f 2f 20 73 |od = tru|e;..// s|
|00001420| 75 70 72 65 73 73 20 66 | 69 72 73 74 20 62 6c 6f |upress f|irst blo|
|00001430| 6f 64 20 62 72 6f 61 64 | 63 61 73 74 0d 0a 09 62 |od broad|cast...b|
|00001440| 45 6e 64 47 61 6d 65 53 | 6f 6f 6e 20 3d 20 66 61 |EndGameS|oon = fa|
|00001450| 6c 73 65 3b 0d 0a 0d 0a | 09 2f 2f 20 4e 6f 77 2c |lse;....|.// Now,|
|00001460| 20 63 68 65 63 6b 20 69 | 66 20 72 65 73 70 61 77 | check i|f respaw|
|00001470| 6e 20 6f 72 20 6e 6f 74 | 2e 2e 2e 0d 0a 09 69 66 |n or not|......if|
|00001480| 20 28 62 4c 4d 53 4d 6f | 64 65 29 0d 0a 09 7b 0d | (bLMSMo|de)...{.|
|00001490| 0a 09 09 6d 5f 6e 4e 75 | 6d 50 6c 61 79 65 72 4c |...m_nNu|mPlayerL|
|000014a0| 69 76 65 73 20 3d 20 30 | 3b 09 09 2f 2f 20 4e 4f |ives = 0|;..// NO|
|000014b0| 20 72 65 73 70 61 77 6e | 0d 0a 09 09 46 72 61 67 | respawn|....Frag|
|000014c0| 4c 69 6d 69 74 20 3d 20 | 30 3b 0d 0a 09 09 54 69 |Limit = |0;....Ti|
|000014d0| 6d 65 4c 69 6d 69 74 20 | 3d 20 30 3b 0d 0a 09 7d |meLimit |= 0;...}|
|000014e0| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 2f |...else.|..{..../|
|000014f0| 2f 20 44 65 66 61 75 6c | 74 2c 20 65 6c 73 65 20 |/ Defaul|t, else |
|00001500| 67 61 6d 65 20 77 69 6c | 6c 20 6e 6f 74 20 65 6e |game wil|l not en|
|00001510| 64 0d 0a 09 09 69 66 20 | 28 28 46 72 61 67 4c 69 |d....if |((FragLi|
|00001520| 6d 69 74 20 3d 3d 20 30 | 29 20 26 26 20 28 54 69 |mit == 0|) && (Ti|
|00001530| 6d 65 4c 69 6d 69 74 20 | 3d 3d 20 30 29 29 0d 0a |meLimit |== 0))..|
|00001540| 09 09 7b 0d 0a 09 09 09 | 46 72 61 67 4c 69 6d 69 |..{.....|FragLimi|
|00001550| 74 20 3d 20 33 30 3b 0d | 0a 09 09 09 54 69 6d 65 |t = 30;.|....Time|
|00001560| 4c 69 6d 69 74 20 3d 20 | 20 30 3b 0d 0a 09 09 7d |Limit = | 0;....}|
|00001570| 0d 0a 0d 0a 09 09 6d 5f | 6e 4e 75 6d 50 6c 61 79 |......m_|nNumPlay|
|00001580| 65 72 4c 69 76 65 73 20 | 3d 20 2d 31 3b 09 09 2f |erLives |= -1;../|
|00001590| 2f 20 72 65 73 70 61 77 | 6e 0d 0a 09 7d 0d 0a 0d |/ respaw|n...}...|
|000015a0| 0a 09 53 75 70 65 72 2e | 49 6e 69 74 47 61 6d 65 |..Super.|InitGame|
|000015b0| 28 4f 70 74 69 6f 6e 73 | 2c 20 45 72 72 6f 72 29 |(Options|, Error)|
|000015c0| 3b 0d 0a 0d 0a 09 70 6c | 61 79 65 64 52 6f 75 6e |;.....pl|ayedRoun|
|000015d0| 64 73 20 3d 20 30 3b 0d | 0a 09 4e 75 6d 4c 61 74 |ds = 0;.|..NumLat|
|000015e0| 65 4a 6f 69 6e 65 72 73 | 20 3d 20 30 3b 0d 0a 0d |eJoiners| = 0;...|
|000015f0| 0a 7d 0d 0a 0d 0a 2f 2f | 0d 0a 2f 2f 20 57 68 65 |.}....//|..// Whe|
|00001600| 74 68 65 72 20 70 6c 61 | 79 65 72 73 20 61 72 65 |ther pla|yers are|
|00001610| 20 61 6c 6c 6f 77 65 64 | 20 74 6f 20 62 72 6f 61 | allowed| to broa|
|00001620| 64 63 61 73 74 20 6d 65 | 73 73 61 67 65 73 20 6e |dcast me|ssages n|
|00001630| 6f 77 2e 0d 0a 2f 2f 0d | 0a 66 75 6e 63 74 69 6f |ow...//.|.functio|
|00001640| 6e 20 62 6f 6f 6c 20 41 | 6c 6c 6f 77 73 42 72 6f |n bool A|llowsBro|
|00001650| 61 64 63 61 73 74 28 20 | 61 63 74 6f 72 20 62 72 |adcast( |actor br|
|00001660| 6f 61 64 63 61 73 74 65 | 72 2c 20 69 6e 74 20 4c |oadcaste|r, int L|
|00001670| 65 6e 20 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |en )..{.|..local |
|00001680| 50 6c 61 79 65 72 50 61 | 77 6e 20 50 3b 0d 0a 09 |PlayerPa|wn P;...|
|00001690| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 50 65 6e 61 |local fl|oat Pena|
|000016a0| 6c 74 79 3b 0d 0a 0d 0a | 09 2f 2f 20 4f 6e 6c 79 |lty;....|.// Only|
|000016b0| 20 61 6c 6c 6f 77 20 53 | 46 50 6c 61 79 65 72 73 | allow S|FPlayers|
|000016c0| 20 74 6f 20 74 61 6c 6b | 2e 2e 2e 0d 0a 09 50 20 | to talk|......P |
|000016d0| 3d 20 53 46 50 6c 61 79 | 65 72 28 42 72 6f 61 64 |= SFPlay|er(Broad|
|000016e0| 43 61 73 74 65 72 29 3b | 0d 0a 09 69 66 20 28 20 |Caster);|...if ( |
|000016f0| 50 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 7b 0d |P != Non|e )...{.|
|00001700| 0a 09 09 2f 2f 20 70 72 | 65 76 65 6e 74 20 6d 65 |...// pr|event me|
|00001710| 73 73 61 67 65 20 73 70 | 61 6d 6d 69 6e 67 0d 0a |ssage sp|amming..|
|00001720| 09 09 69 66 20 28 20 28 | 4c 65 76 65 6c 2e 54 69 |..if ( (|Level.Ti|
|00001730| 6d 65 53 65 63 6f 6e 64 | 73 20 2d 20 50 2e 4c 61 |meSecond|s - P.La|
|00001740| 73 74 4d 65 73 73 61 67 | 65 57 69 6e 64 6f 77 20 |stMessag|eWindow |
|00001750| 3c 20 32 30 29 0d 0a 09 | 09 09 26 26 20 28 4c 65 |< 20)...|..&& (Le|
|00001760| 76 65 6c 2e 54 69 6d 65 | 53 65 63 6f 6e 64 73 20 |vel.Time|Seconds |
|00001770| 3e 20 32 30 29 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |> 20) ).|...{....|
|00001780| 09 2f 2f 20 57 65 20 68 | 61 76 65 20 61 20 73 70 |.// We h|ave a sp|
|00001790| 61 6d 6d 65 72 2e 2e 2e | 0d 0a 09 09 09 2f 2f 20 |ammer...|.....// |
|000017a0| 41 64 64 20 70 65 6e 61 | 6c 74 79 20 74 6f 20 68 |Add pena|lty to h|
|000017b0| 69 6d 2f 68 65 72 21 0d | 0a 09 09 09 2f 2f 20 41 |im/her!.|....// A|
|000017c0| 64 64 69 6e 67 20 61 20 | 31 30 73 20 70 65 6e 61 |dding a |10s pena|
|000017d0| 6c 74 79 20 66 6f 72 20 | 65 61 63 68 20 73 70 61 |lty for |each spa|
|000017e0| 6d 20 74 72 79 21 0d 0a | 09 09 09 50 2e 4c 61 73 |m try!..|...P.Las|
|000017f0| 74 4d 65 73 73 61 67 65 | 57 69 6e 64 6f 77 20 2b |tMessage|Window +|
|00001800| 3d 20 35 3b 0d 0a 0d 0a | 09 09 09 2f 2f 20 53 68 |= 5;....|...// Sh|
|00001810| 6f 77 20 74 68 65 20 73 | 65 6e 64 65 72 20 74 68 |ow the s|ender th|
|00001820| 61 74 20 68 65 2f 73 68 | 65 20 68 61 73 20 61 20 |at he/sh|e has a |
|00001830| 70 65 6e 61 6c 74 79 2e | 2e 2e 0d 0a 09 09 09 50 |penalty.|.......P|
|00001840| 65 6e 61 6c 74 79 20 3d | 20 50 2e 4c 61 73 74 4d |enalty =| P.LastM|
|00001850| 65 73 73 61 67 65 57 69 | 6e 64 6f 77 20 2b 20 32 |essageWi|ndow + 2|
|00001860| 30 20 2d 20 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |0 - Leve|l.TimeSe|
|00001870| 63 6f 6e 64 73 3b 0d 0a | 09 09 09 50 2e 54 65 61 |conds;..|...P.Tea|
|00001880| 6d 4d 65 73 73 61 67 65 | 28 20 50 2e 50 6c 61 79 |mMessage|( P.Play|
|00001890| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000018a0| 6f 2c 20 22 53 70 61 6d | 6d 69 6e 67 20 50 65 6e |o, "Spam|ming Pen|
|000018b0| 61 6c 74 79 21 21 21 20 | 43 61 6e 6e 6f 74 20 70 |alty!!! |Cannot p|
|000018c0| 6f 73 74 20 69 6e 20 22 | 24 69 6e 74 28 50 65 6e |ost in "|$int(Pen|
|000018d0| 61 6c 74 79 29 24 22 20 | 73 65 63 73 2e 22 2c 20 |alty)$" |secs.", |
|000018e0| 27 53 50 41 4d 4d 49 4e | 47 27 2c 20 74 72 75 65 |'SPAMMIN|G', true|
|000018f0| 20 29 3b 0d 0a 09 09 09 | 72 65 74 75 72 6e 20 66 | );.....|return f|
|00001900| 61 6c 73 65 3b 0d 0a 09 | 09 7d 0d 0a 09 09 50 2e |alse;...|.}....P.|
|00001910| 4c 61 73 74 4d 65 73 73 | 61 67 65 57 69 6e 64 6f |LastMess|ageWindo|
|00001920| 77 20 3d 20 30 2e 36 35 | 20 2a 20 50 2e 4c 61 73 |w = 0.65| * P.Las|
|00001930| 74 4d 65 73 73 61 67 65 | 57 69 6e 64 6f 77 20 2b |tMessage|Window +|
|00001940| 20 30 2e 33 35 20 2a 20 | 4c 65 76 65 6c 2e 54 69 | 0.35 * |Level.Ti|
|00001950| 6d 65 53 65 63 6f 6e 64 | 73 3b 0d 0a 09 7d 0d 0a |meSecond|s;...}..|
|00001960| 09 0d 0a 09 53 65 6e 74 | 54 65 78 74 20 2b 3d 20 |....Sent|Text += |
|00001970| 4c 65 6e 3b 0d 0a 0d 0a | 09 72 65 74 75 72 6e 20 |Len;....|.return |
|00001980| 28 53 65 6e 74 54 65 78 | 74 20 3c 20 32 36 30 29 |(SentTex|t < 260)|
|00001990| 3b 0d 0a 7d 0d 0a 73 74 | 61 74 69 63 20 66 75 6e |;..}..st|atic fun|
|000019a0| 63 74 69 6f 6e 20 52 65 | 73 65 74 47 61 6d 65 28 |ction Re|setGame(|
|000019b0| 29 0d 0a 7b 0d 0a 09 44 | 65 66 61 75 6c 74 2e 70 |)..{...D|efault.p|
|000019c0| 6c 61 79 65 64 52 6f 75 | 6e 64 73 20 3d 20 30 3b |layedRou|nds = 0;|
|000019d0| 0d 0a 09 44 65 66 61 75 | 6c 74 2e 62 43 68 61 6e |...Defau|lt.bChan|
|000019e0| 67 65 4c 65 76 65 6c 73 | 20 3d 20 74 72 75 65 3b |geLevels| = true;|
|000019f0| 0d 0a 09 53 74 61 74 69 | 63 53 61 76 65 43 6f 6e |...Stati|cSaveCon|
|00001a00| 66 69 67 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 20 |fig();..|}....// |
|00001a10| 4f 76 65 72 72 69 64 65 | 73 2c 20 74 6f 20 68 61 |Override|s, to ha|
|00001a20| 6e 64 6c 65 20 22 72 6f | 75 6e 64 73 22 2c 20 62 |ndle "ro|unds", b|
|00001a30| 79 20 47 72 75 66 66 0d | 0a 66 75 6e 63 74 69 6f |y Gruff.|.functio|
|00001a40| 6e 20 52 65 73 74 61 72 | 74 47 61 6d 65 28 29 0d |n Restar|tGame().|
|00001a50| 0a 7b 0d 0a 09 2f 2f 20 | 4c 65 74 27 73 20 72 65 |.{...// |Let's re|
|00001a60| 73 74 61 72 74 20 74 68 | 65 20 67 61 6d 65 0d 0a |start th|e game..|
|00001a70| 09 69 66 20 28 62 4c 6f | 61 64 4e 65 77 4d 61 70 |.if (bLo|adNewMap|
|00001a80| 29 0d 0a 09 7b 0d 0a 09 | 09 53 75 70 65 72 2e 52 |)...{...|.Super.R|
|00001a90| 65 73 74 61 72 74 47 61 | 6d 65 28 29 3b 0d 0a 09 |estartGa|me();...|
|00001aa0| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |}...else|...{....|
|00001ab0| 4c 65 76 65 6c 2e 53 65 | 72 76 65 72 54 72 61 76 |Level.Se|rverTrav|
|00001ac0| 65 6c 28 20 22 3f 52 65 | 73 74 61 72 74 22 2c 20 |el( "?Re|start", |
|00001ad0| 66 61 6c 73 65 20 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |false );|...}..}.|
|00001ae0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 46 6f 72 63 |...funct|ion Forc|
|00001af0| 65 64 45 6e 64 47 61 6d | 65 28 29 0d 0a 7b 0d 0a |edEndGam|e()..{..|
|00001b00| 09 52 65 73 65 74 47 61 | 6d 65 28 29 3b 0d 0a 09 |.ResetGa|me();...|
|00001b10| 62 4c 6f 61 64 4e 65 77 | 4d 61 70 20 3d 20 74 72 |bLoadNew|Map = tr|
|00001b20| 75 65 3b 0d 0a 09 62 52 | 6f 75 6e 64 45 6e 64 65 |ue;...bR|oundEnde|
|00001b30| 64 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 0d 0a 09 53 |d = fals|e;.....S|
|00001b40| 46 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |FGameRep|lication|
|00001b50| 49 6e 66 6f 28 47 61 6d | 65 52 65 70 6c 69 63 61 |Info(Gam|eReplica|
|00001b60| 74 69 6f 6e 49 6e 66 6f | 29 2e 62 52 6f 75 6e 64 |tionInfo|).bRound|
|00001b70| 45 6e 64 65 64 20 3d 20 | 62 52 6f 75 6e 64 45 6e |Ended = |bRoundEn|
|00001b80| 64 65 64 3b 0d 0a 09 53 | 46 47 61 6d 65 52 65 70 |ded;...S|FGameRep|
|00001b90| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 47 61 6d |lication|Info(Gam|
|00001ba0| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00001bb0| 29 2e 62 4c 6f 61 64 4e | 65 77 4d 61 70 20 3d 20 |).bLoadN|ewMap = |
|00001bc0| 62 4c 6f 61 64 4e 65 77 | 4d 61 70 3b 0d 0a 0d 0a |bLoadNew|Map;....|
|00001bd0| 09 53 75 70 65 72 2e 45 | 6e 64 47 61 6d 65 28 22 |.Super.E|ndGame("|
|00001be0| 66 6f 72 63 65 64 65 6e | 64 67 61 6d 65 22 29 3b |forceden|dgame");|
|00001bf0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00001c00| 45 6e 64 47 61 6d 65 28 | 20 73 74 72 69 6e 67 20 |EndGame(| string |
|00001c10| 52 65 61 73 6f 6e 20 29 | 0d 0a 7b 0d 0a 2f 2f 09 |Reason )|..{..//.|
|00001c20| 4c 6f 67 28 22 45 6e 64 | 47 61 6d 65 3a 22 24 52 |Log("End|Game:"$R|
|00001c30| 65 61 73 6f 6e 29 3b 0d | 0a 0d 0a 09 69 66 20 28 |eason);.|....if (|
|00001c40| 62 52 6f 75 6e 64 45 6e | 64 65 64 20 7c 7c 20 62 |bRoundEn|ded || b|
|00001c50| 45 6e 64 47 61 6d 65 53 | 6f 6f 6e 29 0d 0a 09 7b |EndGameS|oon)...{|
|00001c60| 0d 0a 09 09 2f 2f 20 41 | 6c 72 65 61 64 79 20 74 |....// A|lready t|
|00001c70| 72 69 67 67 65 64 20 74 | 68 69 73 2e 2e 2e 6a 75 |rigged t|his...ju|
|00001c80| 73 74 20 69 67 6e 6f 72 | 65 2e 0d 0a 09 09 72 65 |st ignor|e.....re|
|00001c90| 74 75 72 6e 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f |turn;...|}.....//|
|00001ca0| 20 4d 61 72 6b 20 74 68 | 65 20 65 6e 64 69 6e 67 | Mark th|e ending|
|00001cb0| 20 6f 66 20 61 20 67 61 | 6d 65 2e 2e 2e 0d 0a 09 | of a ga|me......|
|00001cc0| 62 45 6e 64 47 61 6d 65 | 53 6f 6f 6e 20 3d 20 74 |bEndGame|Soon = t|
|00001cd0| 72 75 65 3b 0d 0a 09 45 | 6e 64 47 61 6d 65 44 65 |rue;...E|ndGameDe|
|00001ce0| 6c 61 79 20 3d 20 34 3b | 0d 0a 09 45 6e 64 47 61 |lay = 4;|...EndGa|
|00001cf0| 6d 65 52 65 61 73 6f 6e | 20 3d 20 52 65 61 73 6f |meReason| = Reaso|
|00001d00| 6e 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |n;..}...|.functio|
|00001d10| 6e 20 45 6e 64 47 61 6d | 65 4c 61 74 65 72 28 73 |n EndGam|eLater(s|
|00001d20| 74 72 69 6e 67 20 52 65 | 61 73 6f 6e 29 0d 0a 7b |tring Re|ason)..{|
|00001d30| 0d 0a 09 2f 2f 20 49 66 | 20 77 65 20 61 72 65 20 |...// If| we are |
|00001d40| 74 68 65 20 73 65 72 76 | 65 72 2c 20 63 61 6c 63 |the serv|er, calc|
|00001d50| 75 6c 61 74 65 20 6e 65 | 78 74 20 72 6f 75 6e 64 |ulate ne|xt round|
|00001d60| 0d 0a 09 69 66 20 28 52 | 6f 6c 65 20 3d 3d 20 52 |...if (R|ole == R|
|00001d70| 4f 4c 45 5f 41 75 74 68 | 6f 72 69 74 79 29 0d 0a |OLE_Auth|ority)..|
|00001d80| 09 7b 0d 0a 09 09 2f 2f | 20 52 65 73 65 74 20 74 |.{....//| Reset t|
|00001d90| 68 69 73 2e 2e 2e 0d 0a | 09 09 62 45 6e 64 47 61 |his.....|..bEndGa|
|00001da0| 6d 65 53 6f 6f 6e 20 3d | 20 66 61 6c 73 65 3b 0d |meSoon =| false;.|
|00001db0| 0a 0d 0a 09 09 69 66 20 | 28 21 62 52 6f 75 6e 64 |.....if |(!bRound|
|00001dc0| 45 6e 64 65 64 29 20 0d | 0a 09 09 7b 0d 0a 09 09 |Ended) .|...{....|
|00001dd0| 09 70 6c 61 79 65 64 52 | 6f 75 6e 64 73 2b 2b 3b |.playedR|ounds++;|
|00001de0| 0d 0a 09 09 09 53 46 47 | 61 6d 65 52 65 70 6c 69 |.....SFG|ameRepli|
|00001df0| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|00001e00| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|00001e10| 70 6c 61 79 65 64 52 6f | 75 6e 64 73 20 3d 20 70 |playedRo|unds = p|
|00001e20| 6c 61 79 65 64 52 6f 75 | 6e 64 73 3b 0d 0a 09 09 |layedRou|nds;....|
|00001e30| 7d 0d 0a 0d 0a 09 09 2f | 2f 20 4c 65 74 27 73 20 |}....../|/ Let's |
|00001e40| 72 65 73 74 61 72 74 20 | 74 68 65 20 67 61 6d 65 |restart |the game|
|00001e50| 0d 0a 09 09 69 66 20 28 | 70 6c 61 79 65 64 52 6f |....if (|playedRo|
|00001e60| 75 6e 64 73 20 3d 3d 20 | 52 6f 75 6e 64 73 29 0d |unds == |Rounds).|
|00001e70| 0a 09 09 7b 0d 0a 09 09 | 09 52 65 73 65 74 47 61 |...{....|.ResetGa|
|00001e80| 6d 65 28 29 3b 0d 0a 09 | 09 09 62 4c 6f 61 64 4e |me();...|..bLoadN|
|00001e90| 65 77 4d 61 70 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |ewMap = |true;...|
|00001ea0| 09 09 62 52 6f 75 6e 64 | 45 6e 64 65 64 20 3d 20 |..bRound|Ended = |
|00001eb0| 66 61 6c 73 65 3b 0d 0a | 0d 0a 09 09 09 53 46 47 |false;..|.....SFG|
|00001ec0| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|00001ed0| 66 6f 28 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |fo(GameR|eplicati|
|00001ee0| 6f 6e 49 6e 66 6f 29 2e | 62 52 6f 75 6e 64 45 6e |onInfo).|bRoundEn|
|00001ef0| 64 65 64 20 3d 20 62 52 | 6f 75 6e 64 45 6e 64 65 |ded = bR|oundEnde|
|00001f00| 64 3b 0d 0a 09 09 09 53 | 46 47 61 6d 65 52 65 70 |d;.....S|FGameRep|
|00001f10| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 47 61 6d |lication|Info(Gam|
|00001f20| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00001f30| 29 2e 62 4c 6f 61 64 4e | 65 77 4d 61 70 20 3d 20 |).bLoadN|ewMap = |
|00001f40| 62 4c 6f 61 64 4e 65 77 | 4d 61 70 3b 0d 0a 0d 0a |bLoadNew|Map;....|
|00001f50| 09 09 09 53 75 70 65 72 | 2e 45 6e 64 47 61 6d 65 |...Super|.EndGame|
|00001f60| 28 52 65 61 73 6f 6e 29 | 3b 0d 0a 09 09 7d 0d 0a |(Reason)|;....}..|
|00001f70| 09 09 65 6c 73 65 20 69 | 66 20 28 21 62 52 6f 75 |..else i|f (!bRou|
|00001f80| 6e 64 45 6e 64 65 64 29 | 0d 0a 09 09 7b 0d 0a 09 |ndEnded)|....{...|
|00001f90| 09 09 53 61 76 65 43 6f | 6e 66 69 67 28 29 3b 0d |..SaveCo|nfig();.|
|00001fa0| 0a 09 09 09 62 4c 6f 61 | 64 4e 65 77 4d 61 70 20 |....bLoa|dNewMap |
|00001fb0| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 09 09 62 52 6f |= false;|.....bRo|
|00001fc0| 75 6e 64 45 6e 64 65 64 | 20 3d 20 74 72 75 65 3b |undEnded| = true;|
|00001fd0| 0d 0a 0d 0a 09 09 09 53 | 46 47 61 6d 65 52 65 70 |.......S|FGameRep|
|00001fe0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 47 61 6d |lication|Info(Gam|
|00001ff0| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00002000| 29 2e 62 52 6f 75 6e 64 | 45 6e 64 65 64 20 3d 20 |).bRound|Ended = |
|00002010| 62 52 6f 75 6e 64 45 6e | 64 65 64 3b 0d 0a 09 09 |bRoundEn|ded;....|
|00002020| 09 53 46 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |.SFGameR|eplicati|
|00002030| 6f 6e 49 6e 66 6f 28 47 | 61 6d 65 52 65 70 6c 69 |onInfo(G|ameRepli|
|00002040| 63 61 74 69 6f 6e 49 6e | 66 6f 29 2e 62 4c 6f 61 |cationIn|fo).bLoa|
|00002050| 64 4e 65 77 4d 61 70 20 | 3d 20 62 4c 6f 61 64 4e |dNewMap |= bLoadN|
|00002060| 65 77 4d 61 70 3b 0d 0a | 0d 0a 09 09 09 2f 2f 20 |ewMap;..|.....// |
|00002070| 52 65 73 65 74 20 74 68 | 69 73 0d 0a 09 09 09 50 |Reset th|is.....P|
|00002080| 72 65 52 65 73 74 61 72 | 74 52 6f 75 6e 64 28 29 |reRestar|tRound()|
|00002090| 3b 0d 0a 09 09 09 53 65 | 74 52 65 6d 61 69 6e 69 |;.....Se|tRemaini|
|000020a0| 6e 67 54 69 6d 65 28 36 | 30 20 2a 20 54 69 6d 65 |ngTime(6|0 * Time|
|000020b0| 4c 69 6d 69 74 29 3b 0d | 0a 09 09 7d 0d 0a 09 7d |Limit);.|...}...}|
|000020c0| 0d 0a 0d 0a 7d 0d 0a 0d | 0a 0d 0a 66 75 6e 63 74 |....}...|...funct|
|000020d0| 69 6f 6e 20 50 72 65 52 | 65 73 74 61 72 74 52 6f |ion PreR|estartRo|
|000020e0| 75 6e 64 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |und()..{|...local|
|000020f0| 20 50 61 77 6e 09 50 61 | 77 6e 4c 69 6e 6b 3b 0d | Pawn.Pa|wnLink;.|
|00002100| 0a 0d 0a 09 2f 2f 20 49 | 6e 69 74 20 47 61 6d 65 |....// I|nit Game|
|00002110| 2e 2e 2e 0d 0a 09 49 6e | 69 74 47 61 6d 65 52 65 |......In|itGameRe|
|00002120| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 28 29 3b |plicatio|nInfo();|
|00002130| 0d 0a 0d 0a 09 2f 2f 20 | 44 69 73 61 62 6c 65 20 |.....// |Disable |
|00002140| 64 75 72 69 6e 67 20 50 | 72 65 52 65 73 74 61 72 |during P|reRestar|
|00002150| 74 52 6f 75 6e 64 0d 0a | 09 62 49 73 45 71 75 69 |tRound..|.bIsEqui|
|00002160| 70 6d 65 6e 74 54 69 6d | 65 20 3d 20 66 61 6c 73 |pmentTim|e = fals|
|00002170| 65 3b 0d 0a 09 45 71 75 | 69 70 6d 65 6e 74 54 69 |e;...Equ|ipmentTi|
|00002180| 6d 65 20 3d 20 30 3b 0d | 0a 09 53 46 47 61 6d 65 |me = 0;.|..SFGame|
|00002190| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|000021a0| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|000021b0| 6e 66 6f 29 2e 45 71 75 | 69 70 6d 65 6e 74 54 69 |nfo).Equ|ipmentTi|
|000021c0| 6d 65 20 3d 20 45 71 75 | 69 70 6d 65 6e 74 54 69 |me = Equ|ipmentTi|
|000021d0| 6d 65 3b 0d 0a 09 0d 0a | 09 2f 2f 20 43 6c 65 61 |me;.....|.// Clea|
|000021e0| 72 20 74 68 69 73 20 6f | 6e 65 2e 2e 2e 0d 0a 09 |r this o|ne......|
|000021f0| 62 45 71 75 69 70 6d 65 | 6e 74 54 69 6d 65 48 61 |bEquipme|ntTimeHa|
|00002200| 73 53 74 61 72 74 65 64 | 20 3d 20 54 72 75 65 3b |sStarted| = True;|
|00002210| 0d 0a 09 54 6f 74 61 6c | 4b 69 6c 6c 73 20 3d 20 |...Total|Kills = |
|00002220| 30 3b 0d 0a 0d 0a 09 66 | 6f 72 20 28 20 50 61 77 |0;.....f|or ( Paw|
|00002230| 6e 4c 69 6e 6b 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |nLink=Le|vel.Pawn|
|00002240| 4c 69 73 74 3b 20 50 61 | 77 6e 4c 69 6e 6b 21 3d |List; Pa|wnLink!=|
|00002250| 4e 6f 6e 65 3b 20 50 61 | 77 6e 4c 69 6e 6b 3d 50 |None; Pa|wnLink=P|
|00002260| 61 77 6e 4c 69 6e 6b 2e | 6e 65 78 74 50 61 77 6e |awnLink.|nextPawn|
|00002270| 20 29 0d 0a 09 7b 0d 0a | 2f 2f 09 09 4c 4f 47 28 | )...{..|//..LOG(|
|00002280| 22 50 72 65 52 65 73 74 | 61 72 74 52 6f 75 6e 64 |"PreRest|artRound|
|00002290| 20 66 6f 72 3a 22 24 50 | 61 77 6e 4c 69 6e 6b 29 | for:"$P|awnLink)|
|000022a0| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 45 6e 64 20 66 69 |;....../|/ End fi|
|000022b0| 72 65 21 21 21 0d 0a 09 | 09 50 61 77 6e 4c 69 6e |re!!!...|.PawnLin|
|000022c0| 6b 2e 62 46 69 72 65 20 | 3d 20 30 3b 0d 0a 09 09 |k.bFire |= 0;....|
|000022d0| 50 61 77 6e 4c 69 6e 6b | 2e 62 41 6c 74 46 69 72 |PawnLink|.bAltFir|
|000022e0| 65 20 3d 20 30 3b 0d 0a | 0d 0a 09 09 69 66 20 28 |e = 0;..|....if (|
|000022f0| 53 46 50 6c 61 79 65 72 | 28 50 61 77 6e 4c 69 6e |SFPlayer|(PawnLin|
|00002300| 6b 29 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 7b |k) != No|ne)....{|
|00002310| 0d 0a 09 09 09 2f 2f 20 | 53 65 74 20 69 6e 74 6f |.....// |Set into|
|00002320| 20 77 61 69 74 69 6e 67 | 20 66 6f 72 20 6e 65 77 | waiting| for new|
|00002330| 20 52 6f 75 6e 64 20 73 | 74 61 74 65 0d 0a 09 09 | Round s|tate....|
|00002340| 09 50 61 77 6e 4c 69 6e | 6b 2e 48 65 61 6c 74 68 |.PawnLin|k.Health|
|00002350| 20 3d 20 50 61 77 6e 4c | 69 6e 6b 2e 44 65 66 61 | = PawnL|ink.Defa|
|00002360| 75 6c 74 2e 48 65 61 6c | 74 68 3b 20 2f 2f 20 54 |ult.Heal|th; // T|
|00002370| 6f 20 70 72 65 76 65 6e | 74 20 22 72 65 73 74 61 |o preven|t "resta|
|00002380| 72 74 20 6d 65 73 73 61 | 67 65 20 66 72 6f 6d 20 |rt messa|ge from |
|00002390| 73 63 6f 72 65 62 6f 72 | 61 72 64 22 0d 0a 09 09 |scorebor|ard"....|
|000023a0| 09 50 61 77 6e 4c 69 6e | 6b 2e 50 6c 61 79 65 72 |.PawnLin|k.Player|
|000023b0| 52 65 73 74 61 72 74 53 | 74 61 74 65 20 3d 20 27 |RestartS|tate = '|
|000023c0| 52 6f 75 6e 64 45 6e 64 | 65 64 27 3b 0d 0a 09 09 |RoundEnd|ed';....|
|000023d0| 09 50 61 77 6e 4c 69 6e | 6b 2e 47 6f 74 6f 53 74 |.PawnLin|k.GotoSt|
|000023e0| 61 74 65 28 27 52 6f 75 | 6e 64 45 6e 64 65 64 27 |ate('Rou|ndEnded'|
|000023f0| 29 3b 0d 0a 09 09 09 53 | 46 50 6c 61 79 65 72 28 |);.....S|FPlayer(|
|00002400| 50 61 77 6e 4c 69 6e 6b | 29 2e 43 6c 69 65 6e 74 |PawnLink|).Client|
|00002410| 52 6f 75 6e 64 45 6e 64 | 65 64 28 29 3b 0d 0a 2f |RoundEnd|ed();../|
|00002420| 2f 09 09 09 4c 4f 47 28 | 22 50 6c 61 79 65 72 3a |/...LOG(|"Player:|
|00002430| 22 24 50 61 77 6e 4c 69 | 6e 6b 24 22 20 47 6f 74 |"$PawnLi|nk$" Got|
|00002440| 6f 20 52 6f 75 6e 64 45 | 6e 64 65 64 22 29 3b 0d |o RoundE|nded");.|
|00002450| 0a 2f 2f 09 09 09 52 65 | 73 74 61 72 74 50 6c 61 |.//...Re|startPla|
|00002460| 79 65 72 28 50 61 77 6e | 4c 69 6e 6b 29 3b 0d 0a |yer(Pawn|Link);..|
|00002470| 09 09 7d 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 7b |..}....e|lse....{|
|00002480| 0d 0a 09 09 09 2f 2f 20 | 4b 69 6c 6c 20 61 77 61 |.....// |Kill awa|
|00002490| 79 20 61 6c 6c 20 62 6f | 74 73 20 3a 2d 29 0d 0a |y all bo|ts :-)..|
|000024a0| 09 09 09 50 61 77 6e 4c | 69 6e 6b 2e 47 6f 74 6f |...PawnL|ink.Goto|
|000024b0| 53 74 61 74 65 28 27 47 | 61 6d 65 45 6e 64 65 64 |State('G|ameEnded|
|000024c0| 27 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 2f 2f |');....}|...}..//|
|000024d0| 09 4c 4f 47 28 22 53 65 | 74 20 74 69 6d 65 72 20 |.LOG("Se|t timer |
|000024e0| 66 6f 72 20 72 65 73 74 | 61 72 74 69 6e 67 20 72 |for rest|arting r|
|000024f0| 6f 75 6e 64 2e 2e 2e 22 | 29 3b 0d 0a 09 52 6f 75 |ound..."|);...Rou|
|00002500| 6e 64 44 65 6c 61 79 20 | 3d 20 31 31 3b 0d 0a 0d |ndDelay |= 11;...|
|00002510| 0a 09 2f 2f 20 53 65 74 | 20 65 6e 64 20 43 61 6d |..// Set| end Cam|
|00002520| 73 2e 2e 2e 0d 0a 09 53 | 65 74 52 6f 75 6e 64 45 |s......S|etRoundE|
|00002530| 6e 64 43 61 6d 73 28 29 | 3b 0d 0a 0d 0a 7d 0d 0a |ndCams()|;....}..|
|00002540| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 52 65 73 74 61 |..functi|on Resta|
|00002550| 72 74 52 6f 75 6e 64 28 | 29 0d 0a 7b 0d 0a 09 6c |rtRound(|)..{...l|
|00002560| 6f 63 61 6c 20 50 61 77 | 6e 09 50 61 77 6e 4c 69 |ocal Paw|n.PawnLi|
|00002570| 6e 6b 3b 0d 0a 09 6c 6f | 63 61 6c 20 53 46 50 6c |nk;...lo|cal SFPl|
|00002580| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002590| 6e 66 6f 20 53 46 50 52 | 49 3b 0d 0a 09 6c 6f 63 |nfo SFPR|I;...loc|
|000025a0| 61 6c 20 53 46 42 6f 74 | 52 65 70 6c 69 63 61 74 |al SFBot|Replicat|
|000025b0| 69 6f 6e 49 6e 66 6f 20 | 53 46 42 52 49 3b 0d 0a |ionInfo |SFBRI;..|
|000025c0| 0d 0a 09 2f 2f 20 49 6e | 69 74 20 47 61 6d 65 2e |...// In|it Game.|
|000025d0| 2e 2e 0d 0a 09 49 6e 69 | 74 47 61 6d 65 52 65 70 |.....Ini|tGameRep|
|000025e0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 29 3b 0d |lication|Info();.|
|000025f0| 0a 09 0d 0a 09 66 6f 72 | 20 28 20 50 61 77 6e 4c |.....for| ( PawnL|
|00002600| 69 6e 6b 3d 4c 65 76 65 | 6c 2e 50 61 77 6e 4c 69 |ink=Leve|l.PawnLi|
|00002610| 73 74 3b 20 50 61 77 6e | 4c 69 6e 6b 21 3d 4e 6f |st; Pawn|Link!=No|
|00002620| 6e 65 3b 20 50 61 77 6e | 4c 69 6e 6b 3d 50 61 77 |ne; Pawn|Link=Paw|
|00002630| 6e 4c 69 6e 6b 2e 6e 65 | 78 74 50 61 77 6e 20 29 |nLink.ne|xtPawn )|
|00002640| 0d 0a 09 7b 0d 0a 2f 2f | 09 09 4c 4f 47 28 22 52 |...{..//|..LOG("R|
|00002650| 65 73 74 61 72 74 52 6f | 75 6e 64 20 66 6f 72 3a |estartRo|und for:|
|00002660| 22 24 50 61 77 6e 4c 69 | 6e 6b 29 3b 0d 0a 09 09 |"$PawnLi|nk);....|
|00002670| 50 61 77 6e 4c 69 6e 6b | 2e 49 6e 69 74 50 6c 61 |PawnLink|.InitPla|
|00002680| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002690| 66 6f 28 29 3b 0d 0a 09 | 09 69 66 20 28 21 62 4c |fo();...|.if (!bL|
|000026a0| 4d 53 4d 6f 64 65 29 0d | 0a 09 09 7b 0d 0a 09 09 |MSMode).|...{....|
|000026b0| 09 2f 2f 20 49 66 20 6e | 6f 74 20 4c 4d 53 2c 20 |.// If n|ot LMS, |
|000026c0| 74 68 65 6e 20 72 65 73 | 65 74 20 74 68 65 20 73 |then res|et the s|
|000026d0| 63 6f 72 65 20 61 66 74 | 65 72 20 65 61 63 68 20 |core aft|er each |
|000026e0| 72 6f 75 6e 64 21 0d 0a | 09 09 09 50 61 77 6e 4c |round!..|...PawnL|
|000026f0| 69 6e 6b 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |ink.Play|erReplic|
|00002700| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 63 6f 72 65 20 |ationInf|o.Score |
|00002710| 3d 20 30 3b 0d 0a 09 09 | 7d 0d 0a 09 09 50 61 77 |= 0;....|}....Paw|
|00002720| 6e 4c 69 6e 6b 2e 50 6c | 61 79 65 72 52 65 70 6c |nLink.Pl|ayerRepl|
|00002730| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 44 65 61 74 |icationI|nfo.Deat|
|00002740| 68 73 20 3d 20 30 3b 0d | 0a 09 09 50 61 77 6e 4c |hs = 0;.|...PawnL|
|00002750| 69 6e 6b 2e 44 69 65 43 | 6f 75 6e 74 20 3d 20 30 |ink.DieC|ount = 0|
|00002760| 3b 0d 0a 09 09 69 66 20 | 28 53 46 50 6c 61 79 65 |;....if |(SFPlaye|
|00002770| 72 28 50 61 77 6e 4c 69 | 6e 6b 29 20 21 3d 20 4e |r(PawnLi|nk) != N|
|00002780| 6f 6e 65 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 2f 2f |one)....|{.....//|
|00002790| 20 48 75 6d 61 6e 73 0d | 0a 09 09 09 53 46 50 6c | Humans.|....SFPl|
|000027a0| 61 79 65 72 28 50 61 77 | 6e 4c 69 6e 6b 29 2e 52 |ayer(Paw|nLink).R|
|000027b0| 65 73 65 74 48 65 61 6c | 74 68 28 29 3b 0d 0a 09 |esetHeal|th();...|
|000027c0| 09 09 0d 0a 09 09 09 53 | 46 50 6c 61 79 65 72 28 |.......S|FPlayer(|
|000027d0| 50 61 77 6e 4c 69 6e 6b | 29 2e 53 65 74 44 65 73 |PawnLink|).SetDes|
|000027e0| 69 72 65 64 46 4f 56 28 | 39 30 2e 30 29 3b 0d 0a |iredFOV(|90.0);..|
|000027f0| 0d 0a 09 09 09 53 46 50 | 52 49 20 3d 20 53 46 50 |.....SFP|RI = SFP|
|00002800| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002810| 49 6e 66 6f 28 50 61 77 | 6e 4c 69 6e 6b 2e 50 6c |Info(Paw|nLink.Pl|
|00002820| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002830| 6e 66 6f 29 3b 0d 0a 09 | 09 09 53 46 50 52 49 2e |nfo);...|..SFPRI.|
|00002840| 53 65 74 4b 69 6c 6c 65 | 72 28 4e 6f 6e 65 29 3b |SetKille|r(None);|
|00002850| 0d 0a 0d 0a 09 09 09 2f | 2f 20 43 6c 65 61 72 20 |......./|/ Clear |
|00002860| 6a 6f 69 6e 65 64 20 6c | 61 74 65 20 76 61 72 2e |joined l|ate var.|
|00002870| 2e 2e 0d 0a 09 09 09 69 | 66 20 28 53 46 50 52 49 |.......i|f (SFPRI|
|00002880| 2e 62 4a 6f 69 6e 65 64 | 4c 61 74 65 29 0d 0a 09 |.bJoined|Late)...|
|00002890| 09 09 7b 0d 0a 09 09 09 | 09 53 46 50 52 49 2e 62 |..{.....|.SFPRI.b|
|000028a0| 4a 6f 69 6e 65 64 4c 61 | 74 65 20 3d 20 66 61 6c |JoinedLa|te = fal|
|000028b0| 73 65 3b 0d 0a 2f 2f 09 | 09 09 09 53 46 50 52 49 |se;..//.|...SFPRI|
|000028c0| 2e 54 65 61 6d 20 3d 20 | 53 46 50 52 49 2e 74 6f |.Team = |SFPRI.to|
|000028d0| 62 65 54 65 61 6d 3b 0d | 0a 09 09 09 7d 0d 0a 0d |beTeam;.|....}...|
|000028e0| 0a 09 09 09 2f 2f 20 4e | 6f 20 64 65 66 61 75 6c |....// N|o defaul|
|000028f0| 74 20 73 65 74 75 70 20 | 73 61 76 65 64 20 6f 76 |t setup |saved ov|
|00002900| 65 72 20 72 6f 75 6e 64 | 20 65 6e 64 65 64 0d 0a |er round| ended..|
|00002910| 09 09 09 53 46 50 6c 61 | 79 65 72 28 50 61 77 6e |...SFPla|yer(Pawn|
|00002920| 4c 69 6e 6b 29 2e 62 55 | 73 65 4c 61 73 74 53 65 |Link).bU|seLastSe|
|00002930| 74 75 70 20 3d 20 46 61 | 6c 73 65 3b 0d 0a 09 09 |tup = Fa|lse;....|
|00002940| 09 0d 0a 09 09 09 50 61 | 77 6e 4c 69 6e 6b 2e 50 |......Pa|wnLink.P|
|00002950| 6c 61 79 65 72 52 65 73 | 74 61 72 74 53 74 61 74 |layerRes|tartStat|
|00002960| 65 20 3d 20 50 61 77 6e | 4c 69 6e 6b 2e 44 65 66 |e = Pawn|Link.Def|
|00002970| 61 75 6c 74 2e 50 6c 61 | 79 65 72 52 65 73 74 61 |ault.Pla|yerResta|
|00002980| 72 74 53 74 61 74 65 3b | 0d 0a 2f 2f 20 20 20 20 |rtState;|..// |
|00002990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029a0| 20 20 20 20 69 66 28 53 | 46 50 6c 61 79 65 72 52 | if(S|FPlayerR|
|000029b0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 28 70 |eplicati|onInfo(p|
|000029c0| 61 77 6e 6c 69 6e 6b 2e | 50 6c 61 79 65 72 52 65 |awnlink.|PlayerRe|
|000029d0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 2e 62 |plicatio|nInfo).b|
|000029e0| 53 70 65 63 74 61 74 6f | 72 20 26 26 20 4c 65 76 |Spectato|r && Lev|
|000029f0| 65 6c 2e 4e 65 74 6d 6f | 64 65 21 3d 4e 4d 5f 53 |el.Netmo|de!=NM_S|
|00002a00| 74 61 6e 64 61 6c 6f 6e | 65 29 0d 0a 2f 2f 20 20 |tandalon|e)..// |
|00002a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a30| 20 20 20 20 20 20 73 66 | 70 6c 61 79 65 72 28 70 | sf|player(p|
|00002a40| 61 77 6e 6c 69 6e 6b 29 | 2e 50 6c 61 79 65 72 52 |awnlink)|.PlayerR|
|00002a50| 65 73 74 61 72 74 53 74 | 61 74 65 20 3d 20 27 50 |estartSt|ate = 'P|
|00002a60| 6c 61 79 65 72 53 70 65 | 63 74 61 74 69 6e 67 4e |layerSpe|ctatingN|
|00002a70| 6f 49 6e 69 74 69 61 6c | 53 63 6f 72 65 62 6f 61 |oInitial|Scoreboa|
|00002a80| 72 64 27 3b 0d 0a 09 09 | 09 50 61 77 6e 4c 69 6e |rd';....|.PawnLin|
|00002a90| 6b 2e 47 6f 74 6f 53 74 | 61 74 65 28 50 61 77 6e |k.GotoSt|ate(Pawn|
|00002aa0| 4c 69 6e 6b 2e 44 65 66 | 61 75 6c 74 2e 50 6c 61 |Link.Def|ault.Pla|
|00002ab0| 79 65 72 52 65 73 74 61 | 72 74 53 74 61 74 65 29 |yerResta|rtState)|
|00002ac0| 3b 0d 0a 09 09 09 52 65 | 73 74 61 72 74 50 6c 61 |;.....Re|startPla|
|00002ad0| 79 65 72 28 50 61 77 6e | 4c 69 6e 6b 29 3b 0d 0a |yer(Pawn|Link);..|
|00002ae0| 09 09 7d 0d 0a 09 09 65 | 6c 73 65 20 69 66 20 28 |..}....e|lse if (|
|00002af0| 53 46 4d 61 6c 65 42 6f | 74 28 50 61 77 6e 4c 69 |SFMaleBo|t(PawnLi|
|00002b00| 6e 6b 29 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |nk) != N|one)....|
|00002b10| 7b 0d 0a 09 09 09 2f 2f | 20 42 4f 54 53 21 0d 0a |{.....//| BOTS!..|
|00002b20| 0d 0a 09 09 09 50 61 77 | 6e 4c 69 6e 6b 2e 48 65 |.....Paw|nLink.He|
|00002b30| 61 6c 74 68 20 3d 20 50 | 61 77 6e 4c 69 6e 6b 2e |alth = P|awnLink.|
|00002b40| 44 65 66 61 75 6c 74 2e | 48 65 61 6c 74 68 3b 0d |Default.|Health;.|
|00002b50| 0a 09 09 09 0d 0a 09 09 | 09 53 46 42 52 49 20 3d |........|.SFBRI =|
|00002b60| 20 53 46 42 6f 74 52 65 | 70 6c 69 63 61 74 69 6f | SFBotRe|plicatio|
|00002b70| 6e 49 6e 66 6f 28 50 61 | 77 6e 4c 69 6e 6b 2e 50 |nInfo(Pa|wnLink.P|
|00002b80| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002b90| 49 6e 66 6f 29 3b 0d 0a | 09 09 09 53 46 42 52 49 |Info);..|...SFBRI|
|00002ba0| 2e 53 65 74 4b 69 6c 6c | 65 72 28 4e 6f 6e 65 29 |.SetKill|er(None)|
|00002bb0| 3b 0d 0a 09 09 09 53 46 | 42 52 49 2e 6d 5f 62 4e |;.....SF|BRI.m_bN|
|00002bc0| 6f 74 50 6c 61 79 69 6e | 67 20 3d 20 66 61 6c 73 |otPlayin|g = fals|
|00002bd0| 65 3b 0d 0a 0d 0a 09 09 | 09 50 61 77 6e 4c 69 6e |e;......|.PawnLin|
|00002be0| 6b 2e 47 6f 74 6f 53 74 | 61 74 65 28 27 53 74 61 |k.GotoSt|ate('Sta|
|00002bf0| 72 74 55 70 27 29 3b 0d | 0a 09 09 09 52 65 73 74 |rtUp');.|....Rest|
|00002c00| 61 72 74 50 6c 61 79 65 | 72 28 50 61 77 6e 4c 69 |artPlaye|r(PawnLi|
|00002c10| 6e 6b 29 3b 0d 0a 09 09 | 7d 0d 0a 09 09 65 6c 73 |nk);....|}....els|
|00002c20| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 4c 4f 47 28 22 |e....{..|...LOG("|
|00002c30| 53 46 20 45 52 52 4f 52 | 21 21 21 20 4e 65 69 74 |SF ERROR|!!! Neit|
|00002c40| 68 65 72 20 61 20 53 46 | 50 6c 61 79 65 72 20 6e |her a SF|Player n|
|00002c50| 6f 72 20 61 20 53 46 4d | 61 6c 65 42 6f 74 20 69 |or a SFM|aleBot i|
|00002c60| 6e 20 52 65 73 74 61 72 | 74 52 6f 75 6e 64 22 29 |n Restar|tRound")|
|00002c70| 3b 0d 0a 09 09 09 4c 4f | 47 28 22 50 61 77 6e 4c |;.....LO|G("PawnL|
|00002c80| 69 6e 6b 3d 22 24 50 61 | 77 6e 4c 69 6e 6b 29 3b |ink="$Pa|wnLink);|
|00002c90| 0d 0a 09 09 7d 0d 0a 0d | 0a 2f 2f 09 09 4c 4f 47 |....}...|.//..LOG|
|00002ca0| 28 22 41 64 64 44 65 66 | 61 75 6c 74 49 6e 76 65 |("AddDef|aultInve|
|00002cb0| 6e 74 6f 72 79 28 22 24 | 50 61 77 6e 4c 69 6e 6b |ntory("$|PawnLink|
|00002cc0| 24 22 29 22 29 3b 0d 0a | 2f 2f 09 09 41 64 64 44 |$")");..|//..AddD|
|00002cd0| 65 66 61 75 6c 74 49 6e | 76 65 6e 74 6f 72 79 28 |efaultIn|ventory(|
|00002ce0| 50 61 77 6e 4c 69 6e 6b | 29 3b 0d 0a 09 7d 0d 0a |PawnLink|);...}..|
|00002cf0| 0d 0a 09 69 66 20 28 4e | 65 78 74 45 71 75 69 70 |...if (N|extEquip|
|00002d00| 6d 65 6e 74 54 69 6d 65 | 20 3e 20 30 29 0d 0a 09 |mentTime| > 0)...|
|00002d10| 7b 0d 0a 09 09 2f 2f 20 | 4d 61 6b 65 20 73 75 72 |{....// |Make sur|
|00002d20| 65 20 77 65 20 68 61 76 | 65 20 61 74 20 6c 65 61 |e we hav|e at lea|
|00002d30| 73 74 20 22 6e 65 77 20 | 72 6f 75 6e 64 22 20 74 |st "new |round" t|
|00002d40| 69 6d 65 20 6c 65 66 74 | 20 6f 66 20 45 71 75 69 |ime left| of Equi|
|00002d50| 70 6d 65 6e 74 54 69 6d | 65 0d 0a 09 09 45 71 75 |pmentTim|e....Equ|
|00002d60| 69 70 6d 65 6e 74 54 69 | 6d 65 20 3d 20 4e 65 78 |ipmentTi|me = Nex|
|00002d70| 74 45 71 75 69 70 6d 65 | 6e 74 54 69 6d 65 3b 0d |tEquipme|ntTime;.|
|00002d80| 0a 09 09 53 46 47 61 6d | 65 52 65 70 6c 69 63 61 |...SFGam|eReplica|
|00002d90| 74 69 6f 6e 49 6e 66 6f | 28 47 61 6d 65 52 65 70 |tionInfo|(GameRep|
|00002da0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 29 2e 45 71 |lication|Info).Eq|
|00002db0| 75 69 70 6d 65 6e 74 54 | 69 6d 65 20 3d 20 45 71 |uipmentT|ime = Eq|
|00002dc0| 75 69 70 6d 65 6e 74 54 | 69 6d 65 3b 0d 0a 09 09 |uipmentT|ime;....|
|00002dd0| 62 49 73 45 71 75 69 70 | 6d 65 6e 74 54 69 6d 65 |bIsEquip|mentTime|
|00002de0| 20 3d 20 74 72 75 65 3b | 0d 0a 2f 2f 09 09 4c 4f | = true;|..//..LO|
|00002df0| 47 28 22 52 65 73 65 74 | 65 64 20 45 71 75 69 70 |G("Reset|ed Equip|
|00002e00| 6d 65 6e 74 54 69 6d 65 | 20 74 6f 3a 22 24 45 71 |mentTime| to:"$Eq|
|00002e10| 75 69 70 6d 65 6e 74 54 | 69 6d 65 29 3b 0d 0a 09 |uipmentT|ime);...|
|00002e20| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00002e30| 20 53 65 74 52 65 6d 61 | 69 6e 69 6e 67 54 69 6d | SetRema|iningTim|
|00002e40| 65 28 69 6e 74 20 6e 65 | 77 54 69 6d 65 29 0d 0a |e(int ne|wTime)..|
|00002e50| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 50 61 77 6e 09 50 |{...loca|l Pawn.P|
|00002e60| 61 77 6e 4c 69 6e 6b 3b | 0d 0a 0d 0a 09 2f 2f 20 |awnLink;|.....// |
|00002e70| 4c 6f 63 61 6c 20 73 65 | 72 76 65 72 20 63 68 61 |Local se|rver cha|
|00002e80| 6e 67 65 0d 0a 09 52 65 | 6d 61 69 6e 69 6e 67 54 |nge...Re|mainingT|
|00002e90| 69 6d 65 20 3d 20 6e 65 | 77 54 69 6d 65 3b 0d 0a |ime = ne|wTime;..|
|00002ea0| 0d 0a 09 66 6f 72 20 28 | 20 50 61 77 6e 4c 69 6e |...for (| PawnLin|
|00002eb0| 6b 3d 4c 65 76 65 6c 2e | 50 61 77 6e 4c 69 73 74 |k=Level.|PawnList|
|00002ec0| 3b 20 50 61 77 6e 4c 69 | 6e 6b 21 3d 4e 6f 6e 65 |; PawnLi|nk!=None|
|00002ed0| 3b 20 50 61 77 6e 4c 69 | 6e 6b 3d 50 61 77 6e 4c |; PawnLi|nk=PawnL|
|00002ee0| 69 6e 6b 2e 6e 65 78 74 | 50 61 77 6e 20 29 0d 0a |ink.next|Pawn )..|
|00002ef0| 09 7b 0d 0a 09 09 69 66 | 20 28 53 46 50 6c 61 79 |.{....if| (SFPlay|
|00002f00| 65 72 28 50 61 77 6e 4c | 69 6e 6b 29 20 21 3d 20 |er(PawnL|ink) != |
|00002f10| 4e 6f 6e 65 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 53 |None)...|.{.....S|
|00002f20| 46 50 6c 61 79 65 72 28 | 50 61 77 6e 4c 69 6e 6b |FPlayer(|PawnLink|
|00002f30| 29 2e 43 6c 69 65 6e 74 | 53 65 74 52 65 6d 61 69 |).Client|SetRemai|
|00002f40| 6e 69 6e 67 54 69 6d 65 | 28 6e 65 77 54 69 6d 65 |ningTime|(newTime|
|00002f50| 29 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a |);....}.|..}..}..|
|00002f60| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 54 69 6d |....func|tion Tim|
|00002f70| 65 72 28 29 0d 0a 7b 0d | 0a 09 69 66 20 28 28 62 |er()..{.|..if ((b|
|00002f80| 49 73 45 71 75 69 70 6d | 65 6e 74 54 69 6d 65 29 |IsEquipm|entTime)|
|00002f90| 20 26 26 20 28 28 45 6c | 61 70 73 65 64 54 69 6d | && ((El|apsedTim|
|00002fa0| 65 20 21 3d 20 30 29 20 | 7c 7c 20 28 52 65 6d 61 |e != 0) ||| (Rema|
|00002fb0| 69 6e 69 6e 67 54 69 6d | 65 20 21 3d 20 36 30 2a |iningTim|e != 60*|
|00002fc0| 54 69 6d 65 4c 69 6d 69 | 74 29 29 29 0d 0a 09 7b |TimeLimi|t)))...{|
|00002fd0| 0d 0a 09 09 45 71 75 69 | 70 6d 65 6e 74 54 69 6d |....Equi|pmentTim|
|00002fe0| 65 2d 2d 3b 0d 0a 2f 2f | 09 09 4c 4f 47 28 22 2d |e--;..//|..LOG("-|
|00002ff0| 2d 2d 3e 62 49 73 45 71 | 75 69 70 6d 65 6e 74 54 |-->bIsEq|uipmentT|
|00003000| 69 6d 65 3a 22 24 45 71 | 75 69 70 6d 65 6e 74 54 |ime:"$Eq|uipmentT|
|00003010| 69 6d 65 29 3b 0d 0a 0d | 0a 09 09 2f 2f 20 4d 61 |ime);...|...// Ma|
|00003020| 6b 65 20 73 75 72 65 20 | 74 68 61 74 20 65 76 65 |ke sure |that eve|
|00003030| 72 79 62 6f 64 79 20 67 | 65 74 73 20 49 6e 76 53 |rybody g|ets InvS|
|00003040| 74 61 74 69 6f 6e 42 72 | 69 6e 67 75 70 0d 0a 09 |tationBr|ingup...|
|00003050| 09 53 74 61 72 74 45 71 | 75 69 70 6d 65 6e 74 54 |.StartEq|uipmentT|
|00003060| 69 6d 65 28 29 3b 0d 0a | 0d 0a 09 09 2f 2f 20 42 |ime();..|....// B|
|00003070| 72 6f 61 64 43 61 73 74 | 20 74 68 69 73 0d 0a 09 |roadCast| this...|
|00003080| 09 53 46 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |.SFGameR|eplicati|
|00003090| 6f 6e 49 6e 66 6f 28 47 | 61 6d 65 52 65 70 6c 69 |onInfo(G|ameRepli|
|000030a0| 63 61 74 69 6f 6e 49 6e | 66 6f 29 2e 45 71 75 69 |cationIn|fo).Equi|
|000030b0| 70 6d 65 6e 74 54 69 6d | 65 20 3d 20 45 71 75 69 |pmentTim|e = Equi|
|000030c0| 70 6d 65 6e 74 54 69 6d | 65 3b 0d 0a 0d 0a 09 09 |pmentTim|e;......|
|000030d0| 69 66 20 28 28 45 71 75 | 69 70 6d 65 6e 74 54 69 |if ((Equ|ipmentTi|
|000030e0| 6d 65 20 3c 3d 20 30 29 | 20 7c 7c 20 43 68 65 63 |me <= 0)| || Chec|
|000030f0| 6b 52 65 61 64 79 46 6f | 72 47 61 6d 65 28 29 29 |kReadyFo|rGame())|
|00003100| 0d 0a 09 09 7b 0d 0a 09 | 09 09 62 49 73 45 71 75 |....{...|..bIsEqu|
|00003110| 69 70 6d 65 6e 74 54 69 | 6d 65 20 3d 20 66 61 6c |ipmentTi|me = fal|
|00003120| 73 65 3b 0d 0a 0d 0a 09 | 09 09 45 71 75 69 70 6d |se;.....|..Equipm|
|00003130| 65 6e 74 54 69 6d 65 20 | 3d 20 30 3b 0d 0a 09 09 |entTime |= 0;....|
|00003140| 09 2f 2f 20 42 72 6f 61 | 64 43 61 73 74 20 74 68 |.// Broa|dCast th|
|00003150| 69 73 0d 0a 09 09 09 53 | 46 47 61 6d 65 52 65 70 |is.....S|FGameRep|
|00003160| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 47 61 6d |lication|Info(Gam|
|00003170| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00003180| 29 2e 45 71 75 69 70 6d | 65 6e 74 54 69 6d 65 20 |).Equipm|entTime |
|00003190| 3d 20 45 71 75 69 70 6d | 65 6e 74 54 69 6d 65 3b |= Equipm|entTime;|
|000031a0| 0d 0a 0d 0a 09 09 09 2f | 2f 20 4d 61 6b 65 20 73 |......./|/ Make s|
|000031b0| 75 72 65 20 74 68 61 74 | 20 65 76 65 72 79 62 6f |ure that| everybo|
|000031c0| 64 79 20 72 65 6d 6f 76 | 65 73 20 49 6e 76 53 74 |dy remov|es InvSt|
|000031d0| 61 74 69 6f 6e 42 72 69 | 6e 67 75 70 0d 0a 09 09 |ationBri|ngup....|
|000031e0| 09 53 74 6f 70 45 71 75 | 69 70 6d 65 6e 74 54 69 |.StopEqu|ipmentTi|
|000031f0| 6d 65 28 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |me();...|.}...}..|
|00003200| 0d 0a 0d 0a 09 69 66 20 | 28 62 45 6e 64 47 61 6d |.....if |(bEndGam|
|00003210| 65 53 6f 6f 6e 29 0d 0a | 09 7b 0d 0a 2f 2f 09 09 |eSoon)..|.{..//..|
|00003220| 4c 4f 47 28 22 2d 2d 2d | 3e 62 45 6e 64 47 61 6d |LOG("---|>bEndGam|
|00003230| 65 53 6f 6f 6e 22 29 3b | 0d 0a 09 09 45 6e 64 47 |eSoon");|....EndG|
|00003240| 61 6d 65 44 65 6c 61 79 | 2d 2d 3b 0d 0a 09 09 69 |ameDelay|--;....i|
|00003250| 66 20 28 45 6e 64 47 61 | 6d 65 44 65 6c 61 79 20 |f (EndGa|meDelay |
|00003260| 3c 3d 20 30 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 45 |<= 0)...|.{.....E|
|00003270| 6e 64 47 61 6d 65 4c 61 | 74 65 72 28 45 6e 64 47 |ndGameLa|ter(EndG|
|00003280| 61 6d 65 52 65 61 73 6f | 6e 29 3b 0d 0a 09 09 09 |ameReaso|n);.....|
|00003290| 62 45 6e 64 47 61 6d 65 | 53 6f 6f 6e 20 3d 20 66 |bEndGame|Soon = f|
|000032a0| 61 6c 73 65 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |alse;...|.}...}..|
|000032b0| 09 43 68 65 63 6b 56 65 | 72 73 69 6f 6e 28 29 3b |.CheckVe|rsion();|
|000032c0| 0d 0a 0d 0a 09 69 66 20 | 28 62 52 6f 75 6e 64 45 |.....if |(bRoundE|
|000032d0| 6e 64 65 64 29 0d 0a 09 | 7b 0d 0a 09 09 52 6f 75 |nded)...|{....Rou|
|000032e0| 6e 64 44 65 6c 61 79 2d | 2d 3b 0d 0a 0d 0a 2f 2f |ndDelay-|-;....//|
|000032f0| 09 09 4c 4f 47 28 22 2d | 2d 2d 3e 62 52 6f 75 6e |..LOG("-|-->bRoun|
|00003300| 64 45 6e 64 65 64 2c 20 | 64 65 6c 61 79 3d 22 24 |dEnded, |delay="$|
|00003310| 52 6f 75 6e 64 44 65 6c | 61 79 29 3b 0d 0a 0d 0a |RoundDel|ay);....|
|00003320| 09 09 2f 2f 20 42 72 6f | 61 64 63 61 73 74 20 74 |..// Bro|adcast t|
|00003330| 68 69 73 2e 2e 2e 0d 0a | 09 09 53 46 47 61 6d 65 |his.....|..SFGame|
|00003340| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00003350| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00003360| 6e 66 6f 29 2e 52 6f 75 | 6e 64 44 65 6c 61 79 20 |nfo).Rou|ndDelay |
|00003370| 3d 20 52 6f 75 6e 64 44 | 65 6c 61 79 3b 0d 0a 0d |= RoundD|elay;...|
|00003380| 0a 09 09 69 66 20 28 52 | 6f 75 6e 64 44 65 6c 61 |...if (R|oundDela|
|00003390| 79 20 3d 3d 20 32 29 0d | 0a 09 09 7b 0d 0a 09 09 |y == 2).|...{....|
|000033a0| 09 2f 2f 20 53 74 61 72 | 74 20 6f 75 72 20 47 43 |.// Star|t our GC|
|000033b0| 0d 0a 09 09 09 73 70 61 | 77 6e 28 63 6c 61 73 73 |.....spa|wn(class|
|000033c0| 27 53 46 47 61 72 62 61 | 67 65 43 6f 6c 6c 65 63 |'SFGarba|geCollec|
|000033d0| 74 6f 72 27 2c 20 73 65 | 6c 66 29 3b 0d 0a 09 09 |tor', se|lf);....|
|000033e0| 7d 0d 0a 09 09 69 66 20 | 28 52 6f 75 6e 64 44 65 |}....if |(RoundDe|
|000033f0| 6c 61 79 20 3d 3d 20 31 | 29 0d 0a 09 09 7b 0d 0a |lay == 1|)....{..|
|00003400| 09 09 09 2f 2f 20 53 74 | 61 72 74 20 55 54 20 47 |...// St|art UT G|
|00003410| 43 0d 0a 2f 2f 09 09 09 | 43 6f 6c 6c 65 63 74 47 |C..//...|CollectG|
|00003420| 61 72 62 61 67 65 28 29 | 3b 0d 0a 09 09 7d 0d 0a |arbage()|;....}..|
|00003430| 0d 0a 09 09 69 66 20 28 | 52 6f 75 6e 64 44 65 6c |....if (|RoundDel|
|00003440| 61 79 20 3c 3d 20 30 29 | 0d 0a 09 09 7b 0d 0a 09 |ay <= 0)|....{...|
|00003450| 09 09 2f 2f 20 52 65 73 | 65 74 20 61 66 74 65 72 |..// Res|et after|
|00003460| 20 75 73 61 67 65 2e 2e | 2e 0d 0a 09 09 09 62 52 | usage..|......bR|
|00003470| 6f 75 6e 64 45 6e 64 65 | 64 20 3d 20 66 61 6c 73 |oundEnde|d = fals|
|00003480| 65 3b 0d 0a 09 0d 0a 09 | 09 09 53 46 47 61 6d 65 |e;......|..SFGame|
|00003490| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|000034a0| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|000034b0| 6e 66 6f 29 2e 62 52 6f | 75 6e 64 45 6e 64 65 64 |nfo).bRo|undEnded|
|000034c0| 20 3d 20 62 52 6f 75 6e | 64 45 6e 64 65 64 3b 0d | = bRoun|dEnded;.|
|000034d0| 0a 09 0d 0a 09 09 09 52 | 65 73 74 61 72 74 52 6f |.......R|estartRo|
|000034e0| 75 6e 64 28 29 3b 0d 0a | 09 09 09 53 65 74 52 65 |und();..|...SetRe|
|000034f0| 6d 61 69 6e 69 6e 67 54 | 69 6d 65 28 36 30 20 2a |mainingT|ime(60 *|
|00003500| 20 54 69 6d 65 4c 69 6d | 69 74 29 3b 0d 0a 09 09 | TimeLim|it);....|
|00003510| 7d 0d 0a 09 7d 0d 0a 09 | 53 75 70 65 72 2e 54 69 |}...}...|Super.Ti|
|00003520| 6d 65 72 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |mer();..|}....fun|
|00003530| 63 74 69 6f 6e 20 43 6f | 6c 6c 65 63 74 47 61 72 |ction Co|llectGar|
|00003540| 62 61 67 65 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |bage()..|{...loca|
|00003550| 6c 20 50 61 77 6e 20 50 | 61 77 6e 4c 69 6e 6b 3b |l Pawn P|awnLink;|
|00003560| 0d 0a 09 0d 0a 09 66 6f | 72 20 28 20 50 61 77 6e |......fo|r ( Pawn|
|00003570| 4c 69 6e 6b 3d 4c 65 76 | 65 6c 2e 50 61 77 6e 4c |Link=Lev|el.PawnL|
|00003580| 69 73 74 3b 20 50 61 77 | 6e 4c 69 6e 6b 21 3d 4e |ist; Paw|nLink!=N|
|00003590| 6f 6e 65 3b 20 50 61 77 | 6e 4c 69 6e 6b 3d 50 61 |one; Paw|nLink=Pa|
|000035a0| 77 6e 4c 69 6e 6b 2e 6e | 65 78 74 50 61 77 6e 20 |wnLink.n|extPawn |
|000035b0| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 20 28 50 6c 61 |)...{...|.if (Pla|
|000035c0| 79 65 72 50 61 77 6e 28 | 50 61 77 6e 4c 69 6e 6b |yerPawn(|PawnLink|
|000035d0| 29 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 7b 0d |) != Non|e)....{.|
|000035e0| 0a 09 09 09 4c 4f 47 28 | 22 2a 2a 2a 53 46 3a 3a |....LOG(|"***SF::|
|000035f0| 53 65 6e 64 69 6e 67 20 | 47 43 20 52 65 71 75 65 |Sending |GC Reque|
|00003600| 73 74 20 74 6f 3a 20 22 | 24 50 61 77 6e 4c 69 6e |st to: "|$PawnLin|
|00003610| 6b 29 3b 0d 0a 09 09 09 | 50 6c 61 79 65 72 50 61 |k);.....|PlayerPa|
|00003620| 77 6e 28 50 61 77 6e 4c | 69 6e 6b 29 2e 43 6f 6e |wn(PawnL|ink).Con|
|00003630| 73 6f 6c 65 43 6f 6d 6d | 61 6e 64 28 22 4f 42 4a |soleComm|and("OBJ|
|00003640| 20 47 41 52 42 41 47 45 | 22 29 3b 0d 0a 09 09 7d | GARBAGE|");....}|
|00003650| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00003660| 69 6f 6e 20 62 6f 6f 6c | 20 52 65 73 74 61 72 74 |ion bool| Restart|
|00003670| 50 6c 61 79 65 72 28 70 | 61 77 6e 20 61 50 6c 61 |Player(p|awn aPla|
|00003680| 79 65 72 29 09 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |yer)...{|...local|
|00003690| 20 53 46 4d 61 6c 65 42 | 6f 74 20 42 3b 0d 0a 09 | SFMaleB|ot B;...|
|000036a0| 6c 6f 63 61 6c 20 62 6f | 6f 6c 20 62 52 65 73 75 |local bo|ol bResu|
|000036b0| 6c 74 3b 0d 0a 09 6c 6f | 63 61 6c 20 53 46 42 6f |lt;...lo|cal SFBo|
|000036c0| 74 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |tReplica|tionInfo|
|000036d0| 20 53 46 42 52 49 3b 0d | 0a 09 6c 6f 63 61 6c 20 | SFBRI;.|..local |
|000036e0| 53 46 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |SFPlayer|Replicat|
|000036f0| 69 6f 6e 49 6e 66 6f 20 | 53 46 50 52 49 3b 0d 0a |ionInfo |SFPRI;..|
|00003700| 0d 0a 09 2f 2f 20 43 68 | 65 63 6b 20 69 66 20 77 |...// Ch|eck if w|
|00003710| 65 20 63 61 6d 65 20 68 | 65 72 65 20 62 65 63 61 |e came h|ere beca|
|00003720| 75 73 65 20 52 6f 75 6e | 64 20 68 61 73 20 65 6e |use Roun|d has en|
|00003730| 64 65 64 2e 2e 2e 0d 0a | 09 69 66 20 28 62 52 6f |ded.....|.if (bRo|
|00003740| 75 6e 64 45 6e 64 65 64 | 20 7c 7c 20 62 45 6e 64 |undEnded| || bEnd|
|00003750| 47 61 6d 65 53 6f 6f 6e | 29 0d 0a 09 7b 09 0d 0a |GameSoon|)...{...|
|00003760| 09 09 69 66 20 28 53 46 | 50 6c 61 79 65 72 28 61 |..if (SF|Player(a|
|00003770| 50 6c 61 79 65 72 29 20 | 21 3d 20 4e 6f 6e 65 29 |Player) |!= None)|
|00003780| 0d 0a 09 09 7b 0d 0a 2f | 2f 09 09 09 4c 4f 47 28 |....{../|/...LOG(|
|00003790| 22 52 65 73 74 61 72 74 | 20 22 24 61 50 6c 61 79 |"Restart| "$aPlay|
|000037a0| 65 72 24 22 20 69 6e 74 | 6f 20 52 6f 75 6e 64 45 |er$" int|o RoundE|
|000037b0| 6e 64 65 64 22 29 3b 0d | 0a 09 09 09 61 50 6c 61 |nded");.|....aPla|
|000037c0| 79 65 72 2e 50 6c 61 79 | 65 72 52 65 73 74 61 72 |yer.Play|erRestar|
|000037d0| 74 53 74 61 74 65 20 3d | 20 27 52 6f 75 6e 64 45 |tState =| 'RoundE|
|000037e0| 6e 64 65 64 27 3b 0d 0a | 09 09 09 72 65 74 75 72 |nded';..|...retur|
|000037f0| 6e 20 74 72 75 65 3b 0d | 0a 09 09 7d 0d 0a 09 09 |n true;.|...}....|
|00003800| 65 6c 73 65 0d 0a 09 09 | 7b 0d 0a 09 09 09 2f 2f |else....|{.....//|
|00003810| 20 42 6f 74 20 6f 72 20 | 6e 6f 6e 2d 53 46 20 50 | Bot or |non-SF P|
|00003820| 6c 61 79 65 72 2e 2e 2e | 0d 0a 2f 2f 09 09 09 4c |layer...|..//...L|
|00003830| 4f 47 28 22 42 6f 74 20 | 74 72 79 69 6e 67 20 74 |OG("Bot |trying t|
|00003840| 6f 20 72 65 73 74 61 72 | 74 3a 22 24 61 50 6c 61 |o restar|t:"$aPla|
|00003850| 79 65 72 29 3b 0d 0a 09 | 09 09 72 65 74 75 72 6e |yer);...|..return|
|00003860| 20 66 61 6c 73 65 3b 0d | 0a 09 09 7d 0d 0a 09 7d | false;.|...}...}|
|00003870| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 2f 2f 09 |...else.|..{..//.|
|00003880| 09 4c 4f 47 28 22 53 46 | 44 4d 3a 3a 52 65 73 74 |.LOG("SF|DM::Rest|
|00003890| 61 72 74 50 6c 61 79 65 | 72 3d 22 24 61 50 6c 61 |artPlaye|r="$aPla|
|000038a0| 79 65 72 29 3b 0d 0a 0d | 0a 09 09 61 50 6c 61 79 |yer);...|...aPlay|
|000038b0| 65 72 2e 44 61 6d 61 67 | 65 53 63 61 6c 69 6e 67 |er.Damag|eScaling|
|000038c0| 20 3d 20 61 50 6c 61 79 | 65 72 2e 44 65 66 61 75 | = aPlay|er.Defau|
|000038d0| 6c 74 2e 44 61 6d 61 67 | 65 53 63 61 6c 69 6e 67 |lt.Damag|eScaling|
|000038e0| 3b 0d 0a 09 09 42 20 3d | 20 53 46 4d 61 6c 65 42 |;....B =| SFMaleB|
|000038f0| 6f 74 28 61 50 6c 61 79 | 65 72 29 3b 0d 0a 09 09 |ot(aPlay|er);....|
|00003900| 53 46 42 52 49 20 3d 20 | 53 46 42 6f 74 52 65 70 |SFBRI = |SFBotRep|
|00003910| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 61 50 6c |lication|Info(aPl|
|00003920| 61 79 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ayer.Pla|yerRepli|
|00003930| 63 61 74 69 6f 6e 49 6e | 66 6f 29 3b 0d 0a 09 09 |cationIn|fo);....|
|00003940| 53 46 50 52 49 20 3d 20 | 53 46 50 6c 61 79 65 72 |SFPRI = |SFPlayer|
|00003950| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00003960| 61 50 6c 61 79 65 72 2e | 50 6c 61 79 65 72 52 65 |aPlayer.|PlayerRe|
|00003970| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 3b 0d |plicatio|nInfo);.|
|00003980| 0a 0d 0a 09 09 2f 2f 20 | 52 65 6d 6f 76 65 20 61 |.....// |Remove a|
|00003990| 6c 6c 20 62 6f 74 73 20 | 77 68 6f 20 68 61 76 65 |ll bots |who have|
|000039a0| 20 64 72 61 69 6e 65 64 | 20 61 6c 6c 20 6f 66 20 | drained| all of |
|000039b0| 74 68 65 69 72 20 6c 69 | 76 65 73 0d 0a 09 09 69 |their li|ves....i|
|000039c0| 66 28 6d 5f 6e 4e 75 6d | 50 6c 61 79 65 72 4c 69 |f(m_nNum|PlayerLi|
|000039d0| 76 65 73 20 21 3d 20 2d | 31 20 26 26 20 28 61 50 |ves != -|1 && (aP|
|000039e0| 6c 61 79 65 72 2e 44 69 | 65 43 6f 75 6e 74 20 2d |layer.Di|eCount -|
|000039f0| 20 6d 5f 6e 4e 75 6d 50 | 6c 61 79 65 72 4c 69 76 | m_nNumP|layerLiv|
|00003a00| 65 73 20 3e 20 30 29 29 | 0d 0a 09 09 7b 0d 0a 09 |es > 0))|....{...|
|00003a10| 09 09 69 66 28 42 20 21 | 3d 20 4e 6f 6e 65 29 0d |..if(B !|= None).|
|00003a20| 0a 09 09 09 7b 0d 0a 2f | 2f 09 09 09 09 4c 4f 47 |....{../|/....LOG|
|00003a30| 28 22 42 6f 74 20 64 72 | 61 69 6e 65 64 20 6e 6f |("Bot dr|ained no|
|00003a40| 20 6f 66 20 6c 69 66 65 | 73 2c 20 52 65 73 74 61 | of life|s, Resta|
|00003a50| 72 74 20 22 24 61 50 6c | 61 79 65 72 24 22 20 69 |rt "$aPl|ayer$" i|
|00003a60| 6e 74 6f 20 47 61 6d 65 | 45 6e 64 65 64 22 29 3b |nto Game|Ended");|
|00003a70| 0d 0a 0d 0a 09 09 09 09 | 2f 2f 20 4d 61 72 6b 20 |........|// Mark |
|00003a80| 61 73 20 6e 6f 74 20 70 | 6c 61 79 69 6e 67 0d 0a |as not p|laying..|
|00003a90| 09 09 09 09 53 46 42 52 | 49 2e 6d 5f 62 4e 6f 74 |....SFBR|I.m_bNot|
|00003aa0| 50 6c 61 79 69 6e 67 20 | 3d 20 74 72 75 65 3b 0d |Playing |= true;.|
|00003ab0| 0a 0d 0a 2f 2f 09 09 09 | 09 61 50 6c 61 79 65 72 |...//...|.aPlayer|
|00003ac0| 2e 47 6f 74 6f 53 74 61 | 74 65 28 27 47 61 6d 65 |.GotoSta|te('Game|
|00003ad0| 45 6e 64 65 64 27 29 3b | 0d 0a 09 09 09 09 72 65 |Ended');|......re|
|00003ae0| 74 75 72 6e 20 66 61 6c | 73 65 3b 20 2f 2f 20 62 |turn fal|se; // b|
|00003af0| 6f 74 73 20 64 6f 6e 27 | 74 20 72 65 73 70 61 77 |ots don'|t respaw|
|00003b00| 6e 20 77 68 65 6e 20 67 | 68 6f 73 74 73 0d 0a 09 |n when g|hosts...|
|00003b10| 09 09 7d 0d 0a 09 09 7d | 0d 0a 0d 0a 09 09 69 66 |..}....}|......if|
|00003b20| 28 28 42 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |((B != N|one) && |
|00003b30| 28 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 21 |(Level.N|etMode !|
|00003b40| 3d 20 4e 4d 5f 53 74 61 | 6e 64 61 6c 6f 6e 65 29 |= NM_Sta|ndalone)|
|00003b50| 20 26 26 20 54 6f 6f 4d | 61 6e 79 42 6f 74 73 28 | && TooM|anyBots(|
|00003b60| 29 29 0d 0a 09 09 7b 0d | 0a 2f 2f 09 09 09 4c 4f |))....{.|.//...LO|
|00003b70| 47 28 22 44 65 73 74 72 | 6f 79 3a 22 24 61 50 6c |G("Destr|oy:"$aPl|
|00003b80| 61 79 65 72 29 3b 0d 0a | 09 09 09 61 50 6c 61 79 |ayer);..|...aPlay|
|00003b90| 65 72 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 09 |er.Destr|oy();...|
|00003ba0| 09 09 72 65 74 75 72 6e | 20 66 61 6c 73 65 3b 0d |..return| false;.|
|00003bb0| 0a 09 09 7d 0d 0a 0d 0a | 0d 0a 09 09 69 66 28 53 |...}....|....if(S|
|00003bc0| 46 50 52 49 20 21 3d 20 | 4e 6f 6e 65 20 26 26 20 |FPRI != |None && |
|00003bd0| 53 46 50 52 49 2e 62 4a | 6f 69 6e 65 64 4c 61 74 |SFPRI.bJ|oinedLat|
|00003be0| 65 29 0d 0a 09 09 7b 0d | 0a 2f 2f 20 20 20 20 20 |e)....{.|.// |
|00003bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c00| 20 20 20 61 50 6c 61 79 | 65 72 2e 50 6c 61 79 65 | aPlay|er.Playe|
|00003c10| 72 52 65 73 74 61 72 74 | 53 74 61 74 65 20 3d 20 |rRestart|State = |
|00003c20| 27 50 6c 61 79 65 72 4a | 6f 69 6e 65 64 4c 61 74 |'PlayerJ|oinedLat|
|00003c30| 65 27 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e';.. | |
|00003c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 61 50 6c | | aPl|
|00003c50| 61 79 65 72 2e 50 6c 61 | 79 65 72 52 65 73 74 61 |ayer.Pla|yerResta|
|00003c60| 72 74 53 74 61 74 65 20 | 3d 20 27 50 6c 61 79 65 |rtState |= 'Playe|
|00003c70| 72 53 70 65 63 74 61 74 | 69 6e 67 4e 6f 49 6e 69 |rSpectat|ingNoIni|
|00003c80| 74 69 61 6c 53 63 6f 72 | 65 42 6f 61 72 64 27 3b |tialScor|eBoard';|
|00003c90| 0d 0a 09 09 09 72 65 74 | 75 72 6e 20 74 72 75 65 |.....ret|urn true|
|00003ca0| 3b 0d 0a 09 09 7d 0d 0a | 0d 0a 09 09 2f 2f 20 52 |;....}..|....// R|
|00003cb0| 65 73 70 61 77 6e 20 69 | 6e 20 44 4d 21 21 21 0d |espawn i|n DM!!!.|
|00003cc0| 0a 09 09 2f 2f 20 4e 4f | 20 45 71 75 69 70 6d 65 |...// NO| Equipme|
|00003cd0| 6e 74 54 69 6d 65 2c 20 | 6d 61 74 63 68 20 73 74 |ntTime, |match st|
|00003ce0| 61 72 74 65 64 20 61 6e | 64 20 52 65 73 70 61 77 |arted an|d Respaw|
|00003cf0| 6e 20 61 6c 6c 6f 77 65 | 64 21 0d 0a 09 09 2f 2f |n allowe|d!....//|
|00003d00| 20 4f 6e 6c 79 20 73 65 | 74 20 74 68 69 73 20 73 | Only se|t this s|
|00003d10| 74 61 74 65 20 66 6f 72 | 20 50 6c 61 79 65 72 73 |tate for| Players|
|00003d20| 2e 20 42 6f 74 73 20 75 | 73 65 20 74 68 65 20 6f |. Bots u|se the o|
|00003d30| 6c 64 20 77 61 79 2e 2e | 2e 0d 0a 09 09 69 66 20 |ld way..|.....if |
|00003d40| 28 28 21 62 49 73 45 71 | 75 69 70 6d 65 6e 74 54 |((!bIsEq|uipmentT|
|00003d50| 69 6d 65 29 20 26 26 20 | 28 6d 5f 6e 4e 75 6d 50 |ime) && |(m_nNumP|
|00003d60| 6c 61 79 65 72 4c 69 76 | 65 73 20 3d 3d 20 2d 31 |layerLiv|es == -1|
|00003d70| 29 29 0d 0a 09 09 7b 0d | 0a 2f 2f 09 09 09 4c 4f |))....{.|.//...LO|
|00003d80| 47 28 22 2d 2d 2d 52 65 | 73 70 61 77 6e 3a 22 24 |G("---Re|spawn:"$|
|00003d90| 61 50 6c 61 79 65 72 29 | 3b 0d 0a 2f 2f 20 20 20 |aPlayer)|;..// |
|00003da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003db0| 20 20 20 20 20 69 66 28 | 53 46 50 6c 61 79 65 72 | if(|SFPlayer|
|00003dc0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00003dd0| 61 50 6c 61 79 65 72 2e | 50 6c 61 79 65 72 52 65 |aPlayer.|PlayerRe|
|00003de0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 2e 62 |plicatio|nInfo).b|
|00003df0| 53 70 65 63 74 61 74 6f | 72 20 26 26 20 4c 65 76 |Spectato|r && Lev|
|00003e00| 65 6c 2e 4e 65 74 6d 6f | 64 65 21 3d 4e 4d 5f 53 |el.Netmo|de!=NM_S|
|00003e10| 74 61 6e 64 61 6c 6f 6e | 65 29 0d 0a 2f 2f 20 20 |tandalon|e)..// |
|00003e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e40| 20 20 20 20 20 20 61 50 | 6c 61 79 65 72 2e 50 6c | aP|layer.Pl|
|00003e50| 61 79 65 72 52 65 73 74 | 61 72 74 53 74 61 74 65 |ayerRest|artState|
|00003e60| 20 3d 20 27 50 6c 61 79 | 65 72 53 70 65 63 74 61 | = 'Play|erSpecta|
|00003e70| 74 69 6e 67 4e 6f 49 6e | 69 74 69 61 6c 53 63 6f |tingNoIn|itialSco|
|00003e80| 72 65 62 6f 61 72 64 27 | 3b 0d 0a 2f 2f 20 20 20 |reboard'|;..// |
|00003e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ea0| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 20 20 | else|.. |
|00003eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ec0| 20 20 61 50 6c 61 79 65 | 72 2e 50 6c 61 79 65 72 | aPlaye|r.Player|
|00003ed0| 52 65 73 74 61 72 74 53 | 74 61 74 65 3d 27 52 65 |RestartS|tate='Re|
|00003ee0| 73 70 61 77 6e 45 71 75 | 69 70 6d 65 6e 74 54 69 |spawnEqu|ipmentTi|
|00003ef0| 6d 65 27 3b 0d 0a 2f 2f | 09 09 09 4c 4f 47 28 22 |me';..//|...LOG("|
|00003f00| 20 20 20 62 48 69 64 64 | 65 6e 3d 22 24 61 50 6c | bHidd|en="$aPl|
|00003f10| 61 79 65 72 2e 62 48 69 | 64 64 65 6e 29 3b 0d 0a |ayer.bHi|dden);..|
|00003f20| 09 09 7d 0d 0a 0d 0a 2f | 2f 09 09 4c 4f 47 28 22 |..}..../|/..LOG("|
|00003f30| 43 61 6c 6c 20 53 75 70 | 65 72 2e 52 65 73 74 61 |Call Sup|er.Resta|
|00003f40| 72 74 3a 22 24 61 50 6c | 61 79 65 72 29 3b 0d 0a |rt:"$aPl|ayer);..|
|00003f50| 2f 2f 09 09 4c 4f 47 28 | 22 50 6c 61 79 65 72 52 |//..LOG(|"PlayerR|
|00003f60| 65 73 74 61 72 74 53 74 | 61 74 65 3d 22 24 61 50 |estartSt|ate="$aP|
|00003f70| 6c 61 79 65 72 2e 50 6c | 61 79 65 72 52 65 73 74 |layer.Pl|ayerRest|
|00003f80| 61 72 74 53 74 61 74 65 | 29 3b 0d 0a 09 09 62 52 |artState|);....bR|
|00003f90| 65 73 75 6c 74 20 3d 20 | 53 75 70 65 72 2e 52 65 |esult = |Super.Re|
|00003fa0| 73 74 61 72 74 50 6c 61 | 79 65 72 28 61 50 6c 61 |startPla|yer(aPla|
|00003fb0| 79 65 72 29 3b 0d 0a 2f | 2f 09 09 4c 4f 47 28 22 |yer);../|/..LOG("|
|00003fc0| 52 65 73 75 6c 74 20 6f | 66 20 74 68 61 74 3a 22 |Result o|f that:"|
|00003fd0| 24 62 52 65 73 75 6c 74 | 29 3b 0d 0a 0d 0a 09 09 |$bResult|);......|
|00003fe0| 69 66 28 61 50 6c 61 79 | 65 72 2e 49 73 41 28 27 |if(aPlay|er.IsA('|
|00003ff0| 54 6f 75 72 6e 61 6d 65 | 6e 74 50 6c 61 79 65 72 |Tourname|ntPlayer|
|00004000| 27 29 29 20 0d 0a 09 09 | 09 54 6f 75 72 6e 61 6d |')) ....|.Tournam|
|00004010| 65 6e 74 50 6c 61 79 65 | 72 28 61 50 6c 61 79 65 |entPlaye|r(aPlaye|
|00004020| 72 29 2e 53 74 61 72 74 | 53 70 6f 74 20 3d 20 4c |r).Start|Spot = L|
|00004030| 61 73 74 53 74 61 72 74 | 53 70 6f 74 3b 0d 0a 0d |astStart|Spot;...|
|00004040| 0a 09 09 2f 2f 20 54 75 | 72 6e 20 70 6c 61 79 65 |...// Tu|rn playe|
|00004050| 72 73 20 77 68 6f 20 68 | 61 76 65 20 64 72 61 69 |rs who h|ave drai|
|00004060| 6e 65 64 20 61 6c 6c 20 | 6f 66 20 74 68 65 69 72 |ned all |of their|
|00004070| 20 6c 69 76 65 73 20 69 | 6e 74 6f 20 73 70 65 63 | lives i|nto spec|
|00004080| 74 61 74 6f 72 73 0d 0a | 09 09 69 66 28 6d 5f 6e |tators..|..if(m_n|
|00004090| 4e 75 6d 50 6c 61 79 65 | 72 4c 69 76 65 73 20 21 |NumPlaye|rLives !|
|000040a0| 3d 20 2d 31 20 26 26 20 | 28 61 50 6c 61 79 65 72 |= -1 && |(aPlayer|
|000040b0| 2e 44 69 65 43 6f 75 6e | 74 20 2d 20 6d 5f 6e 4e |.DieCoun|t - m_nN|
|000040c0| 75 6d 50 6c 61 79 65 72 | 4c 69 76 65 73 20 3e 20 |umPlayer|Lives > |
|000040d0| 30 29 29 0d 0a 09 09 7b | 0d 0a 09 09 09 2f 2f 20 |0))....{|.....// |
|000040e0| 4f 6e 63 65 20 73 6f 6d | 65 6f 6e 65 20 67 65 74 |Once som|eone get|
|000040f0| 73 20 6b 69 6c 6c 65 64 | 20 68 65 20 62 65 63 6f |s killed| he beco|
|00004100| 6d 65 73 20 61 20 67 68 | 6f 73 74 20 28 27 63 65 |mes a gh|ost ('ce|
|00004110| 70 74 20 62 6f 74 73 29 | 20 41 64 64 20 61 20 76 |pt bots)| Add a v|
|00004120| 69 73 75 61 6c 20 65 66 | 66 65 63 74 2e 0d 0a 2f |isual ef|fect.../|
|00004130| 2a 09 09 09 69 66 28 6d | 5f 62 48 69 67 68 44 65 |*...if(m|_bHighDe|
|00004140| 74 61 69 6c 47 68 6f 73 | 74 73 29 0d 0a 09 09 09 |tailGhos|ts).....|
|00004150| 7b 0d 0a 09 09 09 09 61 | 50 6c 61 79 65 72 2e 53 |{......a|Player.S|
|00004160| 74 79 6c 65 20 3d 20 53 | 54 59 5f 54 72 61 6e 73 |tyle = S|TY_Trans|
|00004170| 6c 75 63 65 6e 74 3b 0d | 0a 09 09 09 09 61 50 6c |lucent;.|.....aPl|
|00004180| 61 79 65 72 2e 53 63 61 | 6c 65 47 6c 6f 77 20 3d |ayer.Sca|leGlow =|
|00004190| 20 30 2e 35 3b 0d 0a 09 | 09 09 7d 20 0d 0a 09 09 | 0.5;...|..} ....|
|000041a0| 09 65 6c 73 65 20 0d 0a | 2a 2f 0d 0a 09 09 09 61 |.else ..|*/.....a|
|000041b0| 50 6c 61 79 65 72 2e 62 | 48 69 64 64 65 6e 20 3d |Player.b|Hidden =|
|000041c0| 20 74 72 75 65 3b 0d 0a | 0d 0a 09 2f 2f 09 09 69 | true;..|...//..i|
|000041d0| 66 28 61 50 6c 61 79 65 | 72 2e 49 73 41 28 27 53 |f(aPlaye|r.IsA('S|
|000041e0| 46 50 6c 61 79 65 72 27 | 29 29 20 61 50 6c 61 79 |FPlayer'|)) aPlay|
|000041f0| 65 72 2e 50 6c 61 79 65 | 72 52 65 73 74 61 72 74 |er.Playe|rRestart|
|00004200| 53 74 61 74 65 20 3d 20 | 27 50 6c 61 79 65 72 53 |State = |'PlayerS|
|00004210| 70 65 63 74 61 74 69 6e | 67 4e 6f 49 6e 69 74 69 |pectatin|gNoIniti|
|00004220| 61 6c 53 63 6f 72 65 42 | 6f 61 72 64 27 3b 0d 0a |alScoreB|oard';..|
|00004230| 09 2f 2f 09 09 65 6c 73 | 65 20 61 50 6c 61 79 65 |.//..els|e aPlaye|
|00004240| 72 2e 50 6c 61 79 65 72 | 52 65 73 74 61 72 74 53 |r.Player|RestartS|
|00004250| 74 61 74 65 20 3d 20 27 | 50 6c 61 79 65 72 53 70 |tate = '|PlayerSp|
|00004260| 65 63 74 61 74 69 6e 67 | 27 3b 09 2f 2f 20 53 74 |ectating|';.// St|
|00004270| 61 74 65 20 27 50 6c 61 | 79 65 72 53 70 65 63 74 |ate 'Pla|yerSpect|
|00004280| 61 74 69 6e 67 27 20 42 | 65 67 69 6e 53 74 61 74 |ating' B|eginStat|
|00004290| 65 28 29 20 73 65 74 73 | 20 62 53 68 6f 77 53 63 |e() sets| bShowSc|
|000042a0| 6f 72 65 73 20 3d 20 74 | 72 75 65 2c 20 77 65 20 |ores = t|rue, we |
|000042b0| 6e 65 65 64 20 74 6f 20 | 64 65 66 69 6e 65 20 61 |need to |define a|
|000042c0| 20 6e 65 77 20 73 74 61 | 74 65 20 74 6f 20 67 65 | new sta|te to ge|
|000042d0| 74 20 72 69 64 20 6f 66 | 20 74 68 65 20 73 63 6f |t rid of| the sco|
|000042e0| 72 65 20 62 6f 61 72 64 | 0d 0a 09 09 09 61 50 6c |re board|.....aPl|
|000042f0| 61 79 65 72 2e 50 6c 61 | 79 65 72 52 65 73 74 61 |ayer.Pla|yerResta|
|00004300| 72 74 53 74 61 74 65 20 | 3d 20 27 50 6c 61 79 65 |rtState |= 'Playe|
|00004310| 72 53 70 65 63 74 61 74 | 69 6e 67 4e 6f 49 6e 69 |rSpectat|ingNoIni|
|00004320| 74 69 61 6c 53 63 6f 72 | 65 42 6f 61 72 64 27 3b |tialScor|eBoard';|
|00004330| 0d 0a 2f 2f 09 09 09 4c | 4f 47 28 22 52 65 73 74 |..//...L|OG("Rest|
|00004340| 61 72 74 20 22 24 61 50 | 6c 61 79 65 72 24 22 20 |art "$aP|layer$" |
|00004350| 69 6e 74 6f 20 50 6c 61 | 79 65 72 53 70 65 63 74 |into Pla|yerSpect|
|00004360| 61 74 69 6e 67 4e 6f 49 | 6e 69 74 69 61 6c 53 63 |atingNoI|nitialSc|
|00004370| 6f 72 65 42 6f 61 72 64 | 22 29 3b 0d 0a 09 09 7d |oreBoard|");....}|
|00004380| 0d 0a 09 7d 0d 0a 0d 0a | 2f 2f 09 4c 4f 47 28 22 |...}....|//.LOG("|
|00004390| 4c 65 61 76 69 6e 67 20 | 77 69 74 68 20 62 52 65 |Leaving |with bRe|
|000043a0| 73 75 6c 74 3a 22 24 62 | 52 65 73 75 6c 74 29 3b |sult:"$b|Result);|
|000043b0| 0d 0a 2f 2f 09 4c 4f 47 | 28 22 20 20 20 62 48 69 |..//.LOG|(" bHi|
|000043c0| 64 64 65 6e 3d 22 24 61 | 50 6c 61 79 65 72 2e 62 |dden="$a|Player.b|
|000043d0| 48 69 64 64 65 6e 29 3b | 0d 0a 09 72 65 74 75 72 |Hidden);|...retur|
|000043e0| 6e 20 62 52 65 73 75 6c | 74 3b 0d 0a 7d 0d 0a 0d |n bResul|t;..}...|
|000043f0| 0a 2f 2f 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.//*****|********|
|00004400| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004410| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004420| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004430| 2a 2a 2a 2a 2a 2a 0d 0a | 66 75 6e 63 74 69 6f 6e |******..|function|
|00004440| 20 66 6c 6f 61 74 20 50 | 6c 61 79 53 70 61 77 6e | float P|laySpawn|
|00004450| 45 66 66 65 63 74 28 69 | 6e 76 65 6e 74 6f 72 79 |Effect(i|nventory|
|00004460| 20 49 6e 76 29 0d 0a 7b | 0d 0a 09 2f 2f 20 41 64 | Inv)..{|...// Ad|
|00004470| 64 65 64 20 66 6f 72 20 | 53 46 43 6f 6f 6b 69 65 |ded for |SFCookie|
|00004480| 20 72 65 73 70 61 77 6e | 2e 2e 2e 0d 0a 09 69 66 | respawn|......if|
|00004490| 20 28 53 46 43 6f 6f 6b | 69 65 28 49 6e 76 29 20 | (SFCook|ie(Inv) |
|000044a0| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 72 65 74 75 |!= None)|....retu|
|000044b0| 72 6e 20 30 2e 30 3b 0d | 0a 09 65 6c 73 65 20 0d |rn 0.0;.|..else .|
|000044c0| 0a 09 09 72 65 74 75 72 | 6e 20 30 2e 33 3b 0d 0a |...retur|n 0.3;..|
|000044d0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 50 6c |}....fun|ction Pl|
|000044e0| 61 79 54 65 6c 65 70 6f | 72 74 45 66 66 65 63 74 |ayTelepo|rtEffect|
|000044f0| 28 20 61 63 74 6f 72 20 | 49 6e 63 6f 6d 69 6e 67 |( actor |Incoming|
|00004500| 2c 20 62 6f 6f 6c 20 62 | 4f 75 74 2c 20 62 6f 6f |, bool b|Out, boo|
|00004510| 6c 20 62 53 6f 75 6e 64 | 29 0d 0a 7b 0d 0a 7d 0d |l bSound|)..{..}.|
|00004520| 0a 0d 0a 2f 2f 20 52 65 | 73 75 6c 74 3a 0d 0a 2f |...// Re|sult:../|
|00004530| 2f 20 30 20 2d 20 50 69 | 73 74 6f 6c 0d 0a 2f 2f |/ 0 - Pi|stol..//|
|00004540| 20 31 20 2d 20 53 75 62 | 4d 61 63 68 69 6e 65 47 | 1 - Sub|MachineG|
|00004550| 75 6e 0d 0a 2f 2f 20 32 | 20 2d 20 41 73 73 61 75 |un..// 2| - Assau|
|00004560| 6c 74 52 69 66 6c 65 0d | 0a 2f 2f 20 33 20 2d 20 |ltRifle.|.// 3 - |
|00004570| 53 6e 69 70 65 72 52 69 | 66 6c 65 0d 0a 66 75 6e |SniperRi|fle..fun|
|00004580| 63 74 69 6f 6e 20 69 6e | 74 20 47 65 74 42 65 73 |ction in|t GetBes|
|00004590| 74 57 65 61 70 6f 6e 54 | 79 70 65 28 53 46 50 6c |tWeaponT|ype(SFPl|
|000045a0| 61 79 65 72 20 61 50 6c | 61 79 65 72 29 0d 0a 7b |ayer aPl|ayer)..{|
|000045b0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 4d 61 78 |...local| int Max|
|000045c0| 56 61 6c 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |Val;...l|ocal int|
|000045d0| 20 54 79 70 65 3b 0d 0a | 0d 0a 09 4d 61 78 56 61 | Type;..|...MaxVa|
|000045e0| 6c 20 3d 20 30 2e 30 3b | 0d 0a 09 54 79 70 65 20 |l = 0.0;|...Type |
|000045f0| 3d 20 30 3b 0d 0a 0d 0a | 09 2f 2f 20 49 66 20 76 |= 0;....|.// If v|
|00004600| 61 6c 75 65 73 20 61 72 | 65 20 65 71 75 61 6c 2c |alues ar|e equal,|
|00004610| 20 74 68 65 6e 20 73 65 | 6c 65 63 74 20 69 6e 20 | then se|lect in |
|00004620| 74 68 69 73 20 6f 72 64 | 65 72 21 21 21 0d 0a 0d |this ord|er!!!...|
|00004630| 0a 09 69 66 20 28 61 50 | 6c 61 79 65 72 2e 53 6e |..if (aP|layer.Sn|
|00004640| 69 70 65 72 52 69 66 6c | 65 41 63 63 75 72 61 63 |iperRifl|eAccurac|
|00004650| 79 20 3e 20 6d 61 78 56 | 61 6c 29 0d 0a 09 7b 0d |y > maxV|al)...{.|
|00004660| 0a 09 09 54 79 70 65 20 | 3d 20 33 3b 0d 0a 09 09 |...Type |= 3;....|
|00004670| 4d 61 78 56 61 6c 20 3d | 20 61 50 6c 61 79 65 72 |MaxVal =| aPlayer|
|00004680| 2e 53 6e 69 70 65 72 52 | 69 66 6c 65 41 63 63 75 |.SniperR|ifleAccu|
|00004690| 72 61 63 79 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 69 66 |racy;...|}.....if|
|000046a0| 20 28 61 50 6c 61 79 65 | 72 2e 41 73 73 61 75 6c | (aPlaye|r.Assaul|
|000046b0| 74 52 69 66 6c 65 41 63 | 63 75 72 61 63 79 20 3e |tRifleAc|curacy >|
|000046c0| 20 6d 61 78 56 61 6c 29 | 0d 0a 09 7b 0d 0a 09 09 | maxVal)|...{....|
|000046d0| 54 79 70 65 20 3d 20 32 | 3b 0d 0a 09 09 4d 61 78 |Type = 2|;....Max|
|000046e0| 56 61 6c 20 3d 20 61 50 | 6c 61 79 65 72 2e 41 73 |Val = aP|layer.As|
|000046f0| 73 61 75 6c 74 52 69 66 | 6c 65 41 63 63 75 72 61 |saultRif|leAccura|
|00004700| 63 79 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 20 28 |cy;...}.|....if (|
|00004710| 61 50 6c 61 79 65 72 2e | 53 75 62 4d 61 63 68 69 |aPlayer.|SubMachi|
|00004720| 6e 65 47 75 6e 41 63 63 | 75 72 61 63 79 20 3e 20 |neGunAcc|uracy > |
|00004730| 6d 61 78 56 61 6c 29 0d | 0a 09 7b 0d 0a 09 09 54 |maxVal).|..{....T|
|00004740| 79 70 65 20 3d 20 31 3b | 0d 0a 09 09 4d 61 78 56 |ype = 1;|....MaxV|
|00004750| 61 6c 20 3d 20 61 50 6c | 61 79 65 72 2e 53 75 62 |al = aPl|ayer.Sub|
|00004760| 4d 61 63 68 69 6e 65 47 | 75 6e 41 63 63 75 72 61 |MachineG|unAccura|
|00004770| 63 79 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 20 28 |cy;...}.|....if (|
|00004780| 61 50 6c 61 79 65 72 2e | 50 69 73 74 6f 6c 41 63 |aPlayer.|PistolAc|
|00004790| 63 75 72 61 63 79 20 3e | 20 6d 61 78 56 61 6c 29 |curacy >| maxVal)|
|000047a0| 0d 0a 09 7b 0d 0a 09 09 | 54 79 70 65 20 3d 20 30 |...{....|Type = 0|
|000047b0| 3b 0d 0a 09 09 4d 61 78 | 56 61 6c 20 3d 20 61 50 |;....Max|Val = aP|
|000047c0| 6c 61 79 65 72 2e 50 69 | 73 74 6f 6c 41 63 63 75 |layer.Pi|stolAccu|
|000047d0| 72 61 63 79 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 72 65 |racy;...|}.....re|
|000047e0| 74 75 72 6e 20 54 79 70 | 65 3b 0d 0a 7d 0d 0a 0d |turn Typ|e;..}...|
|000047f0| 0a 66 75 6e 63 74 69 6f | 6e 20 41 63 63 65 70 74 |.functio|n Accept|
|00004800| 49 6e 76 65 6e 74 6f 72 | 79 28 70 61 77 6e 20 50 |Inventor|y(pawn P|
|00004810| 6c 61 79 65 72 50 61 77 | 6e 29 0d 0a 7b 0d 0a 09 |layerPaw|n)..{...|
|00004820| 53 75 70 65 72 2e 41 63 | 63 65 70 74 49 6e 76 65 |Super.Ac|ceptInve|
|00004830| 6e 74 6f 72 79 28 50 6c | 61 79 65 72 50 61 77 6e |ntory(Pl|ayerPawn|
|00004840| 29 3b 0d 0a 09 0d 0a 09 | 2f 2f 20 54 68 65 20 62 |);......|// The b|
|00004850| 61 73 65 20 63 6c 61 73 | 73 20 63 61 6c 6c 73 20 |ase clas|s calls |
|00004860| 22 41 64 64 44 65 66 61 | 75 6c 74 49 6e 76 65 6e |"AddDefa|ultInven|
|00004870| 74 6f 72 79 22 20 62 75 | 74 0d 0a 09 2f 2f 20 69 |tory" bu|t...// i|
|00004880| 6e 20 53 46 2c 20 74 68 | 69 73 20 69 73 20 6e 6f |n SF, th|is is no|
|00004890| 74 20 65 6e 6f 75 67 68 | 20 74 6f 20 73 70 61 77 |t enough| to spaw|
|000048a0| 6e 20 77 65 61 70 6f 6e | 73 2e 2e 2e 20 0d 0a 09 |n weapon|s... ...|
|000048b0| 2f 2f 20 4e 65 65 64 20 | 74 6f 20 63 61 6c 6c 20 |// Need |to call |
|000048c0| 22 45 71 75 69 70 50 6c | 61 79 65 72 22 20 61 73 |"EquipPl|ayer" as|
|000048d0| 20 77 65 6c 6c 2e 2e 2e | 0d 0a 09 69 66 20 28 28 | well...|...if ((|
|000048e0| 62 53 46 47 61 6d 65 53 | 74 61 72 74 65 64 29 20 |bSFGameS|tarted) |
|000048f0| 26 26 20 28 53 46 50 6c | 61 79 65 72 28 50 6c 61 |&& (SFPl|ayer(Pla|
|00004900| 79 65 72 50 61 77 6e 29 | 20 21 3d 20 4e 6f 6e 65 |yerPawn)| != None|
|00004910| 29 29 0d 0a 09 7b 0d 0a | 09 09 53 46 50 6c 61 79 |))...{..|..SFPlay|
|00004920| 65 72 28 50 6c 61 79 65 | 72 50 61 77 6e 29 2e 45 |er(Playe|rPawn).E|
|00004930| 71 75 69 70 50 6c 61 79 | 65 72 28 29 3b 0d 0a 09 |quipPlay|er();...|
|00004940| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00004950| 20 41 64 64 44 65 66 61 | 75 6c 74 49 6e 76 65 6e | AddDefa|ultInven|
|00004960| 74 6f 72 79 28 20 70 61 | 77 6e 20 50 6c 61 79 65 |tory( pa|wn Playe|
|00004970| 72 50 61 77 6e 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |rPawn ).|.{...loc|
|00004980| 61 6c 20 53 46 50 6c 61 | 79 65 72 20 53 3b 0d 0a |al SFPla|yer S;..|
|00004990| 09 6c 6f 63 61 6c 20 63 | 6c 61 73 73 3c 57 65 61 |.local c|lass<Wea|
|000049a0| 70 6f 6e 3e 20 57 65 61 | 70 6f 6e 43 6c 61 73 73 |pon> Wea|ponClass|
|000049b0| 3b 20 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 42 |; ...loc|al int B|
|000049c0| 65 73 74 57 65 61 70 6f | 6e 54 79 70 65 3b 0d 0a |estWeapo|nType;..|
|000049d0| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 42 6f 74 |.local f|loat Bot|
|000049e0| 57 65 61 70 6f 6e 3b 0d | 0a 0d 0a 09 2f 2f 20 43 |Weapon;.|....// C|
|000049f0| 61 6c 6c 20 74 68 69 73 | 2c 20 69 66 20 4d 61 70 |all this|, if Map|
|00004a00| 56 6f 74 65 20 69 73 20 | 69 6e 73 74 61 6c 6c 65 |Vote is |installe|
|00004a10| 64 2c 20 69 74 20 6e 65 | 65 64 73 20 74 68 69 73 |d, it ne|eds this|
|00004a20| 21 09 0d 0a 09 69 66 20 | 28 62 55 73 65 4d 61 70 |!....if |(bUseMap|
|00004a30| 56 6f 74 65 29 0d 0a 09 | 09 42 61 73 65 4d 75 74 |Vote)...|.BaseMut|
|00004a40| 61 74 6f 72 2e 4d 6f 64 | 69 66 79 50 6c 61 79 65 |ator.Mod|ifyPlaye|
|00004a50| 72 28 50 6c 61 79 65 72 | 50 61 77 6e 29 3b 0d 0a |r(Player|Pawn);..|
|00004a60| 0d 0a 09 53 20 3d 20 53 | 46 50 6c 61 79 65 72 28 |...S = S|FPlayer(|
|00004a70| 50 6c 61 79 65 72 50 61 | 77 6e 29 3b 0d 0a 0d 0a |PlayerPa|wn);....|
|00004a80| 09 2f 2f 20 44 6f 6e 27 | 74 20 67 69 76 65 20 74 |.// Don'|t give t|
|00004a90| 68 69 73 20 50 6c 61 79 | 65 72 50 61 77 6e 20 61 |his Play|erPawn a|
|00004aa0| 20 64 65 66 61 75 6c 74 | 20 69 6e 76 65 6e 74 6f | default| invento|
|00004ab0| 72 79 20 69 66 20 6a 6f | 69 6e 65 64 20 6c 61 74 |ry if jo|ined lat|
|00004ac0| 65 2e 2e 2e 0d 0a 09 69 | 66 20 28 28 53 20 21 3d |e......i|f ((S !=|
|00004ad0| 20 4e 6f 6e 65 29 20 26 | 26 20 28 53 46 50 6c 61 | None) &|& (SFPla|
|00004ae0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00004af0| 66 6f 28 53 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |fo(S.Pla|yerRepli|
|00004b00| 63 61 74 69 6f 6e 49 6e | 66 6f 29 2e 62 4a 6f 69 |cationIn|fo).bJoi|
|00004b10| 6e 65 64 4c 61 74 65 29 | 29 0d 0a 09 7b 0d 0a 2f |nedLate)|)...{../|
|00004b20| 2f 09 09 4c 4f 47 28 22 | 4e 6f 20 44 65 66 61 75 |/..LOG("|No Defau|
|00004b30| 6c 74 49 6e 76 65 6e 74 | 6f 72 79 20 74 6f 20 6c |ltInvent|ory to l|
|00004b40| 61 74 65 20 6a 6f 69 6e | 65 72 73 2e 2e 2e 22 29 |ate join|ers...")|
|00004b50| 3b 0d 0a 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 7d |;....ret|urn;...}|
|00004b60| 0d 0a 0d 0a 09 69 66 28 | 53 20 21 3d 20 4e 4f 4e |.....if(|S != NON|
|00004b70| 45 29 0d 0a 09 7b 0d 0a | 2f 2f 09 09 4c 4f 47 28 |E)...{..|//..LOG(|
|00004b80| 22 49 6e 76 65 6e 74 6f | 72 79 53 65 74 75 70 28 |"Invento|rySetup(|
|00004b90| 22 24 52 4f 4c 45 24 22 | 29 22 29 3b 0d 0a 09 09 |"$ROLE$"|)");....|
|00004ba0| 53 2e 49 6e 76 65 6e 74 | 6f 72 79 53 65 74 75 70 |S.Invent|orySetup|
|00004bb0| 28 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 20 54 |();...}.|....// T|
|00004bc0| 65 73 74 20 66 6f 72 20 | 77 65 61 70 6f 6e 20 53 |est for |weapon S|
|00004bd0| 70 61 77 6e 69 6e 67 20 | 6f 66 20 47 72 75 66 66 |pawning |of Gruff|
|00004be0| 0d 0a 09 69 66 20 28 28 | 53 20 21 3d 20 4e 6f 6e |...if ((|S != Non|
|00004bf0| 65 29 20 26 26 20 28 53 | 74 72 69 6b 65 46 6f 72 |e) && (S|trikeFor|
|00004c00| 63 65 28 53 29 20 21 3d | 20 4e 6f 6e 65 29 29 0d |ce(S) !=| None)).|
|00004c10| 0a 09 7b 0d 0a 09 09 2f | 2f 20 54 68 65 20 53 74 |..{..../|/ The St|
|00004c20| 72 69 6b 65 46 6f 72 63 | 65 20 74 65 61 6d 0d 0a |rikeForc|e team..|
|00004c30| 09 09 42 65 73 74 57 65 | 61 70 6f 6e 54 79 70 65 |..BestWe|aponType|
|00004c40| 20 3d 20 47 65 74 42 65 | 73 74 57 65 61 70 6f 6e | = GetBe|stWeapon|
|00004c50| 54 79 70 65 28 53 29 3b | 0d 0a 0d 0a 2f 2f 09 09 |Type(S);|....//..|
|00004c60| 4c 4f 47 28 22 2a 53 46 | 2a 3a 42 65 73 74 57 65 |LOG("*SF|*:BestWe|
|00004c70| 61 70 6f 6e 54 79 70 65 | 3d 22 24 42 65 73 74 57 |aponType|="$BestW|
|00004c80| 65 61 70 6f 6e 54 79 70 | 65 24 22 20 66 6f 72 20 |eaponTyp|e$" for |
|00004c90| 22 24 53 29 3b 0d 0a 0d | 0a 09 09 73 77 69 74 63 |"$S);...|...switc|
|00004ca0| 68 20 28 42 65 73 74 57 | 65 61 70 6f 6e 54 79 70 |h (BestW|eaponTyp|
|00004cb0| 65 29 0d 0a 09 09 7b 0d | 0a 09 09 2f 2f 20 30 20 |e)....{.|...// 0 |
|00004cc0| 2d 20 50 69 73 74 6f 6c | 0d 0a 09 09 63 61 73 65 |- Pistol|....case|
|00004cd0| 20 30 3a 0d 0a 09 09 09 | 53 46 47 69 76 65 57 65 | 0:.....|SFGiveWe|
|00004ce0| 61 70 6f 6e 28 50 6c 61 | 79 65 72 50 61 77 6e 2c |apon(Pla|yerPawn,|
|00004cf0| 20 22 53 46 2e 44 65 73 | 65 72 74 45 61 67 6c 65 | "SF.Des|ertEagle|
|00004d00| 22 2c 20 22 53 46 2e 44 | 65 73 65 72 74 45 61 67 |", "SF.D|esertEag|
|00004d10| 6c 65 43 6c 69 70 22 29 | 3b 0d 0a 09 09 09 62 72 |leClip")|;.....br|
|00004d20| 65 61 6b 3b 0d 0a 09 09 | 2f 2f 20 31 20 2d 20 53 |eak;....|// 1 - S|
|00004d30| 75 62 4d 61 63 68 69 6e | 65 47 75 6e 0d 0a 09 09 |ubMachin|eGun....|
|00004d40| 63 61 73 65 20 31 3a 0d | 0a 09 09 09 53 46 47 69 |case 1:.|....SFGi|
|00004d50| 76 65 57 65 61 70 6f 6e | 28 50 6c 61 79 65 72 50 |veWeapon|(PlayerP|
|00004d60| 61 77 6e 2c 20 22 53 46 | 2e 4d 70 35 6b 22 2c 20 |awn, "SF|.Mp5k", |
|00004d70| 22 53 46 2e 4d 70 35 6b | 43 6c 69 70 22 29 3b 0d |"SF.Mp5k|Clip");.|
|00004d80| 0a 09 09 09 62 72 65 61 | 6b 3b 0d 0a 09 09 2f 2f |....brea|k;....//|
|00004d90| 20 32 20 2d 20 41 73 73 | 61 75 6c 74 52 69 66 6c | 2 - Ass|aultRifl|
|00004da0| 65 0d 0a 09 09 63 61 73 | 65 20 32 3a 0d 0a 09 09 |e....cas|e 2:....|
|00004db0| 09 53 46 47 69 76 65 57 | 65 61 70 6f 6e 28 50 6c |.SFGiveW|eapon(Pl|
|00004dc0| 61 79 65 72 50 61 77 6e | 2c 20 22 53 46 2e 4d 34 |ayerPawn|, "SF.M4|
|00004dd0| 22 2c 20 22 53 46 2e 4d | 34 43 6c 69 70 22 29 3b |", "SF.M|4Clip");|
|00004de0| 0d 0a 09 09 09 62 72 65 | 61 6b 3b 0d 0a 09 09 2f |.....bre|ak;..../|
|00004df0| 2f 20 33 20 2d 20 53 6e | 69 70 65 72 52 69 66 6c |/ 3 - Sn|iperRifl|
|00004e00| 65 0d 0a 09 09 63 61 73 | 65 20 33 3a 0d 0a 09 09 |e....cas|e 3:....|
|00004e10| 09 53 46 47 69 76 65 57 | 65 61 70 6f 6e 28 50 6c |.SFGiveW|eapon(Pl|
|00004e20| 61 79 65 72 50 61 77 6e | 2c 20 22 53 46 2e 42 61 |ayerPawn|, "SF.Ba|
|00004e30| 72 72 65 74 22 2c 20 22 | 53 46 2e 42 61 72 72 65 |rret", "|SF.Barre|
|00004e40| 74 43 6c 69 70 22 29 3b | 0d 0a 09 09 09 62 72 65 |tClip");|.....bre|
|00004e50| 61 6b 3b 0d 0a 09 09 64 | 65 66 61 75 6c 74 3a 0d |ak;....d|efault:.|
|00004e60| 0a 09 09 09 2f 2f 20 4e | 6f 20 57 65 61 70 6f 6e |....// N|o Weapon|
|00004e70| 20 61 74 20 61 6c 6c 0d | 0a 09 09 09 4c 4f 47 28 | at all.|....LOG(|
|00004e80| 22 2a 2a 2a 57 41 52 4e | 49 4e 47 2a 2a 2a 20 53 |"***WARN|ING*** S|
|00004e90| 46 44 4d 20 67 61 76 65 | 20 6e 6f 20 77 65 61 70 |FDM gave| no weap|
|00004ea0| 6f 6e 20 74 6f 3a 22 24 | 50 6c 61 79 65 72 50 61 |on to:"$|PlayerPa|
|00004eb0| 77 6e 29 3b 0d 0a 09 09 | 09 53 46 47 69 76 65 57 |wn);....|.SFGiveW|
|00004ec0| 65 61 70 6f 6e 28 50 6c | 61 79 65 72 50 61 77 6e |eapon(Pl|ayerPawn|
|00004ed0| 2c 20 22 22 2c 20 22 22 | 29 3b 0d 0a 09 09 09 62 |, "", ""|);.....b|
|00004ee0| 72 65 61 6b 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |reak;...|.}...}..|
|00004ef0| 09 65 6c 73 65 20 69 66 | 20 28 28 53 20 21 3d 20 |.else if| ((S != |
|00004f00| 4e 6f 6e 65 29 20 26 26 | 20 28 54 65 72 72 6f 72 |None) &&| (Terror|
|00004f10| 69 73 74 73 28 53 29 20 | 21 3d 20 4e 6f 6e 65 29 |ists(S) |!= None)|
|00004f20| 29 0d 0a 09 7b 0d 0a 09 | 09 2f 2f 20 54 68 65 20 |)...{...|.// The |
|00004f30| 54 65 72 72 6f 72 69 73 | 74 73 0d 0a 09 09 42 65 |Terroris|ts....Be|
|00004f40| 73 74 57 65 61 70 6f 6e | 54 79 70 65 20 3d 20 47 |stWeapon|Type = G|
|00004f50| 65 74 42 65 73 74 57 65 | 61 70 6f 6e 54 79 70 65 |etBestWe|aponType|
|00004f60| 28 53 29 3b 0d 0a 0d 0a | 2f 2f 09 09 4c 4f 47 28 |(S);....|//..LOG(|
|00004f70| 22 2a 53 46 2a 3a 42 65 | 73 74 57 65 61 70 6f 6e |"*SF*:Be|stWeapon|
|00004f80| 54 79 70 65 3d 22 24 42 | 65 73 74 57 65 61 70 6f |Type="$B|estWeapo|
|00004f90| 6e 54 79 70 65 24 22 20 | 66 6f 72 20 22 24 53 29 |nType$" |for "$S)|
|00004fa0| 3b 0d 0a 0d 0a 09 09 73 | 77 69 74 63 68 20 28 42 |;......s|witch (B|
|00004fb0| 65 73 74 57 65 61 70 6f | 6e 54 79 70 65 29 0d 0a |estWeapo|nType)..|
|00004fc0| 09 09 7b 0d 0a 09 09 2f | 2f 20 30 20 2d 20 50 69 |..{..../|/ 0 - Pi|
|00004fd0| 73 74 6f 6c 0d 0a 09 09 | 63 61 73 65 20 30 3a 0d |stol....|case 0:.|
|00004fe0| 0a 09 09 09 53 46 47 69 | 76 65 57 65 61 70 6f 6e |....SFGi|veWeapon|
|00004ff0| 28 50 6c 61 79 65 72 50 | 61 77 6e 2c 20 22 53 46 |(PlayerP|awn, "SF|
|00005000| 2e 44 65 73 65 72 74 45 | 61 67 6c 65 22 2c 20 22 |.DesertE|agle", "|
|00005010| 53 46 2e 44 65 73 65 72 | 74 45 61 67 6c 65 43 6c |SF.Deser|tEagleCl|
|00005020| 69 70 22 29 3b 0d 0a 09 | 09 09 62 72 65 61 6b 3b |ip");...|..break;|
|00005030| 0d 0a 09 09 2f 2f 20 31 | 20 2d 20 53 75 62 4d 61 |....// 1| - SubMa|
|00005040| 63 68 69 6e 65 47 75 6e | 0d 0a 09 09 63 61 73 65 |chineGun|....case|
|00005050| 20 31 3a 0d 0a 09 09 09 | 53 46 47 69 76 65 57 65 | 1:.....|SFGiveWe|
|00005060| 61 70 6f 6e 28 50 6c 61 | 79 65 72 50 61 77 6e 2c |apon(Pla|yerPawn,|
|00005070| 20 22 53 46 2e 55 7a 69 | 22 2c 20 22 53 46 2e 55 | "SF.Uzi|", "SF.U|
|00005080| 7a 69 43 6c 69 70 22 29 | 3b 0d 0a 09 09 09 62 72 |ziClip")|;.....br|
|00005090| 65 61 6b 3b 0d 0a 09 09 | 2f 2f 20 32 20 2d 20 41 |eak;....|// 2 - A|
|000050a0| 73 73 61 75 6c 74 52 69 | 66 6c 65 0d 0a 09 09 63 |ssaultRi|fle....c|
|000050b0| 61 73 65 20 32 3a 0d 0a | 09 09 09 53 46 47 69 76 |ase 2:..|...SFGiv|
|000050c0| 65 57 65 61 70 6f 6e 28 | 50 6c 61 79 65 72 50 61 |eWeapon(|PlayerPa|
|000050d0| 77 6e 2c 20 22 53 46 2e | 41 4b 34 37 22 2c 20 22 |wn, "SF.|AK47", "|
|000050e0| 53 46 2e 41 4b 34 37 43 | 6c 69 70 22 29 3b 0d 0a |SF.AK47C|lip");..|
|000050f0| 09 09 09 62 72 65 61 6b | 3b 0d 0a 09 09 2f 2f 20 |...break|;....// |
|00005100| 33 20 2d 20 53 6e 69 70 | 65 72 52 69 66 6c 65 0d |3 - Snip|erRifle.|
|00005110| 0a 09 09 63 61 73 65 20 | 33 3a 0d 0a 09 09 09 53 |...case |3:.....S|
|00005120| 46 47 69 76 65 57 65 61 | 70 6f 6e 28 50 6c 61 79 |FGiveWea|pon(Play|
|00005130| 65 72 50 61 77 6e 2c 20 | 22 53 46 2e 50 53 47 31 |erPawn, |"SF.PSG1|
|00005140| 22 2c 20 22 53 46 2e 50 | 53 47 31 43 6c 69 70 22 |", "SF.P|SG1Clip"|
|00005150| 29 3b 0d 0a 09 09 09 62 | 72 65 61 6b 3b 0d 0a 09 |);.....b|reak;...|
|00005160| 09 64 65 66 61 75 6c 74 | 3a 0d 0a 09 09 09 2f 2f |.default|:.....//|
|00005170| 20 4e 6f 20 57 65 61 70 | 6f 6e 20 61 74 20 61 6c | No Weap|on at al|
|00005180| 6c 0d 0a 09 09 09 4c 4f | 47 28 22 2a 2a 2a 57 41 |l.....LO|G("***WA|
|00005190| 52 4e 49 4e 47 2a 2a 2a | 20 53 46 44 4d 20 67 61 |RNING***| SFDM ga|
|000051a0| 76 65 20 6e 6f 20 77 65 | 61 70 6f 6e 20 74 6f 3a |ve no we|apon to:|
|000051b0| 22 24 50 6c 61 79 65 72 | 50 61 77 6e 29 3b 0d 0a |"$Player|Pawn);..|
|000051c0| 09 09 09 53 46 47 69 76 | 65 57 65 61 70 6f 6e 28 |...SFGiv|eWeapon(|
|000051d0| 50 6c 61 79 65 72 50 61 | 77 6e 2c 20 22 22 2c 20 |PlayerPa|wn, "", |
|000051e0| 22 22 29 3b 0d 0a 09 09 | 09 62 72 65 61 6b 3b 0d |"");....|.break;.|
|000051f0| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 20 |...}...}|...else |
|00005200| 69 66 20 28 42 6f 74 28 | 50 6c 61 79 65 72 50 61 |if (Bot(|PlayerPa|
|00005210| 77 6e 29 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |wn) != N|one)...{|
|00005220| 0d 0a 09 09 2f 2f 20 42 | 6f 74 73 0d 0a 09 09 42 |....// B|ots....B|
|00005230| 6f 74 57 65 61 70 6f 6e | 20 3d 20 46 72 61 6e 64 |otWeapon| = Frand|
|00005240| 28 29 3b 0d 0a 0d 0a 2f | 2f 09 09 4c 4f 47 28 22 |();..../|/..LOG("|
|00005250| 2a 53 46 2a 3a 52 61 6e | 64 6f 6d 57 65 61 70 6f |*SF*:Ran|domWeapo|
|00005260| 6e 3d 22 24 42 6f 74 57 | 65 61 70 6f 6e 24 22 20 |n="$BotW|eapon$" |
|00005270| 66 6f 72 20 22 24 50 6c | 61 79 65 72 50 61 77 6e |for "$Pl|ayerPawn|
|00005280| 29 3b 0d 0a 0d 0a 09 09 | 69 66 20 28 42 6f 74 57 |);......|if (BotW|
|00005290| 65 61 70 6f 6e 20 3c 20 | 30 2e 31 37 29 0d 0a 09 |eapon < |0.17)...|
|000052a0| 09 7b 0d 0a 09 09 09 53 | 46 47 69 76 65 57 65 61 |.{.....S|FGiveWea|
|000052b0| 70 6f 6e 28 50 6c 61 79 | 65 72 50 61 77 6e 2c 20 |pon(Play|erPawn, |
|000052c0| 22 53 46 2e 54 45 43 39 | 22 2c 20 22 53 46 2e 54 |"SF.TEC9|", "SF.T|
|000052d0| 45 43 39 43 6c 69 70 22 | 29 3b 0d 0a 09 09 7d 0d |EC9Clip"|);....}.|
|000052e0| 0a 09 09 65 6c 73 65 20 | 69 66 20 28 42 6f 74 57 |...else |if (BotW|
|000052f0| 65 61 70 6f 6e 20 3c 20 | 30 2e 33 33 29 0d 0a 09 |eapon < |0.33)...|
|00005300| 09 7b 0d 0a 09 09 09 53 | 46 47 69 76 65 57 65 61 |.{.....S|FGiveWea|
|00005310| 70 6f 6e 28 50 6c 61 79 | 65 72 50 61 77 6e 2c 20 |pon(Play|erPawn, |
|00005320| 22 53 46 2e 41 4b 34 37 | 22 2c 20 22 53 46 2e 41 |"SF.AK47|", "SF.A|
|00005330| 4b 34 37 43 6c 69 70 22 | 29 3b 0d 0a 09 09 7d 0d |K47Clip"|);....}.|
|00005340| 0a 09 09 65 6c 73 65 20 | 69 66 20 28 42 6f 74 57 |...else |if (BotW|
|00005350| 65 61 70 6f 6e 20 3c 20 | 30 2e 35 30 29 0d 0a 09 |eapon < |0.50)...|
|00005360| 09 7b 0d 0a 09 09 09 53 | 46 47 69 76 65 57 65 61 |.{.....S|FGiveWea|
|00005370| 70 6f 6e 28 50 6c 61 79 | 65 72 50 61 77 6e 2c 20 |pon(Play|erPawn, |
|00005380| 22 53 46 2e 47 6c 6f 63 | 6b 22 2c 20 22 53 46 2e |"SF.Gloc|k", "SF.|
|00005390| 47 6c 6f 63 6b 43 6c 69 | 70 22 29 3b 0d 0a 09 09 |GlockCli|p");....|
|000053a0| 7d 0d 0a 09 09 65 6c 73 | 65 20 69 66 20 28 42 6f |}....els|e if (Bo|
|000053b0| 74 57 65 61 70 6f 6e 20 | 3c 20 30 2e 36 37 29 0d |tWeapon |< 0.67).|
|000053c0| 0a 09 09 7b 0d 0a 09 09 | 09 53 46 47 69 76 65 57 |...{....|.SFGiveW|
|000053d0| 65 61 70 6f 6e 28 50 6c | 61 79 65 72 50 61 77 6e |eapon(Pl|ayerPawn|
|000053e0| 2c 20 22 53 46 2e 4d 70 | 35 6b 22 2c 20 22 53 46 |, "SF.Mp|5k", "SF|
|000053f0| 2e 4d 70 35 6b 43 6c 69 | 70 22 29 3b 0d 0a 09 09 |.Mp5kCli|p");....|
|00005400| 7d 0d 0a 09 09 65 6c 73 | 65 20 69 66 20 28 42 6f |}....els|e if (Bo|
|00005410| 74 57 65 61 70 6f 6e 20 | 3c 20 30 2e 38 33 29 0d |tWeapon |< 0.83).|
|00005420| 0a 09 09 7b 0d 0a 09 09 | 09 53 46 47 69 76 65 57 |...{....|.SFGiveW|
|00005430| 65 61 70 6f 6e 28 50 6c | 61 79 65 72 50 61 77 6e |eapon(Pl|ayerPawn|
|00005440| 2c 20 22 53 46 2e 55 7a | 69 22 2c 20 22 53 46 2e |, "SF.Uz|i", "SF.|
|00005450| 55 7a 69 43 6c 69 70 22 | 29 3b 0d 0a 09 09 7d 0d |UziClip"|);....}.|
|00005460| 0a 09 09 65 6c 73 65 20 | 69 66 20 28 42 6f 74 57 |...else |if (BotW|
|00005470| 65 61 70 6f 6e 20 3c 20 | 31 2e 30 29 0d 0a 09 09 |eapon < |1.0)....|
|00005480| 7b 0d 0a 09 09 09 53 46 | 47 69 76 65 57 65 61 70 |{.....SF|GiveWeap|
|00005490| 6f 6e 28 50 6c 61 79 65 | 72 50 61 77 6e 2c 20 22 |on(Playe|rPawn, "|
|000054a0| 53 46 2e 4d 34 22 2c 20 | 22 53 46 2e 4d 34 43 6c |SF.M4", |"SF.M4Cl|
|000054b0| 69 70 22 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |ip");...|.}...}..|
|000054c0| 7d 09 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 53 |}.....fu|nction S|
|000054d0| 46 47 69 76 65 57 65 61 | 70 6f 6e 28 50 61 77 6e |FGiveWea|pon(Pawn|
|000054e0| 20 50 6c 61 79 65 72 50 | 61 77 6e 2c 20 73 74 72 | PlayerP|awn, str|
|000054f0| 69 6e 67 20 61 43 6c 61 | 73 73 4e 61 6d 65 2c 20 |ing aCla|ssName, |
|00005500| 73 74 72 69 6e 67 20 61 | 6e 41 6d 6d 6f 4e 61 6d |string a|nAmmoNam|
|00005510| 65 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 63 |e )..{..|.local c|
|00005520| 6c 61 73 73 3c 57 65 61 | 70 6f 6e 3e 20 57 65 61 |lass<Wea|pon> Wea|
|00005530| 70 6f 6e 43 6c 61 73 73 | 3b 0d 0a 09 6c 6f 63 61 |ponClass|;...loca|
|00005540| 6c 20 57 65 61 70 6f 6e | 20 4e 65 77 57 65 61 70 |l Weapon| NewWeap|
|00005550| 6f 6e 3b 0d 0a 0d 0a 09 | 69 66 28 53 46 50 6c 61 |on;.....|if(SFPla|
|00005560| 79 65 72 28 50 6c 61 79 | 65 72 50 61 77 6e 29 20 |yer(Play|erPawn) |
|00005570| 21 3d 20 4e 4f 4e 45 29 | 0d 0a 09 7b 0d 0a 09 09 |!= NONE)|...{....|
|00005580| 69 66 20 28 21 62 4c 4d | 53 4d 6f 64 65 29 0d 0a |if (!bLM|SMode)..|
|00005590| 09 09 7b 0d 0a 09 09 09 | 2f 2f 20 47 69 76 65 20 |..{.....|// Give |
|000055a0| 77 65 61 70 6f 6e 20 41 | 4e 44 20 73 6f 6d 65 20 |weapon A|ND some |
|000055b0| 61 6d 6d 6f 20 66 6f 72 | 20 4e 6f 6e 2d 4c 4d 53 |ammo for| Non-LMS|
|000055c0| 20 47 61 6d 65 73 0d 0a | 09 09 09 53 46 50 6c 61 | Games..|...SFPla|
|000055d0| 79 65 72 28 50 6c 61 79 | 65 72 50 61 77 6e 29 2e |yer(Play|erPawn).|
|000055e0| 53 74 61 72 74 57 65 61 | 70 6f 6e 28 61 43 6c 61 |StartWea|pon(aCla|
|000055f0| 73 73 4e 61 6d 65 2c 20 | 61 6e 41 6d 6d 6f 4e 61 |ssName, |anAmmoNa|
|00005600| 6d 65 2c 20 32 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |me, 2);.|...}....|
|00005610| 65 6c 73 65 0d 0a 09 09 | 7b 09 2f 2f 20 4e 6f 20 |else....|{.// No |
|00005620| 41 6d 6d 6f 20 68 65 72 | 65 2e 2e 2e 20 67 6f 20 |Ammo her|e... go |
|00005630| 61 6e 64 20 67 65 74 20 | 73 6f 6d 65 21 0d 0a 09 |and get |some!...|
|00005640| 09 09 53 46 50 6c 61 79 | 65 72 28 50 6c 61 79 65 |..SFPlay|er(Playe|
|00005650| 72 50 61 77 6e 29 2e 53 | 74 61 72 74 57 65 61 70 |rPawn).S|tartWeap|
|00005660| 6f 6e 28 61 43 6c 61 73 | 73 4e 61 6d 65 2c 20 22 |on(aClas|sName, "|
|00005670| 22 2c 20 30 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |", 0);..|..}...}.|
|00005680| 0a 09 65 6c 73 65 0d 0a | 09 7b 0d 0a 09 09 57 65 |..else..|.{....We|
|00005690| 61 70 6f 6e 43 6c 61 73 | 73 20 3d 20 63 6c 61 73 |aponClas|s = clas|
|000056a0| 73 3c 57 65 61 70 6f 6e | 3e 28 44 79 6e 61 6d 69 |s<Weapon|>(Dynami|
|000056b0| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 61 43 6c 61 |cLoadObj|ect(aCla|
|000056c0| 73 73 4e 61 6d 65 2c 20 | 63 6c 61 73 73 27 43 6c |ssName, |class'Cl|
|000056d0| 61 73 73 27 29 29 3b 0d | 0a 0d 0a 09 09 69 66 28 |ass'));.|.....if(|
|000056e0| 20 50 6c 61 79 65 72 50 | 61 77 6e 2e 46 69 6e 64 | PlayerP|awn.Find|
|000056f0| 49 6e 76 65 6e 74 6f 72 | 79 54 79 70 65 28 57 65 |Inventor|yType(We|
|00005700| 61 70 6f 6e 43 6c 61 73 | 73 29 20 21 3d 20 4e 6f |aponClas|s) != No|
|00005710| 6e 65 20 29 0d 0a 09 09 | 09 72 65 74 75 72 6e 3b |ne )....|.return;|
|00005720| 0d 0a 09 09 6e 65 77 57 | 65 61 70 6f 6e 20 3d 20 |....newW|eapon = |
|00005730| 53 70 61 77 6e 28 57 65 | 61 70 6f 6e 43 6c 61 73 |Spawn(We|aponClas|
|00005740| 73 29 3b 0d 0a 09 09 69 | 66 28 20 6e 65 77 57 65 |s);....i|f( newWe|
|00005750| 61 70 6f 6e 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |apon != |None )..|
|00005760| 09 09 7b 0d 0a 09 09 09 | 6e 65 77 57 65 61 70 6f |..{.....|newWeapo|
|00005770| 6e 2e 52 65 73 70 61 77 | 6e 54 69 6d 65 20 3d 20 |n.Respaw|nTime = |
|00005780| 30 2e 30 3b 0d 0a 09 09 | 09 6e 65 77 57 65 61 70 |0.0;....|.newWeap|
|00005790| 6f 6e 2e 47 69 76 65 54 | 6f 28 50 6c 61 79 65 72 |on.GiveT|o(Player|
|000057a0| 50 61 77 6e 29 3b 0d 0a | 09 09 09 6e 65 77 57 65 |Pawn);..|...newWe|
|000057b0| 61 70 6f 6e 2e 62 48 65 | 6c 64 49 74 65 6d 20 3d |apon.bHe|ldItem =|
|000057c0| 20 74 72 75 65 3b 0d 0a | 09 09 09 6e 65 77 57 65 | true;..|...newWe|
|000057d0| 61 70 6f 6e 2e 47 69 76 | 65 41 6d 6d 6f 28 50 6c |apon.Giv|eAmmo(Pl|
|000057e0| 61 79 65 72 50 61 77 6e | 29 3b 0d 0a 09 09 09 6e |ayerPawn|);.....n|
|000057f0| 65 77 57 65 61 70 6f 6e | 2e 53 65 74 53 77 69 74 |ewWeapon|.SetSwit|
|00005800| 63 68 50 72 69 6f 72 69 | 74 79 28 50 6c 61 79 65 |chPriori|ty(Playe|
|00005810| 72 50 61 77 6e 29 3b 0d | 0a 09 09 09 6e 65 77 57 |rPawn);.|....newW|
|00005820| 65 61 70 6f 6e 2e 57 65 | 61 70 6f 6e 53 65 74 28 |eapon.We|aponSet(|
|00005830| 50 6c 61 79 65 72 50 61 | 77 6e 29 3b 0d 0a 09 09 |PlayerPa|wn);....|
|00005840| 09 6e 65 77 57 65 61 70 | 6f 6e 2e 41 6d 62 69 65 |.newWeap|on.Ambie|
|00005850| 6e 74 47 6c 6f 77 20 3d | 20 30 3b 0d 0a 09 09 09 |ntGlow =| 0;.....|
|00005860| 69 66 20 28 20 50 6c 61 | 79 65 72 50 61 77 6e 2e |if ( Pla|yerPawn.|
|00005870| 49 73 41 28 27 50 6c 61 | 79 65 72 50 61 77 6e 27 |IsA('Pla|yerPawn'|
|00005880| 29 20 29 0d 0a 09 09 09 | 09 6e 65 77 57 65 61 70 |) ).....|.newWeap|
|00005890| 6f 6e 2e 53 65 74 48 61 | 6e 64 28 50 6c 61 79 65 |on.SetHa|nd(Playe|
|000058a0| 72 50 61 77 6e 28 50 6c | 61 79 65 72 50 61 77 6e |rPawn(Pl|ayerPawn|
|000058b0| 29 2e 48 61 6e 64 65 64 | 6e 65 73 73 29 3b 0d 0a |).Handed|ness);..|
|000058c0| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 6e 65 77 |...else.|.....new|
|000058d0| 57 65 61 70 6f 6e 2e 47 | 6f 74 6f 53 74 61 74 65 |Weapon.G|otoState|
|000058e0| 28 27 49 64 6c 65 27 29 | 3b 0d 0a 09 09 09 50 6c |('Idle')|;.....Pl|
|000058f0| 61 79 65 72 50 61 77 6e | 2e 50 65 6e 64 69 6e 67 |ayerPawn|.Pending|
|00005900| 57 65 61 70 6f 6e 20 3d | 20 4e 6f 6e 65 3b 0d 0a |Weapon =| None;..|
|00005910| 09 09 09 50 6c 61 79 65 | 72 50 61 77 6e 2e 57 65 |...Playe|rPawn.We|
|00005920| 61 70 6f 6e 20 3d 20 6e | 65 77 57 65 61 70 6f 6e |apon = n|ewWeapon|
|00005930| 3b 0d 0a 09 09 09 50 6c | 61 79 65 72 50 61 77 6e |;.....Pl|ayerPawn|
|00005940| 2e 57 65 61 70 6f 6e 2e | 47 6f 74 6f 53 74 61 74 |.Weapon.|GotoStat|
|00005950| 65 28 27 44 6f 77 6e 57 | 65 61 70 6f 6e 27 29 3b |e('DownW|eapon');|
|00005960| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |....}...|}..}....|
|00005970| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 43 68 65 63 6b |..functi|on Check|
|00005980| 45 6e 64 47 61 6d 65 28 | 29 0d 0a 7b 0d 0a 09 6c |EndGame(|)..{...l|
|00005990| 6f 63 61 6c 20 50 61 77 | 6e 20 50 61 77 6e 4c 69 |ocal Paw|n PawnLi|
|000059a0| 6e 6b 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |nk;...lo|cal int |
|000059b0| 53 74 69 6c 6c 50 6c 61 | 79 69 6e 67 2c 20 4e 75 |StillPla|ying, Nu|
|000059c0| 6d 47 68 6f 73 74 73 3b | 0d 0a 09 6c 6f 63 61 6c |mGhosts;|...local|
|000059d0| 20 62 6f 6f 6c 20 62 53 | 74 69 6c 6c 48 75 6d 61 | bool bS|tillHuma|
|000059e0| 6e 3b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 74 20 42 |n;...loc|al bot B|
|000059f0| 2c 20 44 3b 0d 0a 0d 0a | 09 69 66 20 28 20 62 47 |, D;....|.if ( bG|
|00005a00| 61 6d 65 45 6e 64 65 64 | 20 29 0d 0a 09 09 72 65 |ameEnded| )....re|
|00005a10| 74 75 72 6e 3b 0d 0a 0d | 0a 09 2f 2f 20 43 68 65 |turn;...|..// Che|
|00005a20| 63 6b 20 74 6f 20 73 65 | 65 20 69 66 20 65 76 65 |ck to se|e if eve|
|00005a30| 72 79 6f 6e 65 20 69 73 | 20 61 20 67 68 6f 73 74 |ryone is| a ghost|
|00005a40| 2e 0d 0a 09 66 6f 72 20 | 28 20 50 61 77 6e 4c 69 |....for |( PawnLi|
|00005a50| 6e 6b 3d 4c 65 76 65 6c | 2e 50 61 77 6e 4c 69 73 |nk=Level|.PawnLis|
|00005a60| 74 3b 20 50 61 77 6e 4c | 69 6e 6b 21 3d 4e 6f 6e |t; PawnL|ink!=Non|
|00005a70| 65 3b 20 50 61 77 6e 4c | 69 6e 6b 3d 50 61 77 6e |e; PawnL|ink=Pawn|
|00005a80| 4c 69 6e 6b 2e 6e 65 78 | 74 50 61 77 6e 20 29 0d |Link.nex|tPawn ).|
|00005a90| 0a 09 09 69 66 20 28 20 | 50 61 77 6e 4c 69 6e 6b |...if ( |PawnLink|
|00005aa0| 2e 62 49 73 50 6c 61 79 | 65 72 20 29 0d 0a 09 09 |.bIsPlay|er )....|
|00005ab0| 7b 0d 0a 09 09 09 69 66 | 20 28 50 61 77 6e 4c 69 |{.....if| (PawnLi|
|00005ac0| 6e 6b 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |nk.Playe|rReplica|
|00005ad0| 74 69 6f 6e 49 6e 66 6f | 2e 44 65 61 74 68 73 20 |tionInfo|.Deaths |
|00005ae0| 3e 20 30 29 0d 0a 09 09 | 09 09 4e 75 6d 47 68 6f |> 0)....|..NumGho|
|00005af0| 73 74 73 2b 2b 3b 0d 0a | 09 09 09 65 6c 73 65 20 |sts++;..|...else |
|00005b00| 69 66 28 53 46 53 70 65 | 63 74 61 74 6f 72 28 50 |if(SFSpe|ctator(P|
|00005b10| 61 77 6e 4c 69 6e 6b 29 | 20 21 3d 20 4e 4f 4e 45 |awnLink)| != NONE|
|00005b20| 29 0d 0a 09 09 09 09 4e | 75 6d 47 68 6f 73 74 73 |)......N|umGhosts|
|00005b30| 2b 2b 3b 0d 0a 09 09 09 | 65 6c 73 65 20 69 66 28 |++;.....|else if(|
|00005b40| 20 53 46 50 6c 61 79 65 | 72 28 50 61 77 6e 4c 69 | SFPlaye|r(PawnLi|
|00005b50| 6e 6b 29 20 21 3d 20 4e | 4f 4e 45 20 26 26 20 0d |nk) != N|ONE && .|
|00005b60| 0a 09 09 09 20 20 20 20 | 20 20 20 20 20 28 20 53 |.... | ( S|
|00005b70| 46 50 6c 61 79 65 72 28 | 50 61 77 6e 4c 69 6e 6b |FPlayer(|PawnLink|
|00005b80| 29 2e 49 73 49 6e 53 74 | 61 74 65 28 27 50 6c 61 |).IsInSt|ate('Pla|
|00005b90| 79 65 72 53 70 65 63 74 | 61 74 69 6e 67 4e 6f 49 |yerSpect|atingNoI|
|00005ba0| 6e 69 74 69 61 6c 53 63 | 6f 72 65 62 6f 61 72 64 |nitialSc|oreboard|
|00005bb0| 27 29 20 7c 7c 20 53 46 | 50 6c 61 79 65 72 28 50 |') || SF|Player(P|
|00005bc0| 61 77 6e 4c 69 6e 6b 29 | 2e 49 73 49 6e 53 74 61 |awnLink)|.IsInSta|
|00005bd0| 74 65 28 27 50 6c 61 79 | 65 72 4a 6f 69 6e 65 64 |te('Play|erJoined|
|00005be0| 4c 61 74 65 27 29 29 0d | 0a 09 09 09 20 20 20 20 |Late')).|.... |
|00005bf0| 20 20 20 29 0d 0a 09 09 | 09 09 4e 75 6d 47 68 6f | )....|..NumGho|
|00005c00| 73 74 73 2b 2b 3b 0d 0a | 09 09 09 65 6c 73 65 0d |sts++;..|...else.|
|00005c10| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 69 66 20 28 50 |....{...|...if (P|
|00005c20| 61 77 6e 4c 69 6e 6b 2e | 49 73 41 28 27 50 6c 61 |awnLink.|IsA('Pla|
|00005c30| 79 65 72 50 61 77 6e 27 | 29 29 0d 0a 09 09 09 09 |yerPawn'|))......|
|00005c40| 09 62 53 74 69 6c 6c 48 | 75 6d 61 6e 20 3d 20 74 |.bStillH|uman = t|
|00005c50| 72 75 65 3b 0d 0a 09 09 | 09 09 53 74 69 6c 6c 50 |rue;....|..StillP|
|00005c60| 6c 61 79 69 6e 67 2b 2b | 3b 0d 0a 09 09 09 7d 0d |laying++|;.....}.|
|00005c70| 0a 09 09 7d 0d 0a 0d 0a | 09 69 66 20 28 62 4c 4d |...}....|.if (bLM|
|00005c80| 53 4d 6f 64 65 29 0d 0a | 09 7b 0d 0a 2f 2f 09 09 |SMode)..|.{..//..|
|00005c90| 4c 4f 47 28 22 62 4c 4d | 53 4d 6f 64 65 22 29 3b |LOG("bLM|SMode");|
|00005ca0| 0d 0a 09 09 2f 2f 20 45 | 6e 64 20 74 68 65 20 67 |....// E|nd the g|
|00005cb0| 61 6d 65 20 69 66 20 74 | 68 65 72 65 20 69 73 20 |ame if t|here is |
|00005cc0| 6f 6e 6c 79 20 6f 6e 65 | 20 6d 61 6e 20 73 74 61 |only one| man sta|
|00005cd0| 6e 64 69 6e 67 2e 0d 0a | 09 09 69 66 20 28 20 53 |nding...|..if ( S|
|00005ce0| 74 69 6c 6c 50 6c 61 79 | 69 6e 67 20 3c 20 32 20 |tillPlay|ing < 2 |
|00005cf0| 29 0d 0a 09 09 09 45 6e | 64 47 61 6d 65 28 22 6c |).....En|dGame("l|
|00005d00| 61 73 74 6d 61 6e 73 74 | 61 6e 64 69 6e 67 22 29 |astmanst|anding")|
|00005d10| 3b 0d 0a 09 09 65 6c 73 | 65 20 69 66 20 28 20 21 |;....els|e if ( !|
|00005d20| 62 53 74 69 6c 6c 48 75 | 6d 61 6e 20 29 0d 0a 09 |bStillHu|man )...|
|00005d30| 09 7b 0d 0a 09 09 09 2f | 2f 20 6e 6f 20 68 75 6d |.{...../|/ no hum|
|00005d40| 61 6e 73 20 6c 65 66 74 | 20 2d 20 67 65 74 20 62 |ans left| - get b|
|00005d50| 6f 74 73 20 74 6f 20 62 | 65 20 6d 6f 72 65 20 61 |ots to b|e more a|
|00005d60| 67 67 72 65 73 73 69 76 | 65 20 61 6e 64 20 66 69 |ggressiv|e and fi|
|00005d70| 6e 69 73 68 20 75 70 0d | 0a 09 09 09 66 6f 72 20 |nish up.|....for |
|00005d80| 28 20 50 61 77 6e 4c 69 | 6e 6b 3d 4c 65 76 65 6c |( PawnLi|nk=Level|
|00005d90| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 61 77 6e 4c |.PawnLis|t; PawnL|
|00005da0| 69 6e 6b 21 3d 4e 6f 6e | 65 3b 20 50 61 77 6e 4c |ink!=Non|e; PawnL|
|00005db0| 69 6e 6b 3d 50 61 77 6e | 4c 69 6e 6b 2e 4e 65 78 |ink=Pawn|Link.Nex|
|00005dc0| 74 50 61 77 6e 20 29 0d | 0a 09 09 09 7b 0d 0a 09 |tPawn ).|....{...|
|00005dd0| 09 09 09 42 20 3d 20 42 | 6f 74 28 50 61 77 6e 4c |...B = B|ot(PawnL|
|00005de0| 69 6e 6b 29 3b 0d 0a 09 | 09 09 09 69 66 20 28 20 |ink);...|...if ( |
|00005df0| 42 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 09 |B != Non|e ).....|
|00005e00| 09 7b 0d 0a 09 09 09 09 | 09 42 2e 43 61 6d 70 69 |.{......|.B.Campi|
|00005e10| 6e 67 52 61 74 65 20 3d | 20 30 3b 0d 0a 09 09 09 |ngRate =| 0;.....|
|00005e20| 09 09 42 2e 41 67 67 72 | 65 73 73 69 76 65 6e 65 |..B.Aggr|essivene|
|00005e30| 73 73 20 2b 3d 20 35 2e | 30 3b 0d 0a 09 09 09 09 |ss += 5.|0;......|
|00005e40| 09 69 66 20 28 20 44 20 | 3d 3d 20 4e 6f 6e 65 20 |.if ( D |== None |
|00005e50| 29 0d 0a 09 09 09 09 09 | 09 44 20 3d 20 42 3b 0d |).......|.D = B;.|
|00005e60| 0a 09 09 09 09 09 65 6c | 73 65 20 69 66 20 28 20 |......el|se if ( |
|00005e70| 42 2e 45 6e 65 6d 79 20 | 3d 3d 20 4e 6f 6e 65 20 |B.Enemy |== None |
|00005e80| 29 0d 0a 09 09 09 09 09 | 09 42 2e 53 65 74 45 6e |).......|.B.SetEn|
|00005e90| 65 6d 79 28 44 29 3b 0d | 0a 09 09 09 09 7d 0d 0a |emy(D);.|.....}..|
|00005ea0| 09 09 09 7d 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 |...}....|}...}...|
|00005eb0| 0d 0a 09 2f 2f 20 43 68 | 61 6e 67 65 64 20 62 79 |...// Ch|anged by|
|00005ec0| 20 47 52 55 46 46 0d 0a | 0d 0a 09 69 66 20 28 21 | GRUFF..|...if (!|
|00005ed0| 62 4c 4d 53 4d 6f 64 65 | 29 0d 0a 09 7b 0d 0a 09 |bLMSMode|)...{...|
|00005ee0| 09 2f 2f 20 4e 6f 72 6d | 61 6c 20 44 4d 20 52 75 |.// Norm|al DM Ru|
|00005ef0| 6c 65 73 2c 20 63 68 65 | 63 6b 20 46 72 61 67 4c |les, che|ck FragL|
|00005f00| 69 6d 69 74 20 26 20 54 | 69 6d 65 4c 69 6d 69 74 |imit & T|imeLimit|
|00005f10| 0d 0a 09 09 2f 2f 20 4e | 6f 74 68 69 6e 67 20 74 |....// N|othing t|
|00005f20| 6f 20 64 6f 20 68 65 72 | 65 2e 2e 2e 20 6e 6f 72 |o do her|e... nor|
|00005f30| 6d 61 6c 20 55 54 20 22 | 4b 69 6c 6c 65 64 22 20 |mal UT "|Killed" |
|00005f40| 66 75 6e 63 74 69 6f 6e | 0d 0a 09 09 2f 2f 20 63 |function|....// c|
|00005f50| 68 65 63 6b 73 20 46 72 | 61 67 4c 69 6d 69 74 20 |hecks Fr|agLimit |
|00005f60| 3a 2d 29 0d 0a 0d 0a 09 | 09 69 66 20 28 28 54 69 |:-).....|.if ((Ti|
|00005f70| 6d 65 4c 69 6d 69 74 3e | 30 29 20 26 26 20 28 20 |meLimit>|0) && ( |
|00005f80| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 20 3c 3d |Remainin|gTime <=|
|00005f90| 20 30 20 29 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 45 | 0 ))...|.{.....E|
|00005fa0| 6e 64 47 61 6d 65 28 22 | 74 69 6d 65 6c 69 6d 69 |ndGame("|timelimi|
|00005fb0| 74 22 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 7d |t");....|}...}..}|
|00005fc0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4c 6f 67 |....func|tion Log|
|00005fd0| 6f 75 74 28 20 70 61 77 | 6e 20 45 78 69 74 69 6e |out( paw|n Exitin|
|00005fe0| 67 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 53 |g )..{..|.local S|
|00005ff0| 46 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |FPlayerR|eplicati|
|00006000| 6f 6e 49 6e 66 6f 20 53 | 46 50 52 49 3b 0d 0a 0d |onInfo S|FPRI;...|
|00006010| 0a 09 53 46 50 52 49 20 | 3d 20 53 46 50 6c 61 79 |..SFPRI |= SFPlay|
|00006020| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00006030| 6f 28 45 78 69 74 69 6e | 67 2e 50 6c 61 79 65 72 |o(Exitin|g.Player|
|00006040| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 29 |Replicat|ionInfo)|
|00006050| 3b 0d 0a 0d 0a 09 69 66 | 20 28 28 53 46 50 52 49 |;.....if| ((SFPRI|
|00006060| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 53 46 50 | != None|) && SFP|
|00006070| 52 49 2e 62 4a 6f 69 6e | 65 64 4c 61 74 65 29 0d |RI.bJoin|edLate).|
|00006080| 0a 09 7b 0d 0a 09 09 4e | 75 6d 4c 61 74 65 4a 6f |..{....N|umLateJo|
|00006090| 69 6e 65 72 73 2d 2d 3b | 0d 0a 09 7d 0d 0a 0d 0a |iners--;|...}....|
|000060a0| 09 53 75 70 65 72 2e 4c | 6f 67 6f 75 74 28 45 78 |.Super.L|ogout(Ex|
|000060b0| 69 74 69 6e 67 29 3b 0d | 0a 0d 0a 09 2f 2f 20 44 |iting);.|....// D|
|000060c0| 6f 6e 27 74 20 72 75 6e | 20 65 6e 64 67 61 6d 65 |on't run| endgame|
|000060d0| 20 69 66 20 69 74 27 73 | 20 74 68 65 20 6c 6f 63 | if it's| the loc|
|000060e0| 61 6c 20 70 6c 61 79 65 | 72 20 6c 65 61 76 69 6e |al playe|r leavin|
|000060f0| 67 0d 0a 09 2f 2f 20 2d | 20 73 74 61 74 73 20 73 |g...// -| stats s|
|00006100| 61 76 65 63 6f 6e 66 69 | 67 20 6d 65 73 73 65 73 |aveconfi|g messes|
|00006110| 20 75 70 20 73 61 76 65 | 64 20 64 65 66 61 75 6c | up save|d defaul|
|00006120| 74 73 0d 0a 09 69 66 28 | 20 4c 6f 63 61 6c 50 6c |ts...if(| LocalPl|
|00006130| 61 79 65 72 20 3d 3d 20 | 4e 6f 6e 65 20 7c 7c 20 |ayer == |None || |
|00006140| 45 78 69 74 69 6e 67 20 | 21 3d 20 4c 6f 63 61 6c |Exiting |!= Local|
|00006150| 50 6c 61 79 65 72 20 29 | 0d 0a 09 09 43 68 65 63 |Player )|....Chec|
|00006160| 6b 45 6e 64 47 61 6d 65 | 28 29 3b 0d 0a 0d 0a 09 |kEndGame|();.....|
|00006170| 69 66 20 28 4e 75 6d 50 | 6c 61 79 65 72 73 3d 3d |if (NumP|layers==|
|00006180| 30 29 0d 0a 09 7b 0d 0a | 09 09 4c 4f 47 28 22 47 |0)...{..|..LOG("G|
|00006190| 61 6d 65 3a 22 24 53 65 | 6c 66 24 22 20 66 6f 72 |ame:"$Se|lf$" for|
|000061a0| 63 65 64 20 45 6e 64 47 | 61 6d 65 28 29 20 61 73 |ced EndG|ame() as|
|000061b0| 20 6e 6f 20 68 75 6d 61 | 6e 73 20 6c 65 66 74 2e | no huma|ns left.|
|000061c0| 2e 2e 22 29 3b 0d 0a 09 | 09 46 6f 72 63 65 64 45 |..");...|.ForcedE|
|000061d0| 6e 64 47 61 6d 65 28 29 | 3b 0d 0a 09 7d 0d 0a 7d |ndGame()|;...}..}|
|000061e0| 0d 0a 0d 0a 65 76 65 6e | 74 20 50 6f 73 74 4c 6f |....even|t PostLo|
|000061f0| 67 69 6e 28 20 70 6c 61 | 79 65 72 70 61 77 6e 20 |gin( pla|yerpawn |
|00006200| 4e 65 77 50 6c 61 79 65 | 72 20 29 0d 0a 7b 0d 0a |NewPlaye|r )..{..|
|00006210| 09 69 66 28 20 4e 65 77 | 50 6c 61 79 65 72 2e 50 |.if( New|Player.P|
|00006220| 6c 61 79 65 72 20 21 3d | 20 4e 6f 6e 65 20 26 26 |layer !=| None &&|
|00006230| 20 56 69 65 77 70 6f 72 | 74 28 4e 65 77 50 6c 61 | Viewpor|t(NewPla|
|00006240| 79 65 72 2e 50 6c 61 79 | 65 72 29 20 21 3d 20 4e |yer.Play|er) != N|
|00006250| 6f 6e 65 29 0d 0a 09 09 | 4c 6f 63 61 6c 50 6c 61 |one)....|LocalPla|
|00006260| 79 65 72 20 3d 20 4e 65 | 77 50 6c 61 79 65 72 3b |yer = Ne|wPlayer;|
|00006270| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 50 6f 73 74 4c |.....Sup|er.PostL|
|00006280| 6f 67 69 6e 28 4e 65 77 | 50 6c 61 79 65 72 29 3b |ogin(New|Player);|
|00006290| 0d 0a 0d 0a 09 2f 2f 20 | 52 65 73 65 74 20 73 6f |.....// |Reset so|
|000062a0| 6d 65 20 74 68 69 6e 67 | 73 20 69 66 20 6a 6f 69 |me thing|s if joi|
|000062b0| 6e 69 6e 67 20 77 69 74 | 68 20 69 6c 6c 65 67 61 |ning wit|h illega|
|000062c0| 6c 20 76 61 6c 75 65 73 | 2e 2e 2e 0d 0a 09 4e 65 |l values|......Ne|
|000062d0| 77 50 6c 61 79 65 72 2e | 55 70 64 61 74 65 42 6f |wPlayer.|UpdateBo|
|000062e0| 62 28 30 2e 30 33 32 29 | 3b 0d 0a 09 4e 65 77 50 |b(0.032)|;...NewP|
|000062f0| 6c 61 79 65 72 2e 53 65 | 74 44 65 73 69 72 65 64 |layer.Se|tDesired|
|00006300| 46 4f 56 28 39 30 2e 30 | 29 3b 09 0d 0a 09 0d 0a |FOV(90.0|);......|
|00006310| 09 2f 2f 20 46 6f 72 77 | 61 72 64 20 74 68 69 73 |.// Forw|ard this|
|00006320| 20 74 6f 20 74 68 65 20 | 70 6c 61 79 65 72 09 0d | to the |player..|
|00006330| 0a 2f 2f 09 53 46 50 6c | 61 79 65 72 28 4e 65 77 |.//.SFPl|ayer(New|
|00006340| 50 6c 61 79 65 72 29 2e | 52 65 61 6c 69 73 6d 53 |Player).|RealismS|
|00006350| 63 61 6c 65 20 3d 20 52 | 65 61 6c 69 73 6d 53 63 |cale = R|ealismSc|
|00006360| 61 6c 65 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |ale;..}.|...funct|
|00006370| 69 6f 6e 20 62 6f 6f 6c | 20 53 65 74 45 6e 64 43 |ion bool| SetEndC|
|00006380| 61 6d 73 28 73 74 72 69 | 6e 67 20 52 65 61 73 6f |ams(stri|ng Reaso|
|00006390| 6e 29 0d 0a 7b 0d 0a 2f | 2a 09 6c 6f 63 61 6c 20 |n)..{../|*.local |
|000063a0| 70 61 77 6e 20 50 2c 20 | 42 65 73 74 3b 0d 0a 09 |pawn P, |Best;...|
|000063b0| 6c 6f 63 61 6c 20 50 6c | 61 79 65 72 50 61 77 6e |local Pl|ayerPawn|
|000063c0| 20 50 6c 61 79 65 72 3b | 0d 0a 0d 0a 09 2f 2f 20 | Player;|.....// |
|000063d0| 66 69 6e 64 20 69 6e 64 | 69 76 69 64 75 61 6c 20 |find ind|ividual |
|000063e0| 77 69 6e 6e 65 72 0d 0a | 09 66 6f 72 20 28 50 3d |winner..|.for (P=|
|000063f0| 4c 65 76 65 6c 2e 50 61 | 77 6e 4c 69 73 74 3b 20 |Level.Pa|wnList; |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.