Altamurenza

Bully SE: Selector Mod

Jan 27th, 2018 (edited)
6,705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 498.53 KB | None | 0 0
  1. -- Selector Mod
  2. -- By: Altamurenza
  3.  
  4. --[[
  5.     The biggest script ever in Bully Mod history, it's not fully source code because i had to cut out
  6.     some menu table to make it smaller than 512kb (674kb in original source).
  7.    
  8.     Credits:
  9.     - DaBOSS54320 / Derpy54320 for his No Clip, Free Camera, Local Multiplayer, Node-o-Matic 3000 and many more.
  10.     - deadpoolXYZ for his flag id.
  11. ]]
  12.  
  13. -------------------------------------SM_Activator---------------------------------------
  14.  
  15. Version = get_timer()
  16. size = table.getn
  17. useTarget = true
  18. useTargetSetting = 1
  19. timeFreeze = 0
  20. noPunishment = 0
  21. inAmmo = 0
  22. valueHealth = 100
  23. propCreate = 0
  24. damageWeapon = 0
  25. inHealth = 0
  26. inMoney = 0
  27. volAudio = 1
  28. valueSpeed = 100
  29. unhideMenu = 0
  30. alonePlayer = 0
  31. playerPoint = 0
  32. playerAlly = 1
  33. gravityPlayer = 0
  34. classTime = 0
  35. classGrade = 1
  36. invPlayer = 0
  37. initTime = 0
  38. mapCo = 0
  39. useOutfit = 0
  40. createPed = 0
  41. createPlayer = 0
  42. cght = 0
  43. controlID = 0
  44. posa,posx,posy,posz = 999,999,999,999
  45. siren = 0
  46. siren2 = 0
  47. siren3 = 0
  48. inTickets = 0
  49. saveModel = "player"
  50. saveStyle = "Player"
  51. autoShot = 0
  52. rapidGun = 0
  53. rapidPunch = 0
  54. RepeatMain = 0
  55. clothSelector = 0
  56. eagleEye = 0
  57. farVision = 0
  58. nearPlayer = 0
  59. blind = 0
  60. burn1,burn2 = 0,0
  61. playerGameSpeedEffect = 0
  62. addSelect = 1
  63. vgSelect = 1
  64. hjSelect = 1
  65. opSelect = 1
  66. ghSelect = 1
  67. vdSelect = 1
  68. bnSelect = 1
  69. asSelect = 1
  70. uiSelect = 1
  71. vwSelect = 1
  72. rtSelect = 1
  73. ewSelect = 1
  74. gySelect = 1
  75. zSelect = 1
  76. zaSelect = 1
  77. cgSelect = 1
  78. xSelect = 1
  79. kSelect = 1
  80. cSelect = 1
  81. modelSelect = 1
  82. pedSelect = 1
  83. fgSelect = 2
  84. xfSelect = 1
  85. xsSelect = 1
  86. styleSelect = 1
  87. frtSelect = 1
  88. cbSelect = 1
  89. cvSelect = 1
  90. cvbSelect = 1
  91. cwSelect = 1
  92. modeSelect = 1
  93. cwrSelect = 1 -- Outfit Selector select
  94. cvtSelect = 1 -- Vehicle Selector select
  95. frSelect = 1 -- Hair Selector select
  96. speechSelect = 1 -- Speech Select
  97. gameSpeed = 100 -- Game Speed
  98. pedGrab = 1 -- Ped Grab select
  99. vGrab = 1 -- Vehicle Grab (unused)
  100. fors = 1 -- Special Select
  101. vsrt = 1 -- Vehicle Thief
  102. pedGetGrabed = {} -- unused
  103. cl = 1 -- Class Editor select
  104. myTimerSet = true -- Toggle custom timer
  105. mcts = 100 -- Math Class Timer
  106. bcts = 100 -- Biology Class Timer
  107. ects = 100 -- English Class Timer
  108. gcts = 100 -- Geography Class Timer
  109. acpss = 0.5 -- Art Class Player Speed
  110. acmes = 0.3 -- Art Class Enemies Speed
  111. ecacs = false -- unused
  112. bcacs = false -- unused
  113. gcacs = false -- unused
  114. mcacs = false -- unused
  115. artClass = 1 -- Art Class Toggle
  116. otherClass = 1 -- Another Class toggle
  117. aets = 20 -- Art Enemies Timer
  118. aeds = 25 -- Art Enemies Debris Count
  119. acrs = 5 -- Art Class Radius
  120. pun = 1 -- Punishment Selector select
  121. mapp = 300 -- Max Punishment Points
  122. mipp = 0 -- Minimum Punishment Points
  123. maxPoints = 0 -- Max Points
  124. minPoints = 0 -- Min Points
  125. cut = 1 -- Cutscene Selector select
  126. it = 1 -- Item Selector select
  127. allowArtSetting = 0 -- unused
  128. pe = 1 -- Ped Editor
  129. stses = 1 -- "strafe selection" select
  130. kissAllGirls = false -- Toggle Kiss All Girls
  131. kissAllBoys = false -- Toggle Kiss All Boys
  132. pedRun = false -- Tonggle Ped Run
  133. pedDFB = false -- Toggle Ped Dont Fight Back
  134. pedAEO = false -- Toggle Ped Attack Each Other
  135. fs = 1 -- Fighting System select
  136. shutUp = false -- Tonggle Ped Voice
  137. st = 1 -- Strafe Selector select
  138. sq = 1 --  unused
  139. button1 = 0 -- unused
  140. fpsCam = 0 -- unused
  141. tps = 0 -- unused
  142. freeCam = false -- Toggle Free camera
  143. sprintPressed = 0 -- Sprint detection
  144. lastSprint = GetTimer()
  145. lastRun = GetTimer()
  146. sprintPressed1 = 0 -- Sprint detection
  147. lastSprint1 = GetTimer()
  148. lastRun1 = GetTimer()
  149. fas = 1 -- faction selector select
  150. ss = 1 -- Strafe Selector?
  151. ms = 1 -- Movement Style select
  152. playerControl = false -- Toggle Always Control Player
  153. strafe = {} -- Animation storage
  154. strafeAnim = {} -- Animation storafe (for anim detection)
  155. slb = 1 -- Strafe select
  156. pcs = 1 -- Pickup Selector select
  157. table.insert(strafe,{anim = "nil",act = "nil",button = nil}) -- Don't let strafe empty
  158. table.insert(strafeAnim,{anim = "nil",act = "nil",playing = "nil",mode = "nil",button = "nil"}) -- Don't let strafe empty
  159. grabAnim,grabAct = "nil","nil" -- Grab animation
  160. mountAnim,mountAct = "nil","nil" -- Mount animation
  161. bugSelect = 1 -- Bug detection select
  162. GameSpeed = false -- Toggle Game Speed
  163. myRespect = true -- NOTE: DON'T CHANGE THIS VARIABLE
  164. fightingSystem = true -- NOTE: DON'T EDIT THIS
  165. savedStrafe = true -- NOTE: DON'T CHANGE THIS VARIABLE
  166. FixBugs = true -- NOTE: DON'T CHANGE THIS VARIABLE
  167. ActiveScripts = true -- NOTE: DON'T CHANGE THIS VARIABLE
  168. ActiveScripts2 = true -- NOTE: DON'T CHANGE THIS VARIABLE
  169. getMovements = true -- NOTE: DON'T CHANGE THIS VARIABLE
  170. moving = false -- Movement moving detection
  171. moving2 = false
  172. moving3 = false
  173. strafingStyle = false
  174. strafing = false -- Movement strafing detection
  175. showText = false -- Navigate control text
  176. MainMenuType = "NEW_MENU" -- Main Menu style (SCROLL_5,SCROLL_3,STANDARD,BASIC_BIG_SIZE,BASIC_SMALL_SIZE)
  177. movement = "DEFAULT"
  178. movement2 = "DEFAULT"
  179. movement3 = "DEFAULT"
  180. msc = 1
  181. menu = 1
  182. hidingMenu = "AUTO" -- MANUAL or AUTO
  183. AutoShowingTextAfterExitingSubMenu = false
  184. hideMenu = 1
  185. ssms = 1
  186. ibbp = IsButtonBeingPressed
  187. ibbr = IsButtonBeingReleased
  188. replaceFightingStyle = true
  189. replaceStyle = {}
  190. sels = 1
  191. createdPed = {}
  192. ReplaceFactionModel = true
  193. DetectFaction = {}
  194. FactionModel = {}
  195. ReplacedModel = true
  196. modelInsert = {}
  197. --TextTimer = 3
  198. NerdID = {3,4,5,6,7,8,9,10,11}
  199. BulliesID = {75,85,99,102,145,146,147}
  200. JocksID = {12,13,14,15,16,17,18,19,20}
  201. PrepiesID = {30,31,32,33,34,35,36,37,38,40}
  202. GreasersID = {21,22,23,24,25,26,27,28,29}
  203. DropoutID = {41,42,43,44,45,46,47,48,91,2}
  204. table.insert(DetectFaction,{faction = nil})
  205. table.insert(FactionModel,{"nil","nil","nil","nil","nil","nil","nil","nil","nil","nil"})
  206. table.insert(replaceStyle,{faction = "nil",style = "nil"})
  207. vrst = 1
  208. sivs = 1
  209. br = IsButtonBeingReleased
  210. bp = IsButtonBeingPressed
  211. bb = IsButtonPressed
  212. betak = {}
  213. table.insert(betak,{v = "nil"})
  214. nearPlayerEffect = {}
  215. nearPlayerPed = {}
  216. NearPlayer = false
  217. StrafeButton = {}
  218. effect = {}
  219. clear = false
  220. waitSSpud = GetTimer()
  221. waitSpud = GetTimer()
  222. waitB = GetTimer()
  223. waitPunch = GetTimer()
  224. untilStrafe = false
  225. waitArea = GetTimer()
  226. timerArea = 0
  227. restoreArea = false
  228. nextCombo = true
  229. cWait = GetTimer()
  230. speedMult = 1
  231. gPlayerAllies = {
  232.   "fPlayer2",
  233.   "fPlayer3",
  234.   "fPlayer4",
  235.   "fPlayer5",
  236.   "fPlayer6",
  237.   "fPlayer7",
  238.   "fPlayer8",
  239.   "fPlayer9",
  240.   "fPlayer10",
  241.   "fPlayer11",
  242. }
  243. t = 2
  244. cp,ch = 0,PedGetHeading(gPlayer)
  245. speedMult = 1
  246. cpF,chF = 0,PedGetHeading(gPlayer)
  247. distF = 0
  248. fcF = false
  249. ixF,iyF,izF = nil,nil,nil
  250. cpT,chT = 0,PedGetHeading(gPlayer)
  251. distT = 140
  252. fcT = false
  253. ixT,iyT,izT = nil,nil,nil
  254. fix_model_option = 6
  255. use_fix_model = 5
  256. use_fc_cut = false
  257. skip_cut = false
  258. cut_stop = false
  259. custome_cuts = false
  260. edit_xml = false
  261. spa,spx,spy,spz = 0,0,0,0
  262. cen = 1
  263. ces = 1
  264. cec = 1
  265. ceo = 1
  266. load_cutscene = "GENERAL"
  267. cuts_action = "GENERAL"
  268. cuts_audio = "GENERAL"
  269. cuts_edit = true
  270. wait_sling = GetTimer()
  271. ped_cr = {}
  272. treat_ped = true
  273. ped_mix = {}
  274. use_ped_mix = true
  275. cls = 1
  276. until_move = false
  277. pg = 1
  278. pt = 1
  279. ped_strafes = {}
  280. in_other_task = false
  281. sc = 1
  282. cwt = 1
  283.  
  284. ----------------------------------------SM_MENU-----------------------------------------
  285.  
  286. function S_SetupCore()
  287.   adds = {
  288.     "1.Control Ped",
  289.     "2.Local Multiplayer",
  290.     "3.Node-o-Matic",
  291.     "4.Coord Finder",
  292.     "5.Recruit Ally",
  293.     "6.Delete Ped",
  294.     "7.Save Position",
  295.     "8.Area Doors",
  296.     "9.Weapon ID",
  297.     "10.Collectibles",
  298.     "11.Rapid Fire Guns",
  299.     "12.Rapid Punchs",
  300.     "13.Camera Style",
  301.     "14.Camera Effect",
  302.     "15.Game Speed",
  303.     "16.Ped Finder",
  304.     "17.Dismiss Ally",
  305.     "18.Class Editor",
  306.     "19.Ped Editor",
  307.     "20.Faction Editor",
  308.     "21.Vehicle Thief",
  309.     "22.Free Moves",
  310.     "23.Cutscene Editor",
  311.     "24.Fight Maker",
  312.     "25.Ped Duplicator",
  313.     "SKIP MISSION",
  314.   }
  315.   vgs = {
  316.     "1.Create Player",
  317.     "2.Model Selector",
  318.     "3.Walking Style",
  319.     "4.Vehicle Selector",
  320.   }
  321.   hjs = {
  322.     --"1.FPS",
  323.     --"2.Panoramic",
  324.     "1.Eagle Eye (2D)",
  325.     "2.Far Vision",
  326.     "3.Widescreen",
  327.     "4.Free Camera",
  328.     --"5.FPS [BETA]",
  329.     --"6.TPS Views",
  330.   }
  331.   ssm = {
  332.     "Fighting Style",
  333.     "Movement Style",
  334.   }
  335.   to = {
  336.     "1.Player",
  337.     "2.Target",
  338.     "3.All Peds",
  339.   }
  340.   iz  = {
  341.     "1.Select Punishment",
  342.     "2.Min Punishment",
  343.     "3.Max Punishment",
  344.   }
  345.   ops = {
  346.     "1.Blinded",
  347.     "2.Burn With Colour",
  348.     "3.Burn Effect",
  349.   }
  350.   ghs = {
  351.     {0                  ,"1.Gnome"},
  352.     {1                  ,"2.Radio"},
  353.     {2                  ,"3.Rubber"},
  354.     {3                  ,"4.G & G"},
  355.     {4                  ,"5.Pumpkin"},
  356.     {5                  ,"6.Grave Stone"},
  357.   }
  358.   vds = {
  359.     "1.Start",
  360.     "2.Spawn",
  361.     "3.Set Completed",
  362.   }
  363.   ass = {
  364.     "1.Special Prop",
  365.     "2.Normal Prop",
  366.   }
  367.   uis = {
  368.     "1.Create",
  369.     "2.Remove",
  370.   }
  371.   vws = {
  372.     "1.Spawn",
  373.     "2.Remove",
  374.   }
  375.   rts = {
  376.     "1.Spawn/Remove",
  377.     "2.Collect All",
  378.   }
  379.   ews = {
  380.     {-1                 ,"1.Never Spawn"},
  381.     {1                  ,"2.Normal"},
  382.     {2                  ,"3.Have a duplicate"},
  383.   }
  384.   gys = {
  385.     {"ToiletExplode"                    ,"1.Toilet Exploded"},
  386.     {"GraffitiGone"                 ,"2.Poof"},
  387.     {"SnowPoof"                 ,"3.Poof 2"},
  388.     {"CeilingDust"                  ,"4.Ceiling Dust"},
  389.     {"RaceBeam"                 ,"5.Light"},
  390.     {"BoilerSteam"                  ,"6.Boiler Steam"},
  391.     {"MudImpact"                    ,"7.Mud Impact"},
  392.     {"ShowerSteam2"                 ,"8.Shower Steam"},
  393.     {"FireSprinkler"                    ,"9.Mini Fire"},
  394.     {"SteamRoom"                    ,"10.Steam Room"},
  395.     {"SmokeStackLRG"                    ,"11.Smoke Stack"},
  396.     {"SmokeStackBLK"                    ,"12.Smoke Stack Black"},
  397.     {"GymLightSmash"                    ,"13.Light Smash"},
  398.     {"GymFire"                  ,"14.Gym Fire"},
  399.     {"BigExplosion"                 ,"15.Explosion"},
  400.     {"BarrelFire"                   ,"16.Fire Barrel"},
  401.     {"SteamSlow"                    ,"17.Steam Slow"},
  402.     {"GlassLRGshards"                   ,"18.Glass Shards"},
  403.     {"ElectricalSpark01"                    ,"19.Spark"},
  404.     {"BottleRocketExplosion"                    ,"20.Mini Explosion"},
  405.     {"LiteBulbPop"                  ,"21.Poop"},
  406.     {"Chem_Bubbles"                 ,"22.Bubbles"},
  407.     {"TorchImpact"                  ,"23.Torch Impact"},
  408.     {"FireworksWinner"                  ,"24.Fireworks"},
  409.     {"SGTargetHit"                  ,"25.TargetHit"},
  410.     {"BuntzenFlame3"                    ,"26.Flame"},
  411.   }
  412.   zs = {
  413.     {1                  ,"1.Fogy"},
  414.     {2                  ,"2.Rainy"},
  415.     {3                  ,"3.Cloudy"},
  416.     {4                  ,"4.Normal"},
  417.     {5                  ,"5.Hurricane"},
  418.     {0                  ,"CUSTOM"},
  419.   }
  420.   zas = {
  421.     {0                  ,"Art"},
  422.     {1                  ,"Chemistry"},
  423.     {2                  ,"English"},
  424.     {3                  ,"Math"},
  425.     {4                  ,"Biology"},
  426.     {5                  ,"Geography"},
  427.     {6                  ,"Gym"},
  428.     {7                  ,"Photography"},
  429.     {8                  ,"Shop"},
  430.     {9                  ,"Music"},
  431.   }
  432.   cgs = {
  433.     {2          ,-628.4 ,-312.5 ,-0.0       ,"School"},
  434.     {14         ,-496.6 ,310.6 ,31.3        ,"Boys HQ"},
  435.     {59         ,-749.4 ,352.2 ,3.5     ,"Jocks HQ"},
  436.     {60         ,-774.3 ,355.2 ,6.4     ,"Preps HQ"},
  437.     {30         ,-726.0 ,34.2 ,-2.3     ,"Nerds HQ"},
  438.     {61         ,-694.6 ,346.4 ,3.2     ,"Greasers HQ"},
  439.     {57         ,-656.8 ,248.8 ,15.2        ,"Townies HQ"},
  440.     {0          ,521.8 ,-89.4 ,3.7      ,"Bullworth Town"},
  441.     {0          ,498.2 ,-239.6 ,1.9     ,"New Conventry"},
  442.     {0          ,370.1 ,413.2 ,21.0     ,"Bullworth Vale"},
  443.     {0          ,323.7 ,-436.9 ,3.1     ,"Blue Skies"},
  444.     {38         ,-735.1 ,468.8 ,1.9     ,"Asylum"},
  445.     {8          ,-756.9 ,-56.2 ,9.3     ,"Basement"},
  446.     {0          ,188.2 ,438.3 ,5.3      ,"Carnival"},
  447.     {55         ,-469.4 ,-71.4 ,9.7     ,"Freakshow"},
  448.     {27         ,-712.3 ,376.9 ,295.0       ,"Boxing Ring"},
  449.     {0          ,272.4 ,300.9 ,1.2      ,"Beach"},
  450.     {29         ,-785.6 ,379.7 ,0.0     ,"Bike Store"},
  451.     {50         ,-792.6 ,47.9 ,6.6      ,"Carnival Store"},
  452.     {55         ,-469.2 ,-76.8 ,9.0     ,"Freak Show"},
  453.     {42         ,-381.9 ,483.4 ,1.5     ,"GoKart Race"},
  454.     {32         ,-565.4 ,133.2 ,46.1        ,"Harrington House"},
  455.     {0          ,-27.9 ,-73.7 ,1.0      ,"School Field"},
  456.     {13         ,-619.0 ,-59.5 ,59.6        ,"Gym"},
  457.     {13         ,-676.0 ,-58.6 ,55.4        ,"Pool"},
  458.     {0          ,186.5 ,-3.0 ,5.4       ,"Parking"},
  459.     {0          ,164.1 ,-73.8 ,14.8     ,"School Mini Rooftop"},
  460.     {9          ,-773.6 ,203.0 ,90.1        ,"Library"},
  461.     {0          ,135.5 ,-131.7 ,6.8     ,"Harrington Yard"},
  462.     {0          ,271.0 ,-72.9 ,5.9      ,"Bullworth Academy"},
  463.     {27         ,-732.2 ,378.4 ,298.0       ,"Boxing Club"},
  464.     {26         ,-573.3 ,388.5 ,0.0     ,"Yum Yum Market"},
  465.     {0          ,443.5 ,505.9 ,22.9     ,"Tad House"},
  466.     {0          ,438.5 ,389.2 ,17.2     ,"Bullworth Park"},
  467.     {0          ,536.0 ,374.3 ,17.1     ,"Mini Asylum"},
  468.     {0          ,634.2 ,161.4 ,19.9     ,"Grave Yard"},
  469.     {0          ,647.7 ,83.4 ,8.5       ,"Dike"},
  470.     {34         ,-646.7 ,261.5 ,0.9     ,"Clothing Store 1"},
  471.     {30         ,-726.1 ,14.0 ,-0.0     ,"Dragon's Wing comic"},
  472.     {56         ,-667.2 ,387.4 ,2.4     ,"Clothing Store 2"},
  473.     {62         ,-749.2 ,637.1 ,30.9        ,"BMX Park"},
  474.     {0          ,-57.0 ,-312.1 ,4.3     ,"Asylum Outside"},
  475.     {0          ,73.6 ,-542.8 ,2.7      ,"Near HEM-O Building"},
  476.     {0          ,53.7 ,-582.3 ,32.4     ,"Outside Chem Plant"},
  477.     {0          ,-4.4 ,-214.0 ,1.0      ,"Near Observatory"},
  478.     {5          ,-706.0 ,200.9 ,31.5        ,"Principal's Office"},
  479.     {40         ,-696.5 ,74.9 ,20.2     ,"Observatory"},
  480.     {19         ,-769.2 ,311.1 ,77.2        ,"Nutcrackin' Room"},
  481.     {15         ,-557.2 ,317.1 ,-1.9        ,"Multiple Class Room"},
  482.     {6          ,-702.8 ,312.3 ,33.3        ,"Biology Room"},
  483.     {20         ,-771.6 ,77.3 ,6.4      ,"Inside HEM-O Building"},
  484.     {43         ,-736.5 ,-624.6 ,3.2        ,"Junk Yard"},
  485.     {51         ,-5.6 ,66.2 ,27.1       ,"Arcade Track 1"},
  486.     {52         ,46.6 ,-23.7 ,0.9       ,"Arcade Track 2"},
  487.     {53         ,0.8 ,60.1 ,62.6        ,"Arcade Track 3"},
  488.   }
  489.   xs = {
  490.     {1                  ,"Chapter 1"},
  491.     {2                  ,"Chapter 2"},
  492.     {3                  ,"Chapter 3"},
  493.     {4                  ,"Chapter 4"},
  494.     {5                  ,"Chapter 5"},
  495.     {6                  ,"Chapter 6"}
  496.   }
  497.   ks = {
  498.     {1,"1.Nerds"},
  499.     {2,"2.Jocks"},
  500.     {3,"3.Drop Out"},
  501.     {4,"4.Greasers"},
  502.     {5,"5.Prepies"},
  503.     {11,"6.Bullies"},
  504.     {6,"7.Students"},
  505.     {0,"8.Prefects"},
  506.     {7,"9.Police"},
  507.     {8,"10.Teachers"},
  508.     {9,"11.Adults"},
  509.     {10,"12.Shop keeper"}
  510.   }
  511.   cs = {
  512.     {name = "Fists",model = -1},
  513.     {name = "Apple",model = 310},
  514.     {name = "Banana",model = 358},
  515.     {name = "Baseball",model = 302},
  516.     {name = "Basket Ball",model = 381},
  517.     {name = "Bat",model = 300},
  518.     {name = "Big Firework",model = 397},
  519.     {name = "Books 1",model = 405},
  520.     {name = "Books 2",model = 413},
  521.     {name = "Books 3",model = 414},
  522.     {name = "Books 4",model = 415},
  523.     {name = "Books 5",model = 416},
  524.     {name = "Brick",model = 311},
  525.     {name = "Broom",model = 377},
  526.     {name = "Camera",model = 328},
  527.     {name = "Digital Camera",model = 426},
  528.     {name = "Dead Rat",model = 346},
  529.     {name = "Devil Fork",model = 409},
  530.     {name = "Dish",model = 338},
  531.     {name = "Egg",model = 312},
  532.     {name = "Fire Extinguisher",model = 326},
  533.     {name = "Fire cracker",model = 301},
  534.     {name = "Football",model = 331},
  535.     {name = "Football (Bomb)",model = 400},
  536.     {name = "Frisbee",model = 335},
  537.     {name = "Gold Pipe",model = 418},
  538.     {name = "Itchy Powder",model = 394},
  539.     {name = "Kick Me",model = 372},
  540.     {name = "Marbles",model = 349},
  541.     {name = "News Roll",model = 320},
  542.     {name = "Pinky Wand",model = 410},
  543.     {name = "Plate",model = 355},
  544.     {name = "Poison Gun",model = 395},
  545.     {name = "Rocket Launcher",model = 307},
  546.     {name = "Rubber Band",model = 325},
  547.     {name = "Shield",model = 387},
  548.     {name = "Metal Plate",model = 360},
  549.     {name = "Skateboard",model = 437},
  550.     {name = "Sledge Hammer",model = 324},
  551.     {name = "Slingshot",model = 303},
  552.     {name = "Snowball",model = 313},
  553.     {name = "Snowball 2",model = 330},
  554.     {name = "Soccer Ball",model = 329},
  555.     {name = "Spray Can",model = 321},
  556.     {name = "Spud Gun",model = 305},
  557.     {name = "Stink Bomb",model = 309},
  558.     {name = "Super Slingshot",model = 306},
  559.     {name = "Super Spud Gun",model = 396},
  560.     {name = "Trash Lid",model = 315},
  561.     {name = "Umbrella",model = 404},
  562.     {name = "Vase 1",model = 354},
  563.     {name = "Vase 2",model = 353},
  564.     {name = "Vase 3",model = 345},
  565.     {name = "Water Baloon",model = 383},
  566.     {name = "Water Pipe",model = 342},
  567.     {name = "Whip",model = 411},
  568.     {name = "Wood Paddle",model = 357},
  569.     {name = "Wood Plank",model = 323},
  570.     {name = "Yardstick",model = 299},
  571.     {name = "Flashlight",model = 420},
  572.     {name = "Tissue Roll",model = 403},
  573.     {name = "Water Pipe 2",model = 402},
  574.     {name = "Water Pipe 3",model = 401},
  575.     {name = "Poo Bag",model = 399},
  576.   }
  577.   models = {
  578.     {model = "player"                   ,name = "Jimmy"             ,style = "Player"},
  579.     {model = "DOgirl_Zoe_EG"            ,name = "Zoe"               ,style = "GS_Female_A"},
  580.     {model = "NDGirl_Beatrice"          ,name = "Beatrice"          ,style = "GS_Female_A"},
  581.     {model = "NDH1a_Algernon"           ,name = "Algernon"          ,style = "N_Striker_B"},
  582.     {model = "NDH1_Fatty"               ,name = "Fatty"             ,style = "N_Striker_A"},
  583.     {model = "ND2nd_Melvin"             ,name = "Melvin"            ,style = "N_Striker_A"},
  584.     {model = "NDH2_Thad"                ,name = "Thad"              ,style = "N_Ranged_A"},
  585.     {model = "NDH3_Bucky"               ,name = "Bucky"             ,style = "N_Ranged_A"},
  586.     {model = "NDH2a_Cornelius"          ,name = "Cornelius"         ,style = "N_Ranged_A"},
  587.     {model = "NDLead_Earnest"           ,name = "Earnest"           ,style = "N_Ranged_A"},
  588.     {model = "NDH3a_Donald"             ,name = "Donald"            ,style = "N_Ranged_A"},
  589.     {model = "JKH1_Damon"               ,name = "Damon"             ,style = "J_Striker_A"},
  590.     {model = "JKH1a_Kirby"              ,name = "Kirby"             ,style = "J_Striker_A"},
  591.     {model = "JKGirl_Mandy"             ,name = "Mandy"             ,style = "GS_Female_A"},
  592.     {model = "JKH2_Dan"                 ,name = "Dan"               ,style = "J_Striker_A"},
  593.     {model = "JKH2a_Luis"               ,name = "Luis"              ,style = "J_Grappler_A"},
  594.     {model = "JKH3_Casey"               ,name = "Casey"             ,style = "J_Melee_A"},
  595.     {model = "JKH3a_Bo"                 ,name = "Bo"                ,style = "J_Melee_A"},
  596.     {model = "JKlead_Ted"               ,name = "Ted"               ,style = "J_Striker_A"},
  597.     {model = "JK2nd_Juri"               ,name = "Juri"              ,style = "J_Grappler_A"},
  598.     {model = "GR2nd_Peanut"             ,name = "Peanut"            ,style = "G_Striker_A"},
  599.     {model = "GRH2A_Hal"                ,name = "Hal"               ,style = "G_Grappler_A"},
  600.     {model = "GRlead_Johnny"            ,name = "Johnny"            ,style = "G_Striker_A"},
  601.     {model = "GRH1_Lefty"               ,name = "Lefty"             ,style = "G_Melee_A"},
  602.     {model = "GRGirl_Lola"              ,name = "Lola"              ,style = "GS_Female_A"},
  603.     {model = "GRH3_Lucky"               ,name = "Lucky"             ,style = "G_Striker_A"},
  604.     {model = "GRH1a_Vance"              ,name = "Vance"             ,style = "G_Melee_A"},
  605.     {model = "GRH3a_Ricky"              ,name = "Ricky"             ,style = "G_Striker_A"},
  606.     {model = "GRH2_Norton"              ,name = "Norton"            ,style = "G_Grappler_A"},
  607.     {model = "PRH1_Gord"                ,name = "Gord"              ,style = "P_Striker_A"},
  608.     {model = "PRH1a_Tad"                ,name = "Tad"               ,style = "P_Striker_A"},
  609.     {model = "PRH2a_Chad"               ,name = "Chad"              ,style = "P_Grappler_A"},
  610.     {model = "PR2nd_Bif"                ,name = "Bif"               ,style = "P_Striker_A"},
  611.     {model = "PRH3_Justin"              ,name = "Justin"            ,style = "P_Striker_B"},
  612.     {model = "PRH2_Bryce"               ,name = "Bryce"             ,style = "P_Grappler_A"},
  613.     {model = "PRH2_Bryce_OBOX"          ,name = "Bryce"             ,style = "P_Striker_A"},
  614.     {model = "PRlead_Darby"             ,name = "Darby"             ,style = "P_Striker_A"},
  615.     {model = "PRGirl_Pinky"             ,name = "Pinky"             ,style = "GS_Female_A"},
  616.     {model = "GN_Asiangirl"             ,name = "Angie"             ,style = "GS_Female_A"},
  617.     {model = "PRH3a_Parker"             ,name = "Parker"            ,style = "P_Striker_B"},
  618.     {model = "DOH2_Jerry"               ,name = "Jerry"             ,style = "DO_Grappler_A"},
  619.     {model = "DOH1a_Otto"               ,name = "Otto"              ,style = "DO_Striker_A"},
  620.     {model = "DOH2a_Leon"               ,name = "Leon"              ,style = "DO_Striker_A"},
  621.     {model = "DOH1_Duncan"              ,name = "Duncan"            ,style = "DO_Striker_A"},
  622.     {model = "DOH3_Henry"               ,name = "Henry"             ,style = "DO_Grappler_A"},
  623.     {model = "DOH3a_Gurney"             ,name = "Gurney"            ,style = "DO_Grappler_A"},
  624.     {model = "DO2nd_Omar"               ,name = "Omar"              ,style = "DO_Striker_A"},
  625.     {model = "DOGirl_Zoe"               ,name = "Zoe"               ,style = "GS_Female_A"},
  626.     {model = "PF2nd_Max"                ,name = "Max"               ,style = "Authority"},
  627.     {model = "PFH1_Seth"                ,name = "Seth"              ,style = "Authority"},
  628.     {model = "PFH2_Edward"              ,name = "Edward"            ,style = "Authority"},
  629.     {model = "PFlead_Karl"              ,name = "Karl"              ,style = "Authority"},
  630.     {model = "TO_Orderly"               ,name = "Theo"              ,style = "LE_Orderly_A"},
  631.     {model = "TE_HallMonitor"           ,name = "MissPeabody"       ,style = "TE_Female_A"},
  632.     {model = "TE_GymTeacher"            ,name = "MrBurton"          ,style = "Authority"},
  633.     {model = "TE_Janitor"               ,name = "MrLuntz"           ,style = "CV_Male_A"},
  634.     {model = "TE_English"               ,name = "MrGalloway"        ,style = "Authority"},
  635.     {model = "TE_Cafeteria"             ,name = "Edna"              ,style = "Authority"},
  636.     {model = "TE_Secretary"             ,name = "MissWinston"       ,style = "TE_Female_A"},
  637.     {model = "TE_Nurse"                 ,name = "MrsMcRae"          ,style = "TE_Female_A"},
  638.     {model = "TE_MathTeacher"           ,name = "MrHuntingdon"      ,style = "Authority"},
  639.     {model = "TE_Librarian"             ,name = "MrsCarvin"         ,style = "TE_Female_A"},
  640.     {model = "TE_Art"                   ,name = "MsPhillips"        ,style = "TE_Female_A"},
  641.     {model = "TE_Biology"               ,name = "MrSlawter"         ,style = "Authority"},
  642.     {model = "TE_Principal"             ,name = "DrCrabblesnitch"   ,style = "Authority"},
  643.     {model = "GN_Littleblkboy"          ,name = "Sheldon"           ,style = "GS_Male_A"},
  644.     {model = "GN_SexyGirl"              ,name = "Christy"           ,style = "GS_Female_A"},
  645.     {model = "GN_Littleblkgirl"         ,name = "Gloria"            ,style = "GS_Female_A"},
  646.     {model = "GN_Hispanicboy"           ,name = "Pedro"             ,style = "GS_Male_A"},
  647.     {model = "GN_Greekboy"              ,name = "Constantinos"      ,style = "GS_Male_A"},
  648.     {model = "GN_Fatboy"                ,name = "Ray"               ,style = "GS_Fat_A"},
  649.     {model = "GN_Boy01"                 ,name = "Ivan"              ,style = "GS_Male_A"},
  650.     {model = "GN_Boy02"                 ,name = "Trevor"            ,style = "GS_Male_A"},
  651.     {model = "GN_Fatgirl"               ,name = "Eunice"            ,style = "GS_Fat_A"},
  652.     {model = "DOlead_Russell"           ,name = "Russell"           ,style = "B_Striker_A"},
  653.     {model = "TO_Business1"             ,name = "DrBambillo"        ,style = "CV_Male_A"},
  654.     {model = "TO_Business2"             ,name = "MrSullivan"        ,style = "CV_Male_A"},
  655.     {model = "TO_BusinessW1"            ,name = "MsKopke"           ,style = "CV_Female_A"},
  656.     {model = "TO_BusinessW2"            ,name = "MsRushinski"       ,style = "CV_Female_A"},
  657.     {model = "TO_RichW1"                ,name = "MsIsaacs"          ,style = "CV_Female_A"},
  658.     {model = "TO_RichW2"                ,name = "BethanyJones"      ,style = "CV_Female_A"},
  659.     {model = "TO_Fireman"               ,name = "ORourke"           ,style = "CV_Male_A"},
  660.     {model = "TO_Cop"                   ,name = "OfficerMonson"     ,style = "Authority"},
  661.     {model = "TO_Comic"                 ,name = "ZackOwens"         ,style = "CV_Male_A"},
  662.     {model = "GN_Bully03"               ,name = "Trent"             ,style = "B_Striker_A"},
  663.     {model = "TO_Bikeowner"             ,name = "TobiasMason"       ,style = "CV_Male_A"},
  664.     {model = "TO_Hobo"                  ,name = "MrGrant"           ,style = "CV_Male_A"},
  665.     {model = "Player_Mascot"            ,name = "Mascot"            ,style = "J_Mascot"},
  666.     {model = "TO_GroceryOwner"          ,name = "MrOh"              ,style = "CV_Male_A"},
  667.     {model = "GN_Sexygirl_UW"           ,name = "Christy"           ,style = "GS_Female_A"},
  668.     {model = "DOLead_Edgar"             ,name = "Edgar"             ,style = "DO_Striker_A"},
  669.     {model = "JK_LuisWrestle"           ,name = "Luis"              ,style = "J_Grappler_A"},
  670.     {model = "JKGirl_MandyUW"           ,name = "Mandy"             ,style = "GS_Female_A"},
  671.     {model = "PRGirl_PinkyUW"           ,name = "Pinky"             ,style = "GS_Female_A"},
  672.     {model = "NDGirl_BeatriceUW"        ,name = "Beatrice"          ,style = "GS_Female_A"},
  673.     {model = "GRGirl_LolaUW"            ,name = "Lola"              ,style = "GS_Female_A"},
  674.     {model = "TO_Cop2"                  ,name = "OfficerWilliams"   ,style = "Authority"},
  675.     {model = "Player_OWres"             ,name = "Jimmy"             ,style = "Player"},
  676.     {model = "GN_Bully02"               ,name = "Davis"             ,style = "B_Striker_A"},
  677.     {model = "TO_RichM1"                ,name = "MrBreckindale"     ,style = "CV_Male_A"},
  678.     {model = "TO_RichM2"                ,name = "MrDoolin"          ,style = "CV_Male_A"},
  679.     {model = "GN_Bully01"               ,name = "Troy"              ,style = "B_Striker_A"},
  680.     {model = "TO_FireOwner"             ,name = "Nate"              ,style = "CV_Male_A"},
  681.     {model = "TO_CSOwner_2"             ,name = "MrCarmichael"      ,style = "CV_Male_A"},
  682.     {model = "TO_CSOwner_3"             ,name = "NickyCharles"      ,style = "CV_Male_A"},
  683.     {model = "TE_Chemistry"             ,name = "MrWatts"           ,style = "Authority"},
  684.     {model = "TO_Poorwoman"             ,name = "MissAbby"          ,style = "CV_OLD"},
  685.     {model = "TO_MotelOwner"            ,name = "Mihailovich"       ,style = "CV_Male_A"},
  686.     {model = "JKKirby_FB"               ,name = "Kirby"             ,style = "J_Striker_A"},
  687.     {model = "JKTed_FB"                 ,name = "Ted"               ,style = "J_Striker_A"},
  688.     {model = "JKDan_FB"                 ,name = "Dan"               ,style = "J_Striker_A"},
  689.     {model = "JKDamon_FB"               ,name = "Damon"             ,style = "J_Striker_A"},
  690.     {model = "TO_Carny02"               ,name = "Freeley"           ,style = "CV_Male_A"},
  691.     {model = "TO_Carny01"               ,name = "Dorsey"            ,style = "CV_Male_A"},
  692.     {model = "TO_CarnyMidget"           ,name = "Hector"            ,style = "CV_Male_A"},
  693.     {model = "TO_Poorman2"              ,name = "Osbourne"          ,style = "CV_Male_A"},
  694.     {model = "PRH2A_Chad_OBOX"          ,name = "Chad"              ,style = "P_Striker_A"},
  695.     {model = "PRH3_Justin_OBOX"         ,name = "Justin"            ,style = "P_Striker_A"},
  696.     {model = "PRH3a_Parker_OBOX"        ,name = "Parker"            ,style = "P_Striker_A"},
  697.     {model = "TO_BarberRich"            ,name = "MariaTheresa"      ,style = "CV_Female_A"},
  698.     {model = "GenericWrestler"          ,name = "Bob"               ,style = "GS_Male_A"},
  699.     {model = "ND_FattyWrestle"          ,name = "Fatty"             ,style = "GS_Male_A"},
  700.     {model = "TO_Industrial"            ,name = "Chuck"             ,style = "CV_Male_A"},
  701.     {model = "TO_Associate"             ,name = "Ian"               ,style = "CV_Male_A"},
  702.     {model = "TO_Asylumpatient"         ,name = "Fenwick"           ,style = "DO_Striker_A"},
  703.     {model = "TE_Autoshop"              ,name = "Neil"              ,style = "Authority"},
  704.     {model = "TO_Mailman"               ,name = "MrSvenson"         ,style = "CV_Male_A"},
  705.     {model = "TO_Tattooist"             ,name = "Denny"             ,style = "CV_Male_A"},
  706.     {model = "TE_Assylum"               ,name = "MrGalloway"        ,style = "Authority"},
  707.     {model = "Nemesis_Gary"             ,name = "Gary"              ,style = "B_Striker_A"},
  708.     {model = "TO_Oldman2"               ,name = "Krakauer"          ,style = "CV_OLD"},
  709.     {model = "TO_BarberPoor"            ,name = "MrMoratti"         ,style = "CV_Male_A"},
  710.     {model = "PR2nd_Bif_OBOX"           ,name = "Bif"               ,style = "P_Striker_A"},
  711.     {model = "Peter"                    ,name = "Peter"             ,style = "GS_Male_A"},
  712.     {model = "TO_RichM3"                ,name = "MrSmith"           ,style = "CV_Male_A"},
  713.     {model = "Rat_Ped"                  ,name = "Rat"               ,style = "AN_Rat"},
  714.     {model = "GN_LittleGirl_2"          ,name = "Melody"            ,style = "GS_Female_A"},
  715.     {model = "GN_LittleGirl_3"          ,name = "Karen"             ,style = "GS_Female_A"},
  716.     {model = "GN_WhiteBoy"              ,name = "Gordon"            ,style = "GS_Male_A"},
  717.     {model = "TO_FMidget"               ,name = "Brandy"            ,style = "GS_Male_A"},
  718.     {model = "Dog_Pitbull"              ,name = "Pitbull"           ,style = "AN_DOG"},
  719.     {model = "GN_SkinnyBboy"            ,name = "Lance"             ,style = "GS_Male_A"},
  720.     {model = "TO_Carnie_female"         ,name = "Crystal"           ,style = "CV_Female_A"},
  721.     {model = "TO_Business3"             ,name = "MrMartin"          ,style = "CV_Male_A"},
  722.     {model = "GN_Bully04"               ,name = "Ethan"             ,style = "B_Striker_A"},
  723.     {model = "GN_Bully05"               ,name = "Wade"              ,style = "B_Striker_A"},
  724.     {model = "GN_Bully06"               ,name = "Tom"               ,style = "B_Striker_A"},
  725.     {model = "TO_Business4"             ,name = "MrRamirez"         ,style = "CV_Male_A"},
  726.     {model = "TO_Business5"             ,name = "MrHuntingdon"      ,style = "CV_Male_A"},
  727.     {model = "DO_Otto_asylum"           ,name = "Otto"              ,style = "DO_Striker_A"},
  728.     {model = "TE_History"               ,name = "MrWiggins"         ,style = "Authority"},
  729.     {model = "TO_Record"                ,name = "Floyd"             ,style = "CV_Male_A"},
  730.     {model = "DO_Leon_Assylum"          ,name = "Leon"              ,style = "DO_Striker_A"},
  731.     {model = "DO_Henry_Assylum"         ,name = "Henry"             ,style = "DO_Striker_A"},
  732.     {model = "NDH1_FattyChocolate"      ,name = "Fatty"             ,style = "N_Striker_A"},
  733.     {model = "TO_GroceryClerk"          ,name = "Stan"              ,style = "CV_Male_A"},
  734.     {model = "TO_Handy"                 ,name = "Handy"             ,style = "CV_OLD"},
  735.     {model = "TO_Orderly2"              ,name = "Gregory"           ,style = "LE_Orderly_A"},
  736.     {model = "GN_Hboy_Ween"             ,name = "Pedro"             ,style = "GS_Male_A"},
  737.     {model = "Nemesis_Ween"             ,name = "Gary"              ,style = "B_Striker_A"},
  738.     {model = "GRH3_Lucky_Ween"          ,name = "Lucky"             ,style = "G_Striker_A"},
  739.     {model = "NDH3a_Donald_ween"        ,name = "Donald"            ,style = "N_Ranged_A"},
  740.     {model = "PRH3a_Parker_Ween"        ,name = "Parker"            ,style = "P_Striker_B"},
  741.     {model = "JKH3_Casey_Ween"          ,name = "Casey"             ,style = "J_Melee_A"},
  742.     {model = "Peter_Ween"               ,name = "Peter"             ,style = "GS_Male_A"},
  743.     {model = "GN_AsianGirl_Ween"        ,name = "Angie"             ,style = "GS_Female_A"},
  744.     {model = "PRGirl_Pinky_Ween"        ,name = "Pinky"             ,style = "GS_Female_A"},
  745.     {model = "JKH1_Damon_ween"          ,name = "Damon"             ,style = "J_Striker_A"},
  746.     {model = "GN_WhiteBoy_Ween"         ,name = "Gordon"            ,style = "GS_Male_A"},
  747.     {model = "GN_Bully01_Ween"          ,name = "Ivan"              ,style = "B_Striker_A"},
  748.     {model = "GN_Boy02_Ween"            ,name = "Trevor"            ,style = "B_Striker_A"},
  749.     {model = "PR2nd_Bif_OBOX_D1"        ,name = "Bif"               ,style = "P_Striker_A"},
  750.     {model = "GRH1a_Vance_Ween"         ,name = "Vance"             ,style = "G_Melee_A"},
  751.     {model = "NDH2_Thad_Ween"           ,name = "Thad"              ,style = "N_Ranged_A"},
  752.     {model = "PRGirl_Pinky_BW"          ,name = "Pinky"             ,style = "GS_Female_A"},
  753.     {model = "DOlead_Russell_BU"        ,name = "Russell"           ,style = "B_Striker_A"},
  754.     {model = "PRH1a_Tad_BW"             ,name = "Tad"               ,style = "P_Striker_A"},
  755.     {model = "PRH2_Bryce_BW"            ,name = "Bryce"             ,style = "P_Grappler_A"},
  756.     {model = "PRH3_Justin_BW"           ,name = "Justin"            ,style = "P_Striker_B"},
  757.     {model = "GN_Asiangirl_CH"          ,name = "Angie"             ,style = "GS_Female_A"},
  758.     {model = "GN_Sexygirl_CH"           ,name = "Christy"           ,style = "GS_Female_A"},
  759.     {model = "PRGirl_Pinky_CH"          ,name = "Pinky"             ,style = "GS_Female_A"},
  760.     {model = "TO_NH_Res_01"             ,name = "MrBuba"            ,style = "CV_OLD"},
  761.     {model = "TO_NH_Res_02"             ,name = "MrGordon"          ,style = "CV_OLD"},
  762.     {model = "TO_NH_Res_03"             ,name = "MrsLisburn"        ,style = "CV_OLD"},
  763.     {model = "NDH1_Fatty_DM"            ,name = "Fatty"             ,style = "N_Striker_A"},
  764.     {model = "TO_PunkBarber"            ,name = "Betty"             ,style = "CV_Male_A"},
  765.     {model = "FightingMidget_01"        ,name = "Lightning"         ,style = "P_Striker_A"},
  766.     {model = "FightingMidget_02"        ,name = "Zeke"              ,style = "G_Striker_A"},
  767.     {model = "TO_Skeletonman"           ,name = "Alfred"            ,style = "CV_Male_A"},
  768.     {model = "TO_Beardedwoman"          ,name = "Paris"             ,style = "CV_Female_A"},
  769.     {model = "TO_CarnieMermaid"         ,name = "Courtney"          ,style = "CV_Female_A"},
  770.     {model = "TO_Siamesetwin2"          ,name = "Delilah"           ,style = "CV_Female_A"},
  771.     {model = "TO_Paintedman"            ,name = "Drew"              ,style = "CV_Male_A"},
  772.     {model = "TO_GN_Workman"            ,name = "Castillo"          ,style = "CV_Male_A"},
  773.     {model = "DOLead_Edgar_GS"          ,name = "Edgar"             ,style = "DO_Striker_A"},
  774.     {model = "DOH3a_Gurney_GS"          ,name = "Gurney"            ,style = "DO_Grappler_A"},
  775.     {model = "DOH2_Jerry_GS"            ,name = "Jerry"             ,style = "DO_Grappler_A"},
  776.     {model = "DOH2a_Leon_GS"            ,name = "Leon"              ,style = "DO_Striker_A"},
  777.     {model = "GRH2a_Hal_GS"             ,name = "Hal"               ,style = "G_Grappler_A"},
  778.     {model = "GRH2_Norton_GS"           ,name = "Norton"            ,style = "G_Grappler_A"},
  779.     {model = "GR2nd_Peanut_GS"          ,name = "Peanut"            ,style = "G_Striker_A"},
  780.     {model = "GRH1a_Vance_GS"           ,name = "Vance"             ,style = "G_Melee_A"},
  781.     {model = "JKH3a_Bo_GS"              ,name = "Bo"                ,style = "J_Melee_A"},
  782.     {model = "JKH1_Damon_GS"            ,name = "Damon"             ,style = "J_Striker_A"},
  783.     {model = "JK2nd_Juri_GS"            ,name = "Juri"              ,style = "J_Grappler_A"},
  784.     {model = "JKH1a_Kirby_GS"           ,name = "Kirby"             ,style = "J_Striker_A"},
  785.     {model = "NDH1a_Algernon_GS"        ,name = "Algernon"          ,style = "N_Striker_B"},
  786.     {model = "NDH3_Bucky_GS"            ,name = "Bucky"             ,style = "N_Ranged_A"},
  787.     {model = "NDH2_Thad_GS"             ,name = "Thad"              ,style = "N_Ranged_A"},
  788.     {model = "PRH3a_Parker_GS"          ,name = "Parker"            ,style = "P_Striker_B"},
  789.     {model = "PRH3_Justin_GS"           ,name = "Justin"            ,style = "P_Striker_B"},
  790.     {model = "PRH1a_Tad_GS"             ,name = "Tad"               ,style = "P_Striker_A"},
  791.     {model = "PRH1_Gord_GS"             ,name = "Gord"              ,style = "P_Striker_A"},
  792.     {model = "NDLead_Earnest_EG"        ,name = "Earnest"           ,style = "N_Ranged_A"},
  793.     {model = "JKlead_Ted_EG"            ,name = "Ted"               ,style = "J_Striker_A"},
  794.     {model = "GRlead_Johnny_EG"         ,name = "Johnny"            ,style = "G_Johnny"},
  795.     {model = "PRlead_Darby_EG"          ,name = "Darby"             ,style = "P_Striker_A"},
  796.     {model = "Dog_Pitbull2"             ,name = "Pitbull"           ,style = "AN_DOG"},
  797.     {model = "Dog_Pitbull3"             ,name = "Pitbull"           ,style = "AN_DOG"},
  798.     {model = "TE_CafeMU_W"              ,name = "Edna"              ,style = "Authority"},
  799.     {model = "TO_Millworker"            ,name = "McInnis"           ,style = "CV_Male_A"},
  800.     {model = "TO_Dockworker"            ,name = "Johnson"           ,style = "CV_Male_A"},
  801.     {model = "NDH2_Thad_PJ"             ,name = "Thad"              ,style = "N_Ranged_A"},
  802.     {model = "GN_Lblkboy_PJ"            ,name = "Sheldon"           ,style = "GS_Male_A"},
  803.     {model = "GN_Hboy_PJ"               ,name = "Pedro"             ,style = "GS_Male_A"},
  804.     {model = "GN_Boy01_PJ"              ,name = "Ivan"              ,style = "GS_Male_A"},
  805.     {model = "GN_Boy02_PJ"              ,name = "Trevor"            ,style = "GS_Male_A"},
  806.     {model = "TE_Gym_Incog"             ,name = "MrBurton"          ,style = "Authority"},
  807.     {model = "JK_Mandy_Towel"           ,name = "Mandy"             ,style = "GS_Female_A"},
  808.     {model = "JK_Bo_FB"                 ,name = "Bo"                ,style = "J_Melee_A"},
  809.     {model = "JK_Casey_FB"              ,name = "Casey"             ,style = "J_Melee_A"},
  810.     {model = "PunchBag"                 ,name = "PunchBag"          ,style = "PunchBagBS"},
  811.     {model = "TO_Cop3"                  ,name = "OfficerMonson"     ,style = "Authority"},
  812.     {model = "GN_GreekboyUW"            ,name = "Constantinos"      ,style = "GS_Male_A"},
  813.     {model = "TO_Construct01"           ,name = "McInnis"           ,style = "CV_Male_A"},
  814.     {model = "TO_Construct02"           ,name = "McInnis"           ,style = "CV_Male_A"},
  815.     {model = "TO_Cop4"                  ,name = "OfficerWilliams"   ,style = "Authority"},
  816.     {model = "PRH2_Bryce_OBOX_D1"       ,name = "Bryce"             ,style = "P_Striker_A"},
  817.     {model = "PRH2_Bryce_OBOX_D2"       ,name = "Bryce"             ,style = "P_Striker_A"},
  818.     {model = "PRH2A_Chad_OBOX_D1"       ,name = "Chad"              ,style = "P_Striker_A"},
  819.     {model = "PRH2A_Chad_OBOX_D2"       ,name = "Chad"              ,style = "P_Striker_A"},
  820.     {model = "PR2nd_Bif_OBOX_D2"        ,name = "Bif"               ,style = "P_Striker_A"},
  821.     {model = "PRH3_Justin_OBOX_D1"      ,name = "Justin"            ,style = "P_Striker_A"},
  822.     {model = "PRH3_Justin_OBOX_D2"      ,name = "Justin"            ,style = "P_Striker_A"},
  823.     {model = "PRH3a_Prkr_OBOX_D1"       ,name = "Parker"            ,style = "P_Striker_A"},
  824.     {model = "PRH3a_Prkr_OBOX_D2"       ,name = "Parker"            ,style = "P_Striker_A"},
  825.     {model = "TE_Geography"             ,name = "GeographyTeacher"  ,style = "Authority"},
  826.     {model = "TE_Music"                 ,name = "MusicTeacher"      ,style = "TE_Female_A"},
  827.     {model = "TO_ElfF"                  ,name = "Elf"               ,style = "GS_Male_A"},
  828.     {model = "TO_ElfM"                  ,name = "Elf"               ,style = "GS_Male_A"},
  829.     {model = "TO_HoboSanta"             ,name = "HoboSanta"         ,style = "CV_Male_A"},
  830.     {model = "TO_Santa"                 ,name = "Santa"             ,style = "CV_Male_A"},
  831.     {model = "TO_Santa_NB"              ,name = "Santa"             ,style = "CV_Male_A"},
  832.     {model = "Peter_Nutcrack"           ,name = "Peter"             ,style = "GS_Male_A"},
  833.     {model = "GN_Fatgirl_Fairy"         ,name = "Eunice"            ,style = "GS_Fat_A"},
  834.     {model = "GN_Lgirl_2_Flower"        ,name = "Melody"            ,style = "GS_Female_A"},
  835.     {model = "GN_Hboy_Flower"           ,name = "Pedro"             ,style = "GS_Male_A"}
  836.   }
  837.   peds = {
  838.     {name = "Jimmy"             ,style = "Player"},
  839.     {name = "Zoe"               ,style = "GS_Female_A"},
  840.     {name = "Beatrice"          ,style = "GS_Female_A"},
  841.     {name = "Algernon"          ,style = "N_Striker_B"},
  842.     {name = "Fatty"             ,style = "N_Striker_A"},
  843.     {name = "Melvin"            ,style = "N_Striker_A"},
  844.     {name = "Thad"              ,style = "N_Ranged_A"},
  845.     {name = "Bucky"             ,style = "N_Ranged_A"},
  846.     {name = "Cornelius"         ,style = "N_Ranged_A"},
  847.     {name = "Earnest"           ,style = "N_Ranged_A"},
  848.     {name = "Donald"            ,style = "N_Ranged_A"},
  849.     {name = "Damon"             ,style = "J_Striker_A"},
  850.     {name = "Kirby"             ,style = "J_Striker_A"},
  851.     {name = "Mandy"             ,style = "GS_Female_A"},
  852.     {name = "Dan"               ,style = "J_Striker_A"},
  853.     {name = "Luis"              ,style = "J_Grappler_A"},
  854.     {name = "Casey"             ,style = "J_Melee_A"},
  855.     {name = "Bo"                ,style = "J_Melee_A"},
  856.     {name = "Ted"               ,style = "J_Striker_A"},
  857.     {name = "Juri"              ,style = "J_Grappler_A"},
  858.     {name = "Peanut"            ,style = "G_Striker_A"},
  859.     {name = "Hal"               ,style = "G_Grappler_A"},
  860.     {name = "Johnny"            ,style = "G_Striker_A"},
  861.     {name = "Lefty"             ,style = "G_Melee_A"},
  862.     {name = "Lola"              ,style = "GS_Female_A"},
  863.     {name = "Lucky"             ,style = "G_Striker_A"},
  864.     {name = "Vance"             ,style = "G_Melee_A"},
  865.     {name = "Ricky"             ,style = "G_Striker_A"},
  866.     {name = "Norton"            ,style = "G_Grappler_A"},
  867.     {name = "Gord"              ,style = "P_Striker_A"},
  868.     {name = "Tad"               ,style = "P_Striker_A"},
  869.     {name = "Chad"              ,style = "P_Grappler_A"},
  870.     {name = "Bif"               ,style = "P_Striker_A"},
  871.     {name = "Justin"            ,style = "P_Striker_B"},
  872.     {name = "Bryce"             ,style = "P_Grappler_A"},
  873.     {name = "Bryce"             ,style = "P_Striker_A"},
  874.     {name = "Darby"             ,style = "P_Striker_A"},
  875.     {name = "Pinky"             ,style = "GS_Female_A"},
  876.     {name = "Angie"             ,style = "GS_Female_A"},
  877.     {name = "Parker"            ,style = "P_Striker_B"},
  878.     {name = "Jerry"             ,style = "DO_Grappler_A"},
  879.     {name = "Otto"              ,style = "DO_Striker_A"},
  880.     {name = "Leon"              ,style = "DO_Striker_A"},
  881.     {name = "Duncan"            ,style = "DO_Striker_A"},
  882.     {name = "Henry"             ,style = "DO_Grappler_A"},
  883.     {name = "Gurney"            ,style = "DO_Grappler_A"},
  884.     {name = "Omar"              ,style = "DO_Striker_A"},
  885.     {name = "Zoe"               ,style = "GS_Female_A"},
  886.     {name = "Max"               ,style = "Authority"},
  887.     {name = "Seth"              ,style = "Authority"},
  888.     {name = "Edward"            ,style = "Authority"},
  889.     {name = "Karl"              ,style = "Authority"},
  890.     {name = "Theo"              ,style = "LE_Orderly_A"},
  891.     {name = "MissPeabody"       ,style = "TE_Female_A"},
  892.     {name = "MrBurton"          ,style = "Authority"},
  893.     {name = "MrLuntz"           ,style = "CV_Male_A"},
  894.     {name = "MrGalloway"        ,style = "Authority"},
  895.     {name = "Edna"              ,style = "Authority"},
  896.     {name = "MissWinston"       ,style = "TE_Female_A"},
  897.     {name = "MrsMcRae"          ,style = "TE_Female_A"},
  898.     {name = "MrHuntingdon"      ,style = "Authority"},
  899.     {name = "MrsCarvin"         ,style = "TE_Female_A"},
  900.     {name = "MsPhillips"        ,style = "TE_Female_A"},
  901.     {name = "MrSlawter"         ,style = "Authority"},
  902.     {name = "DrCrabblesnitch"   ,style = "Authority"},
  903.     {name = "Sheldon"           ,style = "GS_Male_A"},
  904.     {name = "Christy"           ,style = "GS_Female_A"},
  905.     {name = "Gloria"            ,style = "GS_Female_A"},
  906.     {name = "Pedro"             ,style = "GS_Male_A"},
  907.     {name = "Constantinos"      ,style = "GS_Male_A"},
  908.     {name = "Ray"               ,style = "GS_Fat_A"},
  909.     {name = "Ivan"              ,style = "GS_Male_A"},
  910.     {name = "Trevor"            ,style = "GS_Male_A"},
  911.     {name = "Eunice"            ,style = "GS_Fat_A"},
  912.     {name = "Russell"           ,style = "B_Striker_A"},
  913.     {name = "DrBambillo"        ,style = "CV_Male_A"},
  914.     {name = "MrSullivan"        ,style = "CV_Male_A"},
  915.     {name = "MsKopke"           ,style = "CV_Female_A"},
  916.     {name = "MsRushinski"       ,style = "CV_Female_A"},
  917.     {name = "MsIsaacs"          ,style = "CV_Female_A"},
  918.     {name = "BethanyJones"      ,style = "CV_Female_A"},
  919.     {name = "ORourke"           ,style = "CV_Male_A"},
  920.     {name = "OfficerMonson"     ,style = "Authority"},
  921.     {name = "ZackOwens"         ,style = "CV_Male_A"},
  922.     {name = "Trent"             ,style = "B_Striker_A"},
  923.     {name = "TobiasMason"       ,style = "CV_Male_A"},
  924.     {name = "MrGrant"           ,style = "CV_Male_A"},
  925.     {name = "Mascot"            ,style = "J_Mascot"},
  926.     {name = "MrOh"              ,style = "CV_Male_A"},
  927.     {name = "Christy"           ,style = "GS_Female_A"},
  928.     {name = "Edgar"             ,style = "DO_Striker_A"},
  929.     {name = "Luis"              ,style = "J_Grappler_A"},
  930.     {name = "Mandy"             ,style = "GS_Female_A"},
  931.     {name = "Pinky"             ,style = "GS_Female_A"},
  932.     {name = "Beatrice"          ,style = "GS_Female_A"},
  933.     {name = "Lola"              ,style = "GS_Female_A"},
  934.     {name = "OfficerWilliams"   ,style = "Authority"},
  935.     {name = "Jimmy"             ,style = "Player"},
  936.     {name = "Davis"             ,style = "B_Striker_A"},
  937.     {name = "MrBreckindale"     ,style = "CV_Male_A"},
  938.     {name = "MrDoolin"          ,style = "CV_Male_A"},
  939.     {name = "Troy"              ,style = "B_Striker_A"},
  940.     {name = "Nate"              ,style = "CV_Male_A"},
  941.     {name = "MrCarmichael"      ,style = "CV_Male_A"},
  942.     {name = "NickyCharles"      ,style = "CV_Male_A"},
  943.     {name = "MrWatts"           ,style = "Authority"},
  944.     {name = "MissAbby"          ,style = "CV_OLD"},
  945.     {name = "Mihailovich"       ,style = "CV_Male_A"},
  946.     {name = "Kirby"             ,style = "J_Striker_A"},
  947.     {name = "Ted"               ,style = "J_Striker_A"},
  948.     {name = "Dan"               ,style = "J_Striker_A"},
  949.     {name = "Damon"             ,style = "J_Striker_A"},
  950.     {name = "Freeley"           ,style = "CV_Male_A"},
  951.     {name = "Dorsey"            ,style = "CV_Male_A"},
  952.     {name = "Hector"            ,style = "CV_Male_A"},
  953.     {name = "Osbourne"          ,style = "CV_Male_A"},
  954.     {name = "Chad"              ,style = "P_Striker_A"},
  955.     {name = "Justin"            ,style = "P_Striker_A"},
  956.     {name = "Parker"            ,style = "P_Striker_A"},
  957.     {name = "MariaTheresa"      ,style = "CV_Female_A"},
  958.     {name = "Bob"               ,style = "GS_Male_A"},
  959.     {name = "Fatty"             ,style = "GS_Male_A"},
  960.     {name = "Chuck"             ,style = "CV_Male_A"},
  961.     {name = "Ian"               ,style = "CV_Male_A"},
  962.     {name = "Fenwick"           ,style = "DO_Striker_A"},
  963.     {name = "Neil"              ,style = "Authority"},
  964.     {name = "MrSvenson"         ,style = "CV_Male_A"},
  965.     {name = "Denny"             ,style = "CV_Male_A"},
  966.     {name = "MrGalloway"        ,style = "Authority"},
  967.     {name = "Gary"              ,style = "B_Striker_A"},
  968.     {name = "Krakauer"          ,style = "CV_OLD"},
  969.     {name = "MrMoratti"         ,style = "CV_Male_A"},
  970.     {name = "Bif"               ,style = "P_Striker_A"},
  971.     {name = "Peter"             ,style = "GS_Male_A"},
  972.     {name = "MrSmith"           ,style = "CV_Male_A"},
  973.     {name = "Rat"               ,style = "AN_Rat"},
  974.     {name = "Melody"            ,style = "GS_Female_A"},
  975.     {name = "Karen"             ,style = "GS_Female_A"},
  976.     {name = "Gordon"            ,style = "GS_Male_A"},
  977.     {name = "Brandy"            ,style = "GS_Male_A"},
  978.     {name = "Pitbull"           ,style = "AN_DOG"},
  979.     {name = "Lance"             ,style = "GS_Male_A"},
  980.     {name = "Crystal"           ,style = "CV_Female_A"},
  981.     {name = "MrMartin"          ,style = "CV_Male_A"},
  982.     {name = "Ethan"             ,style = "B_Striker_A"},
  983.     {name = "Wade"              ,style = "B_Striker_A"},
  984.     {name = "Tom"               ,style = "B_Striker_A"},
  985.     {name = "MrRamirez"         ,style = "CV_Male_A"},
  986.     {name = "MrHuntingdon"      ,style = "CV_Male_A"},
  987.     {name = "Otto"              ,style = "DO_Striker_A"},
  988.     {name = "MrWiggins"         ,style = "Authority"},
  989.     {name = "Floyd"             ,style = "CV_Male_A"},
  990.     {name = "Leon"              ,style = "DO_Striker_A"},
  991.     {name = "Henry"             ,style = "DO_Striker_A"},
  992.     {name = "Fatty"             ,style = "N_Striker_A"},
  993.     {name = "Stan"              ,style = "CV_Male_A"},
  994.     {name = "Handy"             ,style = "CV_OLD"},
  995.     {name = "Gregory"           ,style = "LE_Orderly_A"},
  996.     {name = "Pedro"             ,style = "GS_Male_A"},
  997.     {name = "Gary"              ,style = "B_Striker_A"},
  998.     {name = "Lucky"             ,style = "G_Striker_A"},
  999.     {name = "Donald"            ,style = "N_Ranged_A"},
  1000.     {name = "Parker"            ,style = "P_Striker_B"},
  1001.     {name = "Casey"             ,style = "J_Melee_A"},
  1002.     {name = "Peter"             ,style = "GS_Male_A"},
  1003.     {name = "Angie"             ,style = "GS_Female_A"},
  1004.     {name = "Pinky"             ,style = "GS_Female_A"},
  1005.     {name = "Damon"             ,style = "J_Striker_A"},
  1006.     {name = "Gordon"            ,style = "GS_Male_A"},
  1007.     {name = "Ivan"              ,style = "B_Striker_A"},
  1008.     {name = "Trevor"            ,style = "B_Striker_A"},
  1009.     {name = "Bif"               ,style = "P_Striker_A"},
  1010.     {name = "Vance"             ,style = "G_Melee_A"},
  1011.     {name = "Thad"              ,style = "N_Ranged_A"},
  1012.     {name = "Pinky"             ,style = "GS_Female_A"},
  1013.     {name = "Russell"           ,style = "B_Striker_A"},
  1014.     {name = "Tad"               ,style = "P_Striker_A"},
  1015.     {name = "Bryce"             ,style = "P_Grappler_A"},
  1016.     {name = "Justin"            ,style = "P_Striker_B"},
  1017.     {name = "Angie"             ,style = "GS_Female_A"},
  1018.     {name = "Christy"           ,style = "GS_Female_A"},
  1019.     {name = "Pinky"             ,style = "GS_Female_A"},
  1020.     {name = "MrBuba"            ,style = "CV_OLD"},
  1021.     {name = "MrGordon"          ,style = "CV_OLD"},
  1022.     {name = "MrsLisburn"        ,style = "CV_OLD"},
  1023.     {name = "Fatty"             ,style = "N_Striker_A"},
  1024.     {name = "Betty"             ,style = "CV_Male_A"},
  1025.     {name = "Lightning"         ,style = "P_Striker_A"},
  1026.     {name = "Zeke"              ,style = "G_Striker_A"},
  1027.     {name = "Alfred"            ,style = "CV_Male_A"},
  1028.     {name = "Paris"             ,style = "CV_Female_A"},
  1029.     {name = "Courtney"          ,style = "CV_Female_A"},
  1030.     {name = "Delilah"           ,style = "CV_Female_A"},
  1031.     {name = "Drew"              ,style = "CV_Male_A"},
  1032.     {name = "Castillo"          ,style = "CV_Male_A"},
  1033.     {name = "Edgar"             ,style = "DO_Striker_A"},
  1034.     {name = "Gurney"            ,style = "DO_Grappler_A"},
  1035.     {name = "Jerry"             ,style = "DO_Grappler_A"},
  1036.     {name = "Leon"              ,style = "DO_Striker_A"},
  1037.     {name = "Hal"               ,style = "G_Grappler_A"},
  1038.     {name = "Norton"            ,style = "G_Grappler_A"},
  1039.     {name = "Peanut"            ,style = "G_Striker_A"},
  1040.     {name = "Vance"             ,style = "G_Melee_A"},
  1041.     {name = "Bo"                ,style = "J_Melee_A"},
  1042.     {name = "Damon"             ,style = "J_Striker_A"},
  1043.     {name = "Juri"              ,style = "J_Grappler_A"},
  1044.     {name = "Kirby"             ,style = "J_Striker_A"},
  1045.     {name = "Algernon"          ,style = "N_Striker_B"},
  1046.     {name = "Bucky"             ,style = "N_Ranged_A"},
  1047.     {name = "Thad"              ,style = "N_Ranged_A"},
  1048.     {name = "Parker"            ,style = "P_Striker_B"},
  1049.     {name = "Justin"            ,style = "P_Striker_B"},
  1050.     {name = "Tad"               ,style = "P_Striker_A"},
  1051.     {name = "Gord"              ,style = "P_Striker_A"},
  1052.     {name = "Earnest"           ,style = "N_Ranged_A"},
  1053.     {name = "Ted"               ,style = "J_Striker_A"},
  1054.     {name = "Johnny"            ,style = "G_Johnny"},
  1055.     {name = "Darby"             ,style = "P_Striker_A"},
  1056.     {name = "Pitbull"           ,style = "AN_DOG"},
  1057.     {name = "Pitbull"           ,style = "AN_DOG"},
  1058.     {name = "Edna"              ,style = "Authority"},
  1059.     {name = "McInnis"           ,style = "CV_Male_A"},
  1060.     {name = "Johnson"           ,style = "CV_Male_A"},
  1061.     {name = "Thad"              ,style = "N_Ranged_A"},
  1062.     {name = "Sheldon"           ,style = "GS_Male_A"},
  1063.     {name = "Pedro"             ,style = "GS_Male_A"},
  1064.     {name = "Ivan"              ,style = "GS_Male_A"},
  1065.     {name = "Trevor"            ,style = "GS_Male_A"},
  1066.     {name = "MrBurton"          ,style = "Authority"},
  1067.     {name = "Mandy"             ,style = "GS_Female_A"},
  1068.     {name = "Bo"                ,style = "J_Melee_A"},
  1069.     {name = "Casey"             ,style = "J_Melee_A"},
  1070.     {name = "PunchBag"          ,style = "PunchBagBS"},
  1071.     {name = "OfficerMonson"     ,style = "Authority"},
  1072.     {name = "Constantinos"      ,style = "GS_Male_A"},
  1073.     {name = "McInnis"           ,style = "CV_Male_A"},
  1074.     {name = "McInnis"           ,style = "CV_Male_A"},
  1075.     {name = "OfficerWilliams"   ,style = "Authority"},
  1076.     {name = "Bryce"             ,style = "P_Striker_A"},
  1077.     {name = "Bryce"             ,style = "P_Striker_A"},
  1078.     {name = "Chad"              ,style = "P_Striker_A"},
  1079.     {name = "Chad"              ,style = "P_Striker_A"},
  1080.     {name = "Bif"               ,style = "P_Striker_A"},
  1081.     {name = "Justin"            ,style = "P_Striker_A"},
  1082.     {name = "Justin"            ,style = "P_Striker_A"},
  1083.     {name = "Parker"            ,style = "P_Striker_A"},
  1084.     {name = "Parker"            ,style = "P_Striker_A"},
  1085.     {name = "GeographyTeacher"  ,style = "Authority"},
  1086.     {name = "MusicTeacher"      ,style = "TE_Female_A"},
  1087.     {name = "Elf"               ,style = "GS_Male_A"},
  1088.     {name = "Elf"               ,style = "GS_Male_A"},
  1089.     {name = "HoboSanta"         ,style = "CV_Male_A"},
  1090.     {name = "Santa"             ,style = "CV_Male_A"},
  1091.     {name = "Santa"             ,style = "CV_Male_A"},
  1092.     {name = "Peter"             ,style = "GS_Male_A"},
  1093.     {name = "Eunice"            ,style = "GS_Fat_A"},
  1094.     {name = "Melody"            ,style = "GS_Female_A"},
  1095.     {name = "Pedro"             ,style = "GS_Male_A"}
  1096.   }
  1097.   fgs = {
  1098.     {name = "Nothing"},
  1099.     {name = "Ally"},
  1100.     {name = "Enemies"}
  1101.   }
  1102.   pty = {
  1103.     "Normal",
  1104.     "Faster",
  1105.     "Always",
  1106.   }
  1107.   xss = {
  1108.     {"Halloween1"                   ,"Halloween"},
  1109.     {"Halloween2"           ,"Halloween 2"},
  1110.     {"Halloween3"           ,"Halloween 3"},
  1111.     {"vote"             ,"Earnest speech"},
  1112.     {"TombstonePost"            ,"Tombstone"},
  1113.     {"PumpkinPost"              ,"Pumpkin"},
  1114.     {"RL_rich1"             ,"Race The Vale"},
  1115.     {"Christmas"            ,"Christmas"},
  1116.     {"Nutcracker"           ,"Nutrackin'"},
  1117.     {"Rudy1"                ,"Town Christmas"},
  1118.     {"Rudy2"            ,"Rudy the Red Nosed Santa"},
  1119.     {"Rudy3"                ,"Rudy the Red Nosed Santa 2"},
  1120.     {"delivery"             ,"Discreet Delivery"},
  1121.     {"Miracle"              ,"Miracle on Bullworth st"},
  1122.     {"2s07"             ,"Small Offences"},
  1123.   }
  1124.   styles = {
  1125.     "Player",
  1126.     "AN_DOG",
  1127.     "Authority",
  1128.     "B_Striker_A",
  1129.     "1_03_Davis",
  1130.     "BOSS_Darby",
  1131.     "BOSS_Russell",
  1132.     "Crazy_Basic",
  1133.     "CV_Drunk",
  1134.     "CV_Female_A",
  1135.     "CV_Male_A",
  1136.     "CV_OLD",
  1137.     "DO_Edgar",
  1138.     "DO_Grappler_A",
  1139.     "DO_Melee_A",
  1140.     "DO_Striker_A",
  1141.     "G_Grappler_A",
  1142.     "G_Johnny",
  1143.     "G_Melee_A",
  1144.     "G_Ranged_A",
  1145.     "G_Striker_A",
  1146.     "3_05_Norton",
  1147.     "GS_Fat_A",
  1148.     "GS_Female_A",
  1149.     "GS_Male_A",
  1150.     "Hobo_Blocker",
  1151.     "J_Damon",
  1152.     "J_Grappler_A",
  1153.     "J_Mascot",
  1154.     "J_Melee_A",
  1155.     "J_Striker_A",
  1156.     "J_Ted",
  1157.     "LE_Orderly_A",
  1158.     "N_Earnest",
  1159.     "N_Ranged_A",
  1160.     "N_Striker_A",
  1161.     "N_Striker_B",
  1162.     "Nemesis",
  1163.     "P_Bif",
  1164.     "P_Grappler_A",
  1165.     "P_Striker_A",
  1166.     "P_Striker_B",
  1167.     "PunchBagBS",
  1168.     "Russell_102",
  1169.     "TE_Female_A",
  1170.     "TE_Secretary",
  1171.     "TO_Siamese",
  1172.     "WrestlingACT",
  1173.     "BoxingPlayer",
  1174.     "Client_3_01",
  1175.     "Client_3_R05",
  1176.   }
  1177.   frts = {
  1178.     {"C_Photography_2"                  ,"Photography 1"},
  1179.     {"C_Photography_1"          ,"Photography 2"},
  1180.     {"C_Photography_3"          ,"Photography 3"},
  1181.     {"C_Photography_4"          ,"Photography 4"},
  1182.     {"C_Photography_5"              ,"Photography 5"},
  1183.     {"C_English_1"                  ,"English 1"},
  1184.     {"C_English_2"          ,"English 2"},
  1185.     {"C_English_3"          ,"English 3"},
  1186.     {"C_English_4"          ,"English 4"},
  1187.     {"C_English_5"              ,"English 5"},
  1188.     {"C_ART_1"                  ,"Art 1"},
  1189.     {"C_ART_2"          ,"Art 2"},
  1190.     {"C_ART_3"          ,"Art 3"},
  1191.     {"C_ART_4"          ,"Art 4"},
  1192.     {"C_ART_5"              ,"Art 5"},
  1193.     {"C_Art_5_repeat"               ,"Repeat Art 5"},
  1194.     {"C_WRESTLING_1"                    ,"Gym 1"},
  1195.     {"C_WRESTLING_2"            ,"Gym 2"},
  1196.     {"C_WRESTLING_3"            ,"Gym 3"},
  1197.     {"C_WRESTLING_4"            ,"Gym 4"},
  1198.     {"C_WRESTLING_5"                ,"Gym 5"},
  1199.     {"C_Shop_1"                 ,"Shop 1"},
  1200.     {"C_Shop_2"         ,"Shop 2"},
  1201.     {"C_Shop_3"         ,"Shop 3"},
  1202.     {"C_Shop_4"         ,"Shop 4"},
  1203.     {"C_Shop_5"             ,"Shop 5"},
  1204.     {"C_Math_1"                 ,"Math 1"},
  1205.     {"C_Math_2"         ,"Math 2"},
  1206.     {"C_Math_3"         ,"Math 3"},
  1207.     {"C_Math_4"         ,"Math 4"},
  1208.     {"C_Math_5"             ,"Math 5"},
  1209.     {"C_Math_5_repeat"              ,"Repeat Math 5"},
  1210.     {"C_Biology_1"                  ,"Biology 1"},
  1211.     {"C_Biology_2"          ,"Biology 2"},
  1212.     {"C_Biology_3"          ,"Biology 3"},
  1213.     {"C_Biology_4"          ,"Biology 4"},
  1214.     {"C_Biology_5"              ,"Biology 5"},
  1215.     {"C_Biology_5_repeat"               ,"Repeat Biology 5"},
  1216.     {"C_Geography_1"                    ,"Geography 1"},
  1217.     {"C_Geography_2"            ,"Geography 2"},
  1218.     {"C_Geography_3"            ,"Geography 3"},
  1219.     {"C_Geography_4"            ,"Geography 4"},
  1220.     {"C_Geography_5"                ,"Geography 5"},
  1221.     {"C_Geography_5_repeat"             ,"Repeat Geography 5"},
  1222.     {"C_Music_1"                    ,"Music 1"},
  1223.     {"C_Music_2"            ,"Music 2"},
  1224.     {"C_Music_3"            ,"Music 3"},
  1225.     {"C_Music_4"            ,"Music 4"},
  1226.     {"C_Music_5"                ,"Music 5"},
  1227.     {"C_Music_5_repeat"             ,"Repeat Music 5"},
  1228.     {"C_Chem_1"                 ,"Chemistry 1"},
  1229.     {"C_Chem_2"         ,"Chemistry 2"},
  1230.     {"C_Chem_3"         ,"Chemistry 3"},
  1231.     {"C_Chem_4"         ,"Chemistry 4"},
  1232.     {"C_Chem_5"             ,"Chemistry 5"},
  1233.     {"C_Chem_5_repeat"              ,"Repeat Chemistry 5"},
  1234.     {215                ,"Lock Picking Class"},
  1235.     {212                ,"WebDriver Torso"}
  1236.   }
  1237.   cbs = {
  1238.     {"LawnMowing1a"             ,"L-Mowing 1 70%"},
  1239.     {"LawnMowing1b"             ,"L-Mowing 1 80%"},
  1240.     {"LawnMowing1c"             ,"L-Mowing 1 90%"},
  1241.     {"LawnMowing2a"             ,"L-Mowing 2 70%"},
  1242.     {"LawnMowing2b"             ,"L-Mowing 2 80%"},
  1243.     {"LawnMowing2c"             ,"L-Mowing 2 90%"},
  1244.     {"LawnMowing3a"             ,"L-Mowing 3 70%"},
  1245.     {"LawnMowing3b"             ,"L-Mowing 3 80%"},
  1246.     {"LawnMowing3c"             ,"L-Mowing 3 90%"},
  1247.     {208                ,"GoKart Street 1"},
  1248.     {209                ,"GoKart Street 2"},
  1249.     {210                ,"GoKart Street 3"},
  1250.     {255                ,"Snow 1"},
  1251.     {256                ,"Snow 2"},
  1252.     {257                ,"Snow 3"},
  1253.     {258                ,"Snow 4"},
  1254.     {259                ,"Snow 5"},
  1255.     {260                ,"Snow 6"},
  1256.     {203                ,"GoKart 1"},
  1257.     {204                ,"GoKart 2"},
  1258.     {205                ,"GoKart 3"},
  1259.     {206                ,"GoKart 4"},
  1260.     {207                ,"GoKart 5"},
  1261.     {15             ,"Training 1"},
  1262.     {16             ,"Training 2"},
  1263.     {17             ,"Training 3"},
  1264.     {18             ,"Training 4"},
  1265.     {19             ,"Training 5"},
  1266.     {199                ,"High Striker"},
  1267.     {200                ,"Strike Out"},
  1268.     {201                ,"Shooting Range"},
  1269.     {202                ,"Shoot"},
  1270.     {211                ,"Football Jugling"},
  1271.     {213                ,"Soccer Ball"},
  1272.     {50             ,"Bullworth Vale Race 1"},
  1273.     {51             ,"Bullworth Vale Race 2"},
  1274.     {52             ,"Bullworth Vale Race 3"},
  1275.     {53             ,"Bullworth Vale Race 4"},
  1276.     {54             ,"Bullworth Vale Race 5"},
  1277.     {55             ,"Bullworth Vale Race 6"},
  1278.     {56             ,"Bullworth Vale Race 7"},
  1279.     {57             ,"Bullworth Town Race 1"},
  1280.     {58             ,"Bullworth Town Race 2"},
  1281.     {59             ,"Bullworth Town Race 3"},
  1282.     {60             ,"Bullworth Town Race 4"},
  1283.     {61             ,"New Conventry Race 1"},
  1284.     {62             ,"New Conventry Race 2"},
  1285.     {63             ,"Bullworth Academy race"},
  1286.     {34             ,"Boxing 1"},
  1287.     {35             ,"Boxing 2"},
  1288.     {36             ,"Boxing 3"},
  1289.     {37             ,"Boxing 4"},
  1290.     {38             ,"Boxing 5"},
  1291.     {167                ,"Dodgeball 1"},
  1292.     {168                ,"Dodgeball 2"},
  1293.     {169                ,"Dodgeball 3"},
  1294.     {170                ,"Dodgeball 4"},
  1295.     {171                ,"Dodgeball 5"},
  1296.     {249                ,"L-Mowing Park 1"},
  1297.     {250                ,"L-Mowing Park 2"},
  1298.     {251                ,"L-Mowing Park 3"},
  1299.     {252                ,"L-Mowing House 1"},
  1300.     {253                ,"L-Mowing House 2"},
  1301.     {254                ,"L-Mowing House 3"},
  1302.     {217                ,"Monkey Fling"},
  1303.     {218                ,"Flying Squirrel"},
  1304.     {220                ,"Con Sumo"},
  1305.     {225                ,"Future Street Race"},
  1306.     {226                ,"Future Street Race 3D"},
  1307.     {214                ,"BMX Rumble"},
  1308.   }
  1309.   cvs = {
  1310.     {"1_01"                 ,"Welcome to Bullworth"},
  1311.     {"1_02B"            ,"This is your school"},
  1312.     {"1_03"         ,"The Setup"},
  1313.     {"1_E01"                ,"Petey Errand"},
  1314.     {"1_04"         ,"The Slingshot"},
  1315.     {"1_05"             ,"Save Algie"},
  1316.     {"1_07"             ,"Defend Bucky"},
  1317.     {"1_08"             ,"That Bitch"},
  1318.     {"1_G1"             ,"The Diary"},
  1319.     {"1_09"             ,"The Candidate"},
  1320.     {"1_11x1"           ,"Halloween"},
  1321.     {"1_11x2"           ,"The Big Prank"},
  1322.     {"1_10"             ,"Help Gary"},
  1323.     {"1_B"              ,"Russell in the hole"},
  1324.     {"2_S04"                    ,"Character Sheets"},
  1325.     {70             ,"Small Offences"},
  1326.     {"2_01"             ,"Last Minute Shopping"},
  1327.     {"2_02"             ,"Klepto Comic"},
  1328.     {"2_03"                 ,"The Eggs"},
  1329.     {"2_04"             ,"Race The Vale"},
  1330.     {"1_S01"                ,"Hattrick vs Galloway"},
  1331.     {"2_05"             ,"Tad House"},
  1332.     {"2_06"                 ,"Movie Tickets"},
  1333.     {"2_G2"             ,"Carnival Date"},
  1334.     {"2_07"             ,"Beach Rumble"},
  1335.     {"2_08"             ,"Weed Killer"},
  1336.     {"2_09"             ,"Boxing Challenge"},
  1337.     {"2_B"              ,"Dishonorable Fight"},
  1338.     {"2_S05"                ,"Cook's Crush"},
  1339.     {"2_S06"            ,"Panty Raid"},
  1340.     {"3_01"             ,"Jealous Johnny"},
  1341.     {"3_01A"                ,"Balls of snow"},
  1342.     {"3_01C"                ,"Nutcrackin"},
  1343.     {"3_01D"                ,"Rudy the Red Nosed Santa"},
  1344.     {"3_02"             ,"Bait"},
  1345.     {"2_S02"                ,"Glass House"},
  1346.     {"3_08"             ,"Christmas is here"},
  1347.     {"3_R05B"               ,"Discreet Deliveries"},
  1348.     {"3_S10"                ,"Tagging"},
  1349.     {"3_S11"                ,"Galloway Away"},
  1350.     {"3_XM"             ,"Miracle on Bullworth St"},
  1351.     {"3_G3"             ,"Lola Race"},
  1352.     {"3_05"             ,"The Tenements"},
  1353.     {"3_04"         ,"Wrong Part of Town"},
  1354.     {"3_06"             ,"The Rumble"},
  1355.     {"3_B"              ,"Fighting With Johnny"},
  1356.     {"4_02"             ,"Stronghold Assault"},
  1357.     {"3_S03"            ,"Cheating Time"},
  1358.     {"4_01"             ,"Paparazzi"},
  1359.     {"4_G4"                 ,"Discretion Assured"},
  1360.     {"4_03"             ,"Defender of the Castle"},
  1361.     {"4_03"             ,"Funhouse fun"},
  1362.     {"4_05"             ,"Nice Outfit"},
  1363.     {"4_S12"                ,"Here's to you Ms.Philips"},
  1364.     {"4_06"             ,"The Big Game"},
  1365.     {"5_09"             ,"Making a mark"},
  1366.     {"5_01"             ,"Rats in the library"},
  1367.     {"5_02"             ,"Preppies Vandalized"},
  1368.     {"5_04"             ,"The Gym Is Burning"},
  1369.     {"5_03"             ,"Finding Johnny Vincent"},
  1370.     {"5_05"             ,"Revenge on Mr.Button"},
  1371.     {"3_R07"                ,"The Collector"},
  1372.     {"3_S08"                ,"Mailbox Armageddon"},
  1373.     {"5_G5"             ,"Smash it up"},
  1374.     {"6_01"             ,"Go See The Principal"},
  1375.     {"5_06"             ,"Busting In Part 1"},
  1376.     {"5_07a"                ,"Busting In Part 2"},
  1377.     {"5_B"              ,"Showdown at the plant"},
  1378.     {"6_02"             ,"Complete Mayhem I"},
  1379.     {"6_03"             ,"Complete Mayhme II"},
  1380.     {"6_B"              ,"Final Showdown"},
  1381.     {64             ,"Prep Challenge"},
  1382.     {85         ,"Greaser Challenge"},
  1383.     {"3_R09_N"              ,"Nerd Challenge"},
  1384.     {97             ,"Jocks Challenge"},
  1385.     {111                ,"Townies Challenge"},
  1386.     {5              ,"Chapter 1"},
  1387.     {"Chapt1Trans"              ,"Chapter 2"},
  1388.     {"Chapt2Trans"              ,"Chapter 3"},
  1389.     {"Chapt3Trans"              ,"Chapter 4"},
  1390.     {"Chapt4Trans"              ,"Chapter 5"},
  1391.     {"Chapt5Trans"              ,"Chapter 6"},
  1392.   }
  1393.   cvbs = {
  1394.     "MS_MisbehavingLow.rsm",
  1395.     "EX_XmasTreeEmitter04.rsm",
  1396.     "MS_CarnivalFunhouseAmbient.rsm",
  1397.     "MS_Somower.rsm",
  1398.     "MS_RomanceHigh.rsm",
  1399.     "MS_MusicClass_Turkey.rsm",
  1400.     "MS_WIldstyleHigh.rsm",
  1401.     "ArcRaceMXmidi02SPLASHBED01.rsm",
  1402.     "MS_5-05_MeetZoe_NIS.rsm",
  1403.     "MS_RunningMid.rsm",
  1404.     "MS_Candidate.rsm",
  1405.     "MS_EpicConfrontationHighPart2.rsm",
  1406.     "ArcRaceMXmidi02SPLASH.rsm",
  1407.     "MS_EnglishClassEnd.rsm",
  1408.     "EX_BikeShopMX.rsm",
  1409.     "MS_FinalShowdown03Low.rsm",
  1410.     "ArcRaceMXmidi02SPLASHBED05.rsm",
  1411.     "MS_EpicConfrontationLow.rsm",
  1412.     "MS_StealthHigh.rsm",
  1413.     "E_TatooTrailerMX.rsm",
  1414.     "MS_FriendshipAllyHigh.rsm",
  1415.     "MS_OnFootFailure.rsm",
  1416.     "MS_MusicClass_Washing.rsm",
  1417.     "MS_CarnivalFunhouseMaze.rsm",
  1418.     "MS_BikeFunMid.rsm",
  1419.     "FIGHT01EndFade.rsm",
  1420.     "MS_RussellInTheHole.rsm",
  1421.     "MS_ChaseAdult.rsm",
  1422.     "MS_3-B_ENDTAG.rsm",
  1423.     "MS_ActionLow.rsm",
  1424.     "MS_MiniStingSuccess.rsm",
  1425.     "MS_Misbehaving_NISPrankInfo.rsm",
  1426.     "MS_StreetFightLargeLow_Boxing.rsm",
  1427.     "MS_XmasBellsRudylow.rsm",
  1428.     "MS_MusicClass_MasterP.rsm",
  1429.     "MS_FinalShowdownMid.rsm",
  1430.     "MS_Misbehaving_NISPrankSucess.rsm",
  1431.     "E_HQMX_Dropouts.rsm",
  1432.     "MS_TenementsLow.rsm",
  1433.     "MS_BikeDay.rsm",
  1434.     "MS_ActionMid.rsm",
  1435.     "FIGHT01EFade.rsm",
  1436.     "MS_InTroubleHigh.rsm",
  1437.     "MS_PhotographyClass.rsm",
  1438.     "MS_FinalShowdown03Mid.rsm",
  1439.     "MS_RunningHigh.rsm",
  1440.     "MS_XmasJingleMiracleMid.rsm",
  1441.     "EX_XmasTreeEmitter03.rsm",
  1442.     "MS_MusicClass_Carols01.rsm",
  1443.     "MS_TenementsHigh.rsm",
  1444.     "MS_XmasJingleMiracle.rsm",
  1445.     "MS_NerdFight.rsm",
  1446.     "MS_GoKart02.rsm",
  1447.     "MS_BiologyClass.rsm",
  1448.     "MS_EnglishClass.rsm",
  1449.     "MS_FootStealthLow.rsm",
  1450.     "ArcRaceMXmidi02Drive02.rsm",
  1451.     "FIGHT01D.rsm",
  1452.     "MS_XmasBellsRudyHigh.rsm",
  1453.     "MS_HalloweenMid.rsm",
  1454.     "E_HQMX_Jocks.rsm",
  1455.     "MS_Ambient01.rsm",
  1456.     "Arc_MonkeyFlingGame01.rsm",
  1457.     "MS_SearchingHigh.rsm",
  1458.     "MS_FightMid01.rsm",
  1459.     "ArcRaceMXmidi02SPLASHBED06.rsm",
  1460.     "MS_DestructionVandalismMid.rsm",
  1461.     "MS_BoxingBossFight.rsm",
  1462.     "MS_ShowdownAtThePlantLow.rsm",
  1463.     "MS_ActionHigh.rsm",
  1464.     "MS_BikeFailure.rsm",
  1465.     "E_HairSaloonPoorMX.rsm",
  1466.     "MS_SneakDate_Romantic.rsm",
  1467.     "MS_FightingNerds.rsm",
  1468.     "MS_Tired.rsm",
  1469.   }
  1470.   cws = {
  1471.     {model = "R_Jacket1"                ,style = 1},
  1472.     {model = "R_Jacket2"                ,style = 1},
  1473.     {model = "R_Jacket5"            ,style = 1},
  1474.     {model = "R_Sweater1"               ,style = 1},
  1475.     {model = "R_Sweater2"           ,style = 1},
  1476.     {model = "R_Sweater3"               ,style = 1},
  1477.     {model = "R_Sweater4"           ,style = 1},
  1478.     {model = "R_Sweater5"               ,style = 1},
  1479.     {model = "R_SSleeves1"          ,style = 1},
  1480.     {model = "R_SSleeves2"              ,style = 1},
  1481.     {model = "R_SSleeves4"              ,style = 1},
  1482.     {model = "R_SSleeves5"          ,style = 1},
  1483.     {model = "R_SSleeves6"              ,style = 1},
  1484.     {model = "R_LSleeves1"          ,style = 1},
  1485.     {model = "R_LSleeves2"              ,style = 1},
  1486.     {model = "R_LSleeves4"              ,style = 1},
  1487.     {model = "R_LSleeves5"          ,style = 1},
  1488.     {model = "R_Watch1"             ,style = 2},
  1489.     {model = "R_Watch2"             ,style = 2},
  1490.     {model = "R_Watch3"             ,style = 2},
  1491.     {model = "R_Watch4"         ,style = 2},
  1492.     {model = "R_Wristband1"             ,style = 3},
  1493.     {model = "R_Wristband2"             ,style = 3},
  1494.     {model = "R_Wristband3"             ,style = 3},
  1495.     {model = "R_Wristband4"         ,style = 3},
  1496.     {model = "R_Pants1"         ,style = 4},
  1497.     {model = "R_Pants2"         ,style = 4},
  1498.     {model = "R_Pants3"             ,style = 4},
  1499.     {model = "R_Pants4"             ,style = 4},
  1500.     {model = "R_Pants5"             ,style = 4},
  1501.     {model = "R_Shorts1"            ,style = 4},
  1502.     {model = "R_Shorts2"            ,style = 4},
  1503.     {model = "R_Shorts3"                ,style = 4},
  1504.     {model = "R_Shorts4"                ,style = 4},
  1505.     {model = "R_Shorts5"                ,style = 4},
  1506.     {model = "R_Sneakers1"              ,style = 5},
  1507.     {model = "R_Sneakers2"          ,style = 5},
  1508.     {model = "R_Sneakers3"              ,style = 5},
  1509.     {model = "R_Sneakers4"              ,style = 5},
  1510.     {model = "R_Sneakers5"              ,style = 5},
  1511.     {model = "R_Sneakers6"              ,style = 5},
  1512.     {model = "R_Boots1"             ,style = 5},
  1513.     {model = "R_Boots2"         ,style = 5},
  1514.     {model = "R_Boots3"             ,style = 5},
  1515.     {model = "R_Hat1"               ,style = 0},
  1516.     {model = "R_Hat2"               ,style = 0},
  1517.     {model = "R_Hat3"               ,style = 0},
  1518.     {model = "R_Hat4"           ,style = 0},
  1519.     {model = "R_Hat5"           ,style = 0},
  1520.     {model = "R_Hat6"               ,style = 0},
  1521.     {model = "R_TopHat"             ,style = 0},
  1522.     {model = "S_Jacket3"                ,style = 1},
  1523.     {model = "S_Jacket4"            ,style = 1},
  1524.     {model = "S_Sweater1"               ,style = 1},
  1525.     {model = "S_Sweater2"           ,style = 1},
  1526.     {model = "S_Sweater5"               ,style = 1},
  1527.     {model = "S_LSleeves1"          ,style = 1},
  1528.     {model = "S_LSleeves2"          ,style = 1},
  1529.     {model = "S_LSleeves3"              ,style = 1},
  1530.     {model = "S_LSleeves4"          ,style = 1},
  1531.     {model = "S_Wristband1"             ,style = 2},
  1532.     {model = "S_Wristband2"             ,style = 3},
  1533.     {model = "S_Wristband3"             ,style = 3},
  1534.     {model = "S_Wristband4"         ,style = 2},
  1535.     {model = "S_Wristband5"             ,style = 3},
  1536.     {model = "S_Wristband6"         ,style = 2},
  1537.     {model = "S_Pants1"         ,style = 4},
  1538.     {model = "S_Pants3"         ,style = 4},
  1539.     {model = "S_Shorts1"            ,style = 4},
  1540.     {model = "S_Shorts2"            ,style = 4},
  1541.     {model = "S_Shorts3"                ,style = 4},
  1542.     {model = "S_Shorts4"            ,style = 4},
  1543.     {model = "S_Shorts5"            ,style = 4},
  1544.     {model = "S_Shorts6"            ,style = 4},
  1545.     {model = "S_Sneakers1"              ,style = 5},
  1546.     {model = "S_Sneakers2"          ,style = 5},
  1547.     {model = "S_BHat1"              ,style = 0},
  1548.     {model = "S_BHat2"              ,style = 0},
  1549.     {model = "S_BHat3"              ,style = 0},
  1550.     {model = "S_Sunvisor1"              ,style = 0},
  1551.     {model = "S_Sunvisor2"              ,style = 0},
  1552.     {model = "S_Sunvisor3"              ,style = 0},
  1553.     {model = "P_Army1"              ,style = 0},
  1554.     {model = "P_Army2"              ,style = 0},
  1555.     {model = "P_Army3"          ,style = 0},
  1556.     {model = "P_Jacket1"                ,style = 1},
  1557.     {model = "P_Jacket2"                ,style = 1},
  1558.     {model = "P_Jacket3"            ,style = 1},
  1559.     {model = "P_Jacket4"                ,style = 1},
  1560.     {model = "P_Jacket5"            ,style = 1},
  1561.     {model = "P_Jacket6"                ,style = 1},
  1562.     {model = "P_Sweater1"               ,style = 1},
  1563.     {model = "P_Sweater2"               ,style = 1},
  1564.     {model = "P_Sweater3"           ,style = 1},
  1565.     {model = "P_Sweater4"               ,style = 1},
  1566.     {model = "P_Sweater5"           ,style = 1},
  1567.     {model = "P_Sweater6"               ,style = 1},
  1568.     {model = "P_Sweater7"           ,style = 1},
  1569.     {model = "P_Sweater8"               ,style = 1},
  1570.     {model = "P_SSleeves1"              ,style = 1},
  1571.     {model = "P_SSleeves2"              ,style = 1},
  1572.     {model = "P_SSleeves3"          ,style = 1},
  1573.     {model = "P_SSleeves4"              ,style = 1},
  1574.     {model = "P_SSleeves5"          ,style = 1},
  1575.     {model = "P_SSleeves6"              ,style = 1},
  1576.     {model = "P_SSleeves7"          ,style = 1},
  1577.     {model = "P_SSleeves8"              ,style = 1},
  1578.     {model = "P_SSleeves9"          ,style = 1},
  1579.     {model = "P_SSleeves10"         ,style = 1},
  1580.     {model = "P_SSleeves11"             ,style = 1},
  1581.     {model = "P_SSleeves12"             ,style = 1},
  1582.     {model = "P_SSleeves13"             ,style = 1},
  1583.     {model = "P_SSleeves14"             ,style = 1},
  1584.     {model = "P_SSleeves15"             ,style = 1},
  1585.     {model = "P_LSleeves1"              ,style = 1},
  1586.     {model = "P_LSleeves2"              ,style = 1},
  1587.     {model = "P_LSleeves3"          ,style = 1},
  1588.     {model = "P_LSleeves4"              ,style = 1},
  1589.     {model = "P_LSleeves5"          ,style = 1},
  1590.     {model = "P_LSleeves6"              ,style = 1},
  1591.     {model = "P_LSleeves7"          ,style = 1},
  1592.     {model = "P_LSleeves8"              ,style = 1},
  1593.     {model = "P_LSleeves9"          ,style = 1},
  1594.     {model = "P_LSleeves10"         ,style = 1},
  1595.     {model = "P_Watch1"             ,style = 2},
  1596.     {model = "P_Wristband1"             ,style = 3},
  1597.     {model = "P_Wristband2"             ,style = 3},
  1598.     {model = "P_Wristband3"             ,style = 3},
  1599.     {model = "P_Wristband4"         ,style = 3},
  1600.     {model = "P_Wristband5"             ,style = 3},
  1601.     {model = "P_Wristband6"         ,style = 3},
  1602.     {model = "P_Wristband7"             ,style = 3},
  1603.     {model = "P_Wristband8"         ,style = 3},
  1604.     {model = "P_Pants1"         ,style = 4},
  1605.     {model = "P_Pants2"         ,style = 4},
  1606.     {model = "P_Pants3"             ,style = 4},
  1607.     {model = "P_Pants4"             ,style = 4},
  1608.     {model = "P_Pants5"             ,style = 4},
  1609.     {model = "P_Pants6"             ,style = 4},
  1610.     {model = "P_Pants7"         ,style = 4},
  1611.     {model = "P_Sneakers1"              ,style = 5},
  1612.     {model = "P_Sneakers2"              ,style = 5},
  1613.     {model = "P_Sneakers3"          ,style = 5},
  1614.     {model = "P_Sneakers4"              ,style = 5},
  1615.     {model = "P_Sneakers5"          ,style = 5},
  1616.     {model = "P_Sneakers6"              ,style = 5},
  1617.     {model = "P_Sneakers7"          ,style = 5},
  1618.     {model = "P_Sneakers8"              ,style = 5},
  1619.     {model = "P_Sneakers9"          ,style = 5},
  1620.     {model = "P_Sneakers10"         ,style = 5},
  1621.     {model = "P_Sneakers11"             ,style = 5},
  1622.     {model = "P_Sneakers12"             ,style = 5},
  1623.     {model = "P_Sneakers13"             ,style = 5},
  1624.     {model = "P_Sneakers14"             ,style = 5},
  1625.     {model = "P_Sneakers15"         ,style = 5},
  1626.     {model = "P_Sneakers16"             ,style = 5},
  1627.     {model = "P_Sneakers17"             ,style = 5},
  1628.     {model = "P_Sneakers18"             ,style = 5},
  1629.     {model = "P_Sneakers19"         ,style = 5},
  1630.     {model = "P_Boots1"             ,style = 5},
  1631.     {model = "P_Boots2"             ,style = 5},
  1632.     {model = "P_Boots3"         ,style = 5},
  1633.     {model = "P_Boots4"             ,style = 5},
  1634.     {model = "P_BHat1"              ,style = 0},
  1635.     {model = "P_BHat2"              ,style = 0},
  1636.     {model = "P_BHat3"              ,style = 0},
  1637.     {model = "P_BHat4"          ,style = 0},
  1638.     {model = "P_BHat5"          ,style = 0},
  1639.     {model = "P_BHat6"              ,style = 0},
  1640.     {model = "P_Bandana1"           ,style = 0},
  1641.     {model = "P_Bandana2"           ,style = 0},
  1642.     {model = "P_Bandana3"               ,style = 0},
  1643.     {model = "B_Jacket1"                ,style = 1},
  1644.     {model = "B_Jacket2"                ,style = 1},
  1645.     {model = "B_Jacket3"            ,style = 1},
  1646.     {model = "B_Jacket6"                ,style = 1},
  1647.     {model = "B_Sweater2"               ,style = 1},
  1648.     {model = "B_Sweater3"               ,style = 1},
  1649.     {model = "B_Sweater4"           ,style = 1},
  1650.     {model = "B_SSleeves1"              ,style = 1},
  1651.     {model = "B_SSleeves2"              ,style = 1},
  1652.     {model = "B_SSleeves3"          ,style = 1},
  1653.     {model = "B_LSleeves2"              ,style = 1},
  1654.     {model = "B_LSleeves3"              ,style = 1},
  1655.     {model = "B_LSleeves4"          ,style = 1},
  1656.     {model = "B_Jersey1"                ,style = 1},
  1657.     {model = "B_Jersey3"                ,style = 1},
  1658.     {model = "B_Jersey4"            ,style = 1},
  1659.     {model = "B_Jersey5"                ,style = 1},
  1660.     {model = "B_Jersey6"            ,style = 1},
  1661.     {model = "B_Jersey7"                ,style = 1},
  1662.     {model = "B_Jersey8"            ,style = 1},
  1663.     {model = "B_Jersey9"                ,style = 1},
  1664.     {model = "B_Jersey10"           ,style = 1},
  1665.     {model = "B_BigWatch"               ,style = 2},
  1666.     {model = "B_Wristband1"             ,style = 3},
  1667.     {model = "B_Wristband2"             ,style = 3},
  1668.     {model = "B_Wristband3"             ,style = 3},
  1669.     {model = "B_Wristband4"         ,style = 3},
  1670.     {model = "B_Wristband5"             ,style = 3},
  1671.     {model = "B_Wristband6"         ,style = 3},
  1672.     {model = "B_Pants1"             ,style = 4},
  1673.     {model = "B_Pants2"             ,style = 4},
  1674.     {model = "B_Pants3"         ,style = 4},
  1675.     {model = "B_Pants4"             ,style = 4},
  1676.     {model = "B_Pants6"             ,style = 4},
  1677.     {model = "B_Pants7"             ,style = 4},
  1678.     {model = "B_Pants8"         ,style = 4},
  1679.     {model = "B_Shorts1"            ,style = 4},
  1680.     {model = "B_Shorts2"            ,style = 4},
  1681.     {model = "B_Shorts3"                ,style = 4},
  1682.     {model = "B_Shorts4"            ,style = 4},
  1683.     {model = "B_Shorts5"            ,style = 4},
  1684.     {model = "B_Shorts6"            ,style = 4},
  1685.     {model = "B_Shorts7"            ,style = 4},
  1686.     {model = "B_Sneakers1"              ,style = 5},
  1687.     {model = "B_Sneakers2"              ,style = 5},
  1688.     {model = "B_Sneakers3"          ,style = 5},
  1689.     {model = "B_Sneakers4"              ,style = 5},
  1690.     {model = "B_Sneakers5"          ,style = 5},
  1691.     {model = "B_Sneakers6"              ,style = 5},
  1692.     {model = "B_Sneakers8"              ,style = 5},
  1693.     {model = "B_Sneakers9"          ,style = 5},
  1694.     {model = "B_Sneakers10"         ,style = 5},
  1695.     {model = "B_Sneakers11"             ,style = 5},
  1696.     {model = "B_Sneakers12"             ,style = 5},
  1697.     {model = "B_Sneakers13"             ,style = 5},
  1698.     {model = "B_Boots1"             ,style = 5},
  1699.     {model = "B_Boots2"             ,style = 5},
  1700.     {model = "B_Boots3"         ,style = 5},
  1701.     {model = "B_Boots4"             ,style = 5},
  1702.     {model = "B_Boots5"         ,style = 5},
  1703.     {model = "B_BHat1"              ,style = 0},
  1704.     {model = "B_BHat2"              ,style = 0},
  1705.     {model = "B_BHat3"              ,style = 0},
  1706.     {model = "B_BHat4"          ,style = 0},
  1707.     {model = "B_BHat5"          ,style = 0},
  1708.     {model = "B_BHat6"              ,style = 0},
  1709.     {model = "B_Bucket1"                ,style = 0},
  1710.     {model = "B_Bucket2"            ,style = 0},
  1711.     {model = "B_Various1"               ,style = 0},
  1712.     {model = "B_Various2"           ,style = 0},
  1713.     {model = "B_Various3"               ,style = 0},
  1714.     {model = "B_Various4"               ,style = 0},
  1715.     {model = "B_Various5"               ,style = 0},
  1716.     {model = "B_Hunter1"                ,style = 0},
  1717.     {model = "B_Hunter2"            ,style = 0},
  1718.     {model = "B_Hunter3"            ,style = 0},
  1719.   }
  1720.   cwrs = {
  1721.     {"Underwear"                    ,"Underwear"},
  1722.     {"Starting"                 ,"Starting"},
  1723.     {"Uniform"                  ,"School Uniform"},
  1724.     {"Boxing"                   ,"Boxing (Complete)"},
  1725.     {"Boxing NG"                    ,"Boxing"},
  1726.     {"Wrestling"                ,"Wrestling Uniform"},
  1727.     {"Mascot"                   ,"Mascot"},
  1728.     {"MascotNoHead"                 ,"Mascot (No Head)"},
  1729.     {"Orderly"                  ,"Orderly Uniform"},
  1730.     {"Halloween"                    ,"Halloween"},
  1731.     {"PJ"                   ,"Pajamas"},
  1732.     {"Prison"                   ,"Prisoner"},
  1733.     {"Grotto Master"                ,"Grotto Master"},
  1734.     {"Gnome"                    ,"Gnome"},
  1735.     {"Fast Food"                    ,"Fast Food uniform"},
  1736.     {"Gold Suit"                    ,"Gold Suit"},
  1737.     {"BMX Champion"                 ,"BMX"},
  1738.     {"Gym Strip"                ,"Gym strip"},
  1739.     {"Ninja_BLK"                    ,"Black Ninja"},
  1740.     {"Ninja_WHT"                    ,"Green Ninja"},
  1741.     {"Ninja_RED"                    ,"Red Ninja"},
  1742.     {"Columbus"                 ,"Columbus"},
  1743.     {"Nutcracker"                   ,"Nutrackin"},
  1744.     {"Elf"                              ,"Elf"},
  1745.     {"Marching Band"                ,"Marching Band"},
  1746.     {"Nascar"                   ,"Nascar"},
  1747.     {"80 Rocker"                    ,"Rocker"},
  1748.     {"Panda"                    ,"Panda"},
  1749.     {"Alien"                    ,"Alien"},
  1750.     {"NerdJimmy"                ,"Nerd"}
  1751.   }
  1752.   cvts = {
  1753.     {"275"                  ,"1.Cop Bike"},
  1754.     {"276"          ,"2.Scooter"},
  1755.     {"277"          ,"3.Red BMX"},
  1756.     {"278"          ,"4.Blue BMX"},
  1757.     {"279"              ,"5.Bicycle"},
  1758.     {"280"              ,"6.Mountain Bike"},
  1759.     {"281"              ,"7.Old Bike"},
  1760.     {"282"              ,"8.Racer"},
  1761.     {"283"              ,"9.Aquaberry Bike"},
  1762.     {"284"          ,"10.Mower"},
  1763.     {"286"              ,"11.Taxi"},
  1764.     {"288"                  ,"12.Dozer"},
  1765.     {"289"              ,"13.Go Kart"},
  1766.     {"290"              ,"14.Limo"},
  1767.     {"291"                  ,"15.Delivery Truck"},
  1768.     {"292"              ,"16.Foreign Car"},
  1769.     {"293"              ,"17.Regular Car"},
  1770.     {"294"              ,"18.70 Wagon"},
  1771.     {"295"                  ,"19.Police Car"},
  1772.     {"296"              ,"20.Domestic Car"},
  1773.     {"297"              ,"21.Truck"},
  1774.     {"298"                  ,"22.Arcade 1"},
  1775.     {"287"              ,"22.Arcade 2"},
  1776.     {"285"              ,"23.Arcade 3"},
  1777.   }
  1778.   frs = {
  1779.     "B_Buzz",
  1780.     "B_Bald",
  1781.     "P_Fauhawk_01",
  1782.     "P_Fauhawk_02",
  1783.     "P_Fauhawk_03",
  1784.     "P_Fauhawk_04",
  1785.     "P_Mh_Flat_01",
  1786.     "P_Mh_Flat_02",
  1787.     "P_Mh_Flat_03",
  1788.     "P_Mh_Flat_04",
  1789.     "P_Mh_Spike_01",
  1790.     "P_Mh_Spike_02",
  1791.     "P_Mh_Spike_03",
  1792.     "P_Mh_Spike_04",
  1793.     "P_Spiky_01",
  1794.     "P_Spiky_02",
  1795.     "P_Spiky_03",
  1796.     "P_Spiky_04",
  1797.     "P_Taper_01",
  1798.     "P_Taper_02",
  1799.     "P_Taper_03",
  1800.     "P_Taper_04",
  1801.     "P_Details1_01",
  1802.     "P_Details1_02",
  1803.     "P_Details1_03",
  1804.     "P_Details1_04",
  1805.     "P_Details2_01",
  1806.     "P_Details2_02",
  1807.     "P_Details2_03",
  1808.     "P_Details2_04",
  1809.     "R_GoodBoy_01",
  1810.     "R_GoodBoy_02",
  1811.     "R_GoodBoy_03",
  1812.     "R_GoodBoy_04",
  1813.     "R_SSmart_01",
  1814.     "R_SSmart_02",
  1815.     "R_SSmart_03",
  1816.     "R_SSmart_04",
  1817.     "R_Hwood_01",
  1818.     "R_Hwood_02",
  1819.     "R_Hwood_03",
  1820.     "R_Hwood_04",
  1821.     "R_HThrob_01",
  1822.     "R_HThrob_02",
  1823.     "R_HThrob_03",
  1824.     "R_HThrob_04",
  1825.     "R_ILeague_01",
  1826.     "R_ILeague_02",
  1827.     "R_ILeague_03",
  1828.     "R_ILeague_04",
  1829.     "R_SShag_01",
  1830.     "R_SShag_02",
  1831.     "R_SShag_03",
  1832.     "R_SShag_04",
  1833.     "B_Caesar_01",
  1834.     "B_Caesar_02",
  1835.     "B_Caesar_03",
  1836.     "B_Caesar_04",
  1837.     "B_CrewCut_01",
  1838.     "B_CrewCut_02",
  1839.     "B_CrewCut_03",
  1840.     "B_CrewCut_04",
  1841.     "B_FlatTop_01",
  1842.     "B_FlatTop_02",
  1843.     "B_FlatTop_03",
  1844.     "B_FlatTop_04",
  1845.     "B_MFade_01",
  1846.     "B_MFade_02",
  1847.     "B_MFade_03",
  1848.     "B_MFade_04",
  1849.   }
  1850. end
  1851.  
  1852. size = table.getn
  1853.  
  1854. function S_NewMenuSystem()
  1855.   NewSetupATZ = {}
  1856.   local NS = NewSetupATZ
  1857.   table.insert(NS,{"MODEL",ATZ_Model})
  1858.   table.insert(NS,{"STYLE",ATZ_Style})
  1859.   table.insert(NS,{"WEATHER",ATZ_Weather})
  1860.   table.insert(NS,{"CHAPTER",ATZ_Chapter})
  1861.   table.insert(NS,{"TIME",ATZ_Time})
  1862.   table.insert(NS,{"WEAPON",ATZ_Weapon})
  1863.   table.insert(NS,{"RESPECT",ATZ_Respect})
  1864.   table.insert(NS,{"MISSION",ATZ_Mission})
  1865.   table.insert(NS,{"MINI GAME",ATZ_MGame})
  1866.   table.insert(NS,{"CLASS",ATZ_Class})
  1867.   table.insert(NS,{"GRADE",ATZ_Grade})
  1868.   table.insert(NS,{"VEHICLE",ATZ_Vehicle})
  1869.   table.insert(NS,{"MUSIC",ATZ_Music})
  1870.   table.insert(NS,{"ANIMATION",ATZ_Anim})
  1871.   table.insert(NS,{"STRAFE",ATZ_Strafe})
  1872.   table.insert(NS,{"SPEED",ATZ_Speed})
  1873.   table.insert(NS,{"OUTFIT",ATZ_Outfit})
  1874.   table.insert(NS,{"CLOTHES",ATZ_Clothes})
  1875.   table.insert(NS,{"HAIRCUT",ATZ_Hair})
  1876.   table.insert(NS,{"AREA",ATZ_Area})
  1877.   table.insert(NS,{"PED",ATZ_Ped})
  1878.   table.insert(NS,{"PROP ",ATZ_Prop})
  1879.   table.insert(NS,{"HEALTH",ATZ_Health})
  1880.   table.insert(NS,{"PUNISHMENT",ATZ_Punishment})
  1881.   table.insert(NS,{"PICKUP",ATZ_Pickups})
  1882.   table.insert(NS,{"MONEY",ATZ_Money})
  1883.   table.insert(NS,{"EFFECT",ATZ_Effect})
  1884.   table.insert(NS,{"SPEECH",ATZ_Speech})
  1885.   table.insert(NS,{"CUTSCENE",ATZ_Cuts})
  1886.   table.insert(NS,{"ITEM",ATZ_Items})
  1887.   table.insert(NS,{"FACTION",ATZ_Factions})
  1888.   table.insert(NS,{"OTHERS MOD",ATZ_Another})
  1889.   table.insert(NS,{"CONFIGURATIONS",ATZ_Config})
  1890.   table.insert(NS,{"RESTART MOD",F_main})
  1891. end
  1892.  
  1893. function S_SetupTable() -- Menu Tables
  1894.   select = 1
  1895.   SetupATZ = {}
  1896.   table.insert(SetupATZ,{"1.MODEL SELECTOR",ATZ_Model})
  1897.   table.insert(SetupATZ,{"2.STYLE SELECTOR",ATZ_Style})
  1898.   table.insert(SetupATZ,{"3.WEATHER SELECTOR",ATZ_Weather})
  1899.   table.insert(SetupATZ,{"4.CHAPTER SELECTOR",ATZ_Chapter})
  1900.   table.insert(SetupATZ,{"5.TIME SELECTOR",ATZ_Time})
  1901.   table.insert(SetupATZ,{"6.WEAPON SELECTOR",ATZ_Weapon})
  1902.   table.insert(SetupATZ,{"7.RESPECT SELECTOR",ATZ_Respect})
  1903.   table.insert(SetupATZ,{"8.MISSION SELECTOR",ATZ_Mission})
  1904.   table.insert(SetupATZ,{"9.M-GAME SELECTOR",ATZ_MGame})
  1905.   table.insert(SetupATZ,{"10.CLASS SELECTOR",ATZ_Class})
  1906.   table.insert(SetupATZ,{"11.GRADE SELECTOR",ATZ_Grade})
  1907.   table.insert(SetupATZ,{"12.VEHICLE SELECTOR",ATZ_Vehicle})
  1908.   table.insert(SetupATZ,{"13.MUSIC SELECTOR",ATZ_Music})
  1909.   table.insert(SetupATZ,{"14.ANIM SELECTOR",ATZ_Anim})
  1910.   table.insert(SetupATZ,{"15.STRAFE SELECTOR",ATZ_Strafe})
  1911.   table.insert(SetupATZ,{"16.SPEED SELECTOR",ATZ_Speed})
  1912.   table.insert(SetupATZ,{"17.OUTFIT SELECTOR",ATZ_Outfit})
  1913.   table.insert(SetupATZ,{"18.CLOTHES SELECTOR",ATZ_Clothes})
  1914.   table.insert(SetupATZ,{"19.HAIR SELECTOR",ATZ_Hair})
  1915.   table.insert(SetupATZ,{"20.AREA SELECTOR",ATZ_Area})
  1916.   table.insert(SetupATZ,{"21.PED SELECTOR",ATZ_Ped})
  1917.   table.insert(SetupATZ,{"22.PROP SELECTOR",ATZ_Prop})
  1918.   table.insert(SetupATZ,{"23.HEALTH SELECTOR",ATZ_Health})
  1919.   table.insert(SetupATZ,{"24.PUNISHMENT SELECTOR",ATZ_Punishment})
  1920.   table.insert(SetupATZ,{"25.PICKUP SELECTOR",ATZ_Pickups})
  1921.   table.insert(SetupATZ,{"26.MONEY SELECTOR",ATZ_Money})
  1922.   table.insert(SetupATZ,{"27.EFFECT SELECTOR",ATZ_Effect})
  1923.   table.insert(SetupATZ,{"28.SPEECH SELECTOR",ATZ_Speech})
  1924.   table.insert(SetupATZ,{"29.CUTS SELECTOR",ATZ_Cuts})
  1925.   table.insert(SetupATZ,{"30.ITEM SELECTOR",ATZ_Items})
  1926.   table.insert(SetupATZ,{"31.FACTION SELECTOR",ATZ_Factions})
  1927.   table.insert(SetupATZ,{"OTHERS MOD",ATZ_Another})
  1928.   table.insert(SetupATZ,{"CONFIGURATIONS",ATZ_Config})
  1929.   table.insert(SetupATZ,{"RESTART MOD",F_main})
  1930. end
  1931.  
  1932. function S_ClassEditor()
  1933.   classEditor = {
  1934.     {"1.MATH Class Timer",MCT},
  1935.     {"2.BIO Class Timer",BCT},
  1936.     {"3.ENG Class Timer",ECT},
  1937.     {"4.GEO Class Timer",GCT},
  1938.     {"5.ART Brush Speed",ACPS},
  1939.     {"6.ART Enemy Speed",ACME},
  1940.     {"7.ART Exploder TimeOut",AET},
  1941.     {"8.ART Exploder Debris",AED},
  1942.     {"9.ART PwUp Clear Radius",ACR},
  1943.   }
  1944. end
  1945.  
  1946. function S_SetupVehicleFinder()
  1947.   vfs = {
  1948.     {"275"                  ,"1.Cop Bike"},
  1949.     {"276"          ,"2.Scooter"},
  1950.     {"277"          ,"3.Red BMX"},
  1951.     {"278"          ,"4.Blue BMX"},
  1952.     {"279"              ,"5.Bicycle"},
  1953.     {"280"              ,"6.Mountain Bike"},
  1954.     {"281"              ,"7.Old Bike"},
  1955.     {"282"              ,"8.Racer"},
  1956.     {"283"              ,"9.Aquaberry Bike"},
  1957.     {"284"          ,"10.Mower"},
  1958.     {"286"              ,"11.Taxi"},
  1959.     {"288"                  ,"12.Dozer"},
  1960.     {"289"              ,"13.Go Kart"},
  1961.     {"290"              ,"14.Limo"},
  1962.     {"291"                  ,"15.Delivery Truck"},
  1963.     {"292"              ,"16.Foreign Car"},
  1964.     {"293"              ,"17.Regular Car"},
  1965.     {"294"              ,"18.70 Wagon"},
  1966.     {"295"                  ,"19.Police Car"},
  1967.     {"296"              ,"20.Domestic Car"},
  1968.     {"297"              ,"21.Truck"},
  1969.     {"298"                  ,"22.Arcade 1"},
  1970.     {"287"              ,"22.Arcade 2"},
  1971.     {"285"              ,"23.Arcade 3"},
  1972.   }
  1973. end
  1974.  
  1975. function S_SetupItem()
  1976.   its = {
  1977.     {475                    ,"1.Flower"},
  1978.     {478            ,"2.Choc Box"},
  1979.     {479            ,"3.Admis Ticket"},
  1980.     {480            ,"4.HEM-O Key Card"},
  1981.     {494                ,"5.Tad House Key"},
  1982.     {510                ,"6.Orderly Uniform"},
  1983.     {515                ,"7.Panties"},
  1984.     {521                ,"8.Package"},
  1985.     {523                ,"9.Crab"},
  1986.     {524            ,"10.Algie Jacket"},
  1987.     {526                ,"11.Photos"},
  1988.     {493                ,"12.Harrington House Key"},
  1989.     {488                    ,"13.Lab Notes"},
  1990.     {477                ,"14.Paper Stack"},
  1991.     {476                ,"15.Radio"},
  1992.     {474                    ,"15.G&G Card"},
  1993.     {500                ,"16.Rubber Band"},
  1994.     {487                ,"17.Bolt Cutter"},
  1995.     {483                ,"18.Beatrice Diary"},
  1996.     {490                ,"19.Perfume"},
  1997.     {522                ,"20.Drug Bottle"},
  1998.     {492                ,"21.Sex Dress"},
  1999.   }
  2000. end
  2001.  
  2002. function S_SetupCutscene()
  2003.   cuts = {
  2004. "1-01", -- UN-USED
  2005. "1-02",
  2006. "1-02B",
  2007. --"1-02C",
  2008. "1-02D",
  2009. "1-02E",
  2010. "1-03",
  2011. "1-04",
  2012. "1-05",
  2013. "1-06",
  2014. "1-06B",
  2015. "1-07",
  2016. "1-08",
  2017. --"1-08B",
  2018. "1-09",
  2019. --"1-09B",
  2020. --"1-1",
  2021. "1-10",
  2022. --"1-1-02",
  2023. "1-1-1",
  2024. "1-11",
  2025. "1-1-2",
  2026. "1-B",
  2027. "1-BB",
  2028. "1-BC",
  2029. "1-G1",
  2030. "1-S01",
  2031. "2-0",
  2032. "2-01",
  2033. "2-02",
  2034. "2-03",
  2035. --"2-03B",
  2036. "2-04",
  2037. --"2-04B",
  2038. "2-05",
  2039. "2-06",
  2040. "2-07",
  2041. "2-08",
  2042. "2-09",
  2043. --"2-09A",
  2044. "2-09B",
  2045. "2-B",
  2046. "2-BB",
  2047. "2-G2",
  2048. "2-S02",
  2049. "2-S04",
  2050. "2-S05",
  2051. "2-S05",
  2052. --"2-S0B",
  2053. --"2-S0C",
  2054. "2-S06",
  2055. "2-S07",
  2056. "3-0",
  2057. "3-01",
  2058. "3-01AA",
  2059. "3-01AB",
  2060. "3-01BA",
  2061. --"3-01BB",
  2062. "3-01CA",
  2063. "3-01CB",
  2064. "3-01DA",
  2065. "3-01DB",
  2066. "3-01DC",
  2067. "3-02",
  2068. "3-03",
  2069. "3-04",
  2070. "3-04B",
  2071. "3-05",
  2072. "3-06",
  2073. "3-B",
  2074. "3-BB",
  2075. "3-BC", -- UN-USED
  2076. "3-BD",
  2077. "3-G3",
  2078. --"3-R05",
  2079. "3-R05A",
  2080. "3-R05B",
  2081. "3-R07",
  2082. "3-S03",
  2083. "3-S08",
  2084. "3-S10",
  2085. "3-S11",
  2086. "3-S11C",
  2087. "4-0",
  2088. "4-01",
  2089. "4-02",
  2090. "4-03",
  2091. "4-04",
  2092. "4-05",
  2093. "4-06",
  2094. "4-B1",
  2095. "4-B1B", -- UN-USED
  2096. "4-B1C", -- UN-USED
  2097. --"4-B1C2",
  2098. "4-B1D",
  2099. "4-B2",
  2100. "4-B2B",
  2101. "4-G4",
  2102. --"4-S11",
  2103. "4-S12",
  2104. "4-S12B",
  2105. "5-0",
  2106. "5-01",
  2107. "5-02",
  2108. "5-02B",
  2109. "5-03",
  2110. "5-04",
  2111. "5-05",
  2112. "5-05B",
  2113. "5-06",
  2114. "5-07",
  2115. "5-09",
  2116. "5-09B",
  2117. "5-B", -- UN-USED
  2118. "5-BC",
  2119. "5-G5",
  2120. "6-0",
  2121. "6-02",
  2122. "6-02B", -- UN-USED
  2123. "6-B",
  2124. --"6-B2",
  2125. "6-BB",
  2126. "6-BC",
  2127.   }
  2128. end
  2129.  
  2130. function S_SetupProp()
  2131.   xfs = {
  2132.     "Armor",
  2133.     "PortaPoo",
  2134.     "DPE_Fraffy",
  2135.     "DPE_Snowman",
  2136.     "GarbCanA",
  2137.     "DPE_Rubble",
  2138.     "WPCannon",
  2139.     "DPE_GnomeA",
  2140.     "BarrGate",
  2141.     "DPE_Dumpster",
  2142.     "DPE_BenchA",
  2143.     "DPE_BenchB",
  2144.     "DPE_BenchC",
  2145.     "DPE_BSign",
  2146.     "DPE_BSignB",
  2147.     "DPE_BTable",
  2148.     "DPE_BusStop",
  2149.     "DPE_FlowersA",
  2150.     "DPE_FlowersB",
  2151.     "DPE_GarbStuffB",
  2152.     "FortTell",
  2153.     "pxArc3DS",
  2154.     "ScGate",
  2155.     "FGhost",
  2156.     "AniGlobe",
  2157.     "PaperStack",
  2158.     "sc_HalloweenSkel",
  2159.     "Ferris",
  2160.     "BU_Dozer",
  2161.     "Chapter3Baracade",
  2162.     "Chapter5Baracade",
  2163.     "InBaracadeBarge",
  2164.     "inBarricade01",
  2165.     "inBarricade02",
  2166.     "scBaracadeFence01",
  2167.     "bs_BarricadeTree",
  2168.     "bu_ContainerA13",
  2169.     "CA1b_walls05",
  2170.     "Coaster",
  2171.     "Scaffold",
  2172.     "Squid",
  2173.   }
  2174. end
  2175.  
  2176. function S_Stats()
  2177.   pgo = {
  2178.     {"7","Yelling"},
  2179.     {"16","Sprint Metter"},
  2180.     {"12","Block freq"},
  2181.     {"13","Evade freq"},
  2182.     {"8","Attack freq"},
  2183.     {"14","Aggresion"},
  2184.     {"18","Combat Zone"},
  2185.     {"31","Damage Scale"},
  2186.     {"5","Health regen"},
  2187.   }
  2188. end
  2189.  
  2190. function S_SetupMovement()
  2191.   smo = {
  2192.     "DEFAULT",
  2193.     "B_Striker_A",
  2194.     "Authority",
  2195.     "LE_Orderly_A",
  2196.     "BOSS_Darby",
  2197.     "BOSS_Russell",
  2198.     "Crazy_Basic",
  2199.     "CV_Drunk",
  2200.     "CV_Female_A",
  2201.     "CV_Male_A",
  2202.     "CV_OLD",
  2203.     "DO_Edgar",
  2204.     "DO_Striker_A",
  2205.     "DO_Melee_A",
  2206.     "DO_Grappler_A",
  2207.     "G_Johnny",
  2208.     "G_Striker_A",
  2209.     "G_Melee_A",
  2210.     "G_Ranged_A",
  2211.     "G_Grappler_A",
  2212.     "GS_Fat_A",
  2213.     "GS_Female_A",
  2214.     "GS_Male_A",
  2215.     "J_Ted",
  2216.     "J_Damon",
  2217.     "J_Striker_A",
  2218.     "J_Melee_A",
  2219.     "J_Grappler_A",
  2220.     "J_Mascot",
  2221.     "N_Earnest",
  2222.     "N_Striker_A",
  2223.     "N_Striker_B",
  2224.     "N_Ranged_A",
  2225.     "Nemesis",
  2226.     "P_Bif",
  2227.     "P_Striker_A",
  2228.     "P_Striker_B",
  2229.     "P_Grappler_A",
  2230.     "Russell_102",
  2231.     "TE_Female_A",
  2232.     "TE_Secretary",
  2233.   }
  2234. end
  2235.  
  2236. function S_Settings() -- Configuration menu
  2237.   SettingSelect = 1
  2238.   SettingATZ = {
  2239.     "1.Target Select",
  2240.     "2.Freeze Time",
  2241.     "3.Infinite Health",
  2242.     "4.No Punishment",
  2243.     "5.Infinite Ammo",
  2244.     "6.Infinite Money",
  2245.     "7.Instant Kill",
  2246.     "8.Delete All Peds",
  2247.     "9.Knockout",
  2248.     "10.Gravity Player",
  2249.     "11.Invisibility",
  2250.     "12.Infinite Timer",
  2251.     "13.Collectible HUD",
  2252.     "14.Infinite Tickets",
  2253.     "15.Game Speed Effect",
  2254.     "16.Girlfriends",
  2255.     "17.Boyfriends",
  2256.     "18.Control Player",
  2257.     "19.Show Navigate Text",
  2258.     "20.Main Menu style",
  2259.     "21.Hiding Menu",
  2260.     "22.Fix Broken Model",
  2261.     "23.Skip Cutscene",
  2262.   }
  2263. end
  2264.  
  2265. function HidingMenuSetup()
  2266.   menu = {
  2267.     "MANUAL",
  2268.     "AUTO"
  2269.   }
  2270. end
  2271.  
  2272. function S_SetupStrafe()
  2273.   sts = {
  2274.     {"Player Uppercut","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/HeavyAttacks","act/anim/Player.act"},
  2275.     {"Player Leg Kick","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax","act/anim/Player.act"},
  2276.     {"Player Jackie Kick","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Unblockable/JackieKick","act/anim/Player.act"},
  2277.     {"Player Roundhouse Kick","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/Unblockable/HighKick","act/anim/Player.act"},
  2278.     {"Player Overhead Punch","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/Unblockable","act/anim/Player.act"},
  2279.     {"Player Ground Kick","/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick","act/anim/Player.act"},
  2280.     {"Player JAB","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/JAB","act/anim/Player.act"},
  2281.     {"Player Cross","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross","act/anim/Player.act"},
  2282.     {"Player Hook","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook","act/anim/Player.act"},
  2283.     {"Player Gut Punch","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch","act/anim/Player.act"},
  2284.     {"Player Last Uppercut","/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut","act/anim/Player.act"},
  2285.     {"BOSS_Darby 6 Hit + Finisher","/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw","Act/Anim/BOSS_Darby.act"},
  2286.     {"BOSS_Darby Unblockable","/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge/HeavyPunch","act/anim/BOSS_Darby.act"},
  2287.     {"BOSS_Darby Hopback","/Global/BOSS_Darby/Offense/NonCombatActions/Hopback","Act/Anim/BOSS_Darby.act"},
  2288.     {"BOSS_Darby Left JAB","/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftJab","Act/Anim/BOSS_Darby.act"},
  2289.     {"BOSS_Darby Left Hook","/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftHook","Act/Anim/BOSS_Darby.act"},
  2290.     {"BOSS_Darby Duck Evade","/Global/BOSS_Darby/Defense/Short/Evade/EvadeDuck","act/anim/BOSS_Darby.act"},
  2291.     {"BOSS_Darby Right Evade","/Global/BOSS_Darby/Defense/Short/Evade/EvadeRight","act/anim/BOSS_Darby.act"},
  2292.     {"BOSS_Darby Left Evade","/Global/BOSS_Darby/Defense/Short/Evade/EvadeLeft","act/anim/BOSS_Darby.act"},
  2293.     {"BOSS_Darby Duck Evade Counter","/Global/BOSS_Darby/Defense/Evade/EvadeDuck/HeavyAttacks/EvadeDuckPunch","act/anim/BOSS_Darby.act"},
  2294.     {"BOSS_Darby Right Evade Counter","/Global/BOSS_Darby/Defense/Evade/EvadeLeft/HeavyAttacks/EvadeRightPunch","act/anim/BOSS_Darby.act"},
  2295.     {"BOSS_Darby Left Evade Counter","/Global/BOSS_Darby/Defense/Evade/EvadeRight/HeavyAttacks/EvadeLeftPunch","act/anim/BOSS_Darby.act"},
  2296.     {"BOSS_Darby Block","/Global/BOSS_Darby/Defense/Block/Block/BlockHits","act/anim/BOSS_Darby.act"},
  2297.     {"BOSS_Darby 3 Evades + Counter","/Global/BOSS_Darby/Defense","act/anim/BOSS_Darby.act"},
  2298.     {"BOSS_Darby Block Hits","/Global/BOSS_Darby/Offense/Short/Strikes/HeavyAttacks/Unblockable/HeavyPunchCharge/SuperUppercut/StraightPunch/Actions/Lid_Blocks/BlockHits", "Act/Anim/BOSS_Darby.act"},
  2299.     {"BOSS_Darby Chase Uppercut","/Global/BOSS_Darby/Offense/Special/Dash/Dash/Uppercut/ShortDarby","act/anim/BOSS_Darby.act"},
  2300.     {"BOSS Russell Overhand","/Global/BOSS_Russell/Offense/Short/Strikes/LightAttacks/OverHand","act/anim/BOSS_Russell.act"},
  2301.     {"BOSS Russell Ground Stomp","/Global/BOSS_Russell/Offense/GroundAttack/GroundStomp1","act/anim/BOSS_Russell.act"},
  2302.     {"BOSS Russell Power Bomb","/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb","Globals/BOSS_Russell.act"},
  2303.     {"BOSS Russell Barserk Grapple","/Global/BOSS_Russell/Offense/Special/Invincible/BarserkGrapple","act/anim/BOSS_Russell.act"},
  2304.     {"BOSS Russell Double Axe Handle","/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle", "act/anim/BOSS_Russell.act"},
  2305.     {"BOXING Duck Evade","/Global/BoxingPlayer/EvadeBank/Evades/Duck","act/anim/BoxingPlayer.act"},
  2306.     {"BOXING Left Evade","/Global/BoxingPlayer/EvadeBank/Evades/Left","act/anim/BoxingPlayer.act"},
  2307.     {"BOXING Right Evade","/Global/BoxingPlayer/EvadeBank/Evades/Right","act/anim/BoxingPlayer.act"},
  2308.     {"BOXING Duck Evade Counter","/Global/BoxingPlayer/EvadeBank/Evades/EvadeAttacks/BackCharge","act/anim/BoxingPlayer.act"},
  2309.     {"G_Grappler_A Right Hook","/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook","Globals/G_Grappler_A.act"},
  2310.     {"G_Grappler_A BearHug","/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BearHug","Globals/G_Grappler_A.act"},
  2311.     {"G_Grappler_A Boot kick","/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/BootKick","act/anim/G_Grappler_A.act"},
  2312.     {"G_Johnny Haymaker","/Global/G_Johnny/Offense/Special/SpecialActions/Grapples/Dash","Act/Anim/G_Johnny.act"},
  2313.     {"G_Johnny Combo","/Global/G_Johnny/Offense","Act/Anim/G_Johnny.act"},
  2314.     {"G_Johnny Special Haymaker","/Global/G_Johnny/Cinematic/ThroatGrab","act/anim/G_Johnny.act"},
  2315.     {"G_Johnny Grabknees","/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick/Grabknees/GV","act/anim/G_Johnny.act"},
  2316.     {"G_Melee_A Right Hook","/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook", "act/anim/G_Melee_A.act"},
  2317.     {"G_Melee_A Left Hook","/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook","act/anim/G_Melee_A.act"},
  2318.     {"G_Melee_A Finisher","/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach","act/anim/G_Melee_A.act"},
  2319.     {"G_Melee_A Groundpunch","/Global/G_Melee_A/Offense/GroundAttack/GroundPunch","act/anim/G_Melee_A.act"},
  2320.     {"G_Melee_A Grabknees","/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/GrabKnees/GV","Globals/G_Melee_A.act"},
  2321.     {"G_Melee_A Dash Punch Taunt","/Global/G_Melee_A/Offense/Taunts/Taunt_B","act/anim/G_Melee_A.act"},
  2322.     {"G_Melee_A Inverted Roundhouse","/Global/G_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Melee_A.act"},
  2323.     {"G_Striker_A Right Hook","/Global/G_Striker_A/Offense/Short/Strikes/LightAttacks/RightHook","act/anim/G_Striker_A.act"},
  2324.     {"G_Striker_A Left Hook","/Global/G_Striker_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook","act/anim/G_Striker_A.act"},
  2325.     {"G_Striker_A Right Hook 2","/Global/G_Striker_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightHook","act/anim/G_Striker_A.act"},
  2326.     {"G_Striker_A Groundpunch","/Global/G_Striker_A/Offense/GroundAttack/GroundPunch","Act/Anim/G_Striker_A.act"},
  2327.     {"G_Striker_A Kick Thrust","/Global/G_Striker_A/Offense/Medium/Strikes/HeavyAttack/KickThrust","Act/Anim/G_Striker_A.act"},
  2328.     {"G_Striker_A Rissing Attacks","/Global/Actions/RisingAttacks/HeavyAttacks/RisingAttacks","Globals/G_Striker_A.act"},
  2329.     {"G_Striker_A Grabknees","/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick/GrabKnees","act/anim/G_Striker_A.act"},
  2330.     {"G_Striker_A Heavy Knee","/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKnee","Act/Anim/G_Striker_A.act"},
  2331.     {"G_Striker_A 3 Punch Taunt","/Global/G_Striker_A/Offense/Taunts/Taunt_A","act/anim/G_Striker_A.act"},
  2332.     {"G_Striker_A Hop Kick taunt","/Global/G_Striker_A/Offense/Taunts/Taunt_B","act/anim/G_Striker_A.act"},
  2333.     {"J_Grappler_A Back Breaker","/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BackBreaker","Globals/J_Grappler_A.act"},
  2334.     {"J_Grappler_A Body Slam","/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam","Globals/J_Grappler_A.act"},
  2335.     {"J_Damon Throwing Ped","/Global/J_Damon/Offense/Medium/Grapples/GrapplesAttempt/TakeDown","act/anim/J_Damon.act"},
  2336.     {"J_Damon Running Grab","/Global/J_Damon/Offense/SpecialStart/StartRun","act/anim/J_Damon.act"},
  2337.     {"Nemesis Left Hook","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook","Act/Anim/Nemesis.act"},
  2338.     {"Nemesis Right Cross","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross","Act/Anim/Nemesis.act"},
  2339.     {"Nemesis Heavy Attacks","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks","Act/Anim/Nemesis.act"},
  2340.     {"Nemesis Heavy Punch","/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch1","Act/Anim/Nemesis.act"},
  2341.     {"Nemesis JAB","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB", "Act/Anim/Nemesis.act"},
  2342.     {"Nemesis Super Uppercut","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut", "Act/Anim/Nemesis.act"},
  2343.     {"Nemesis Knee","/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut/Knee", "Act/Anim/Nemesis.act"},
  2344.     {"Nemesis Light Attacks","/Global/Nemesis/Offense/Short/Strikes/LightAttacks","Act/Anim/Nemesis.act"},
  2345.     {"Nemesis Gut kick","/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act"},
  2346.     {"Nemesis Rooftop Grab","/Global/Nemesis/Special/GarySpecialGrapple","Act/Anim/Nemesis.act"},
  2347.     {"Nemesis 3 Weak Punch","/Global/Nemesis/Offense/Short/Strikes/ShortAttacks" ,"Act/Anim/Nemesis.act"},
  2348.     {"Nemesis Gut punch + knee","/Global/Nemesis/Offense/Medium/Strikes/ShortAttacks" ,"Act/Anim/Nemesis.act"},
  2349.   }
  2350. end
  2351.  
  2352. function S_SetupAnim()
  2353.   bns = {
  2354.     {"Reset Animation","/Global","Act/Globals.act"},
  2355.     {"Punch hands","/Global/1_01/PunchHands","Act/Conv/1_01.act"},
  2356.     {"Short idle","/Global/1_01/ShortIdle","Act/Conv/1_01.act"},
  2357.     {"Talking (1_01)","/Global/1_01/Talking","Act/Conv/1_01.act"},
  2358.     {"Wave to sec","/Global/1_01/WaveToSec","Act/Conv/1_01.act"},
  2359.     {"Idle Fight","/Global/1_02/IdleFight/SimpleIdle","Act/Conv/1_02.act"},
  2360.     {"Meet Russell 1","/Global/1_02/NIS/MeetRussell/Bullies/Bullies","Act/Conv/1_02.act"},
  2361.     {"Hattrick","/Global/1_02/NIS/MeetRussell/Hattrick/BLANK","Act/Conv/1_02.act"},
  2362.     {"Hattrick 01","/Global/1_02/NIS/MeetRussell/Hattrick/Hattrick01","Act/Conv/1_02.act"},
  2363.     {"Jimmy 01","/Global/1_02/NIS/MeetRussell/Jimmy/Jimmy01","Act/Conv/1_02.act"},
  2364.     {"Jimmy 02","/Global/1_02/NIS/MeetRussell/Jimmy/Jimmy02","Act/Conv/1_02.act"},
  2365.     {"Russell 01","/Global/1_02/NIS/MeetRussell/Russell/Russell01","Act/Conv/1_02.act"},
  2366.     {"Russell 02","/Global/1_02/NIS/MeetRussell/Russell/Russell02","Act/Conv/1_02.act"},
  2367.     {"Player Bullies","/Global/1_02/NIS/PLAYER_BULLIES/PLAYER01","Act/Conv/1_02.act"},
  2368.     {"Point at player","/Global/1_02/PointAtPlayer","Act/Conv/1_02.act"},
  2369.     {"Point at russell","/Global/1_02/PointAtRussel","Act/Conv/1_02.act"},
  2370.     {"Push player","/Global/1_02/PushPlayer/GrappleSuccess/Yay/AttackIdle","Act/Conv/1_02.act"},
  2371.     {"Sec idle","/Global/1_02/SecIdle","Act/Conv/1_02.act"},
  2372.     {"Sec Start","/Global/1_02/SecStart","Act/Conv/1_02.act"},
  2373.     {"Short Idle (1_02)","/Global/1_02/ShortIdle","Act/Conv/1_02.act"},
  2374.     {"Sit on wall","/Global/1_02/SitOnWall","Act/Conv/1_02.act"},
  2375.     {"Talking (1_02)","/Global/1_02/Talking/Talk","Act/Conv/1_02.act"},
  2376.   }
  2377. end
  2378.  
  2379. function S_SetupPedFinder()
  2380.   pfs = {
  2381.     {name = "Jimmy"             ,style = "Player"},
  2382.     {name = "Zoe"               ,style = "GS_Female_A"},
  2383.     {name = "Beatrice"          ,style = "GS_Female_A"},
  2384.     {name = "Algernon"          ,style = "N_Striker_B"},
  2385.     {name = "Fatty"             ,style = "N_Striker_A"},
  2386.     {name = "Melvin"            ,style = "N_Striker_A"},
  2387.     {name = "Thad"              ,style = "N_Ranged_A"},
  2388.     {name = "Bucky"             ,style = "N_Ranged_A"},
  2389.     {name = "Cornelius"         ,style = "N_Ranged_A"},
  2390.     {name = "Earnest"           ,style = "N_Ranged_A"},
  2391.     {name = "Donald"            ,style = "N_Ranged_A"},
  2392.     {name = "Damon"             ,style = "J_Striker_A"},
  2393.     {name = "Kirby"             ,style = "J_Striker_A"},
  2394.     {name = "Mandy"             ,style = "GS_Female_A"},
  2395.     {name = "Dan"               ,style = "J_Striker_A"},
  2396.     {name = "Luis"              ,style = "J_Grappler_A"},
  2397.     {name = "Casey"             ,style = "J_Melee_A"},
  2398.     {name = "Bo"                ,style = "J_Melee_A"},
  2399.     {name = "Ted"               ,style = "J_Striker_A"},
  2400.     {name = "Juri"              ,style = "J_Grappler_A"},
  2401.     {name = "Peanut"            ,style = "G_Striker_A"},
  2402.     {name = "Hal"               ,style = "G_Grappler_A"},
  2403.     {name = "Johnny"            ,style = "G_Striker_A"},
  2404.     {name = "Lefty"             ,style = "G_Melee_A"},
  2405.     {name = "Lola"              ,style = "GS_Female_A"},
  2406.     {name = "Lucky"             ,style = "G_Striker_A"},
  2407.     {name = "Vance"             ,style = "G_Melee_A"},
  2408.     {name = "Ricky"             ,style = "G_Striker_A"},
  2409.     {name = "Norton"            ,style = "G_Grappler_A"},
  2410.     {name = "Gord"              ,style = "P_Striker_A"},
  2411.     {name = "Tad"               ,style = "P_Striker_A"},
  2412.     {name = "Chad"              ,style = "P_Grappler_A"},
  2413.     {name = "Bif"               ,style = "P_Striker_A"},
  2414.     {name = "Justin"            ,style = "P_Striker_B"},
  2415.     {name = "Bryce"             ,style = "P_Grappler_A"},
  2416.     {name = "Bryce"             ,style = "P_Striker_A"},
  2417.     {name = "Darby"             ,style = "P_Striker_A"},
  2418.     {name = "Pinky"             ,style = "GS_Female_A"},
  2419.     {name = "Angie"             ,style = "GS_Female_A"},
  2420.     {name = "Parker"            ,style = "P_Striker_B"},
  2421.     {name = "Jerry"             ,style = "DO_Grappler_A"},
  2422.     {name = "Otto"              ,style = "DO_Striker_A"},
  2423.     {name = "Leon"              ,style = "DO_Striker_A"},
  2424.     {name = "Duncan"            ,style = "DO_Striker_A"},
  2425.     {name = "Henry"             ,style = "DO_Grappler_A"},
  2426.     {name = "Gurney"            ,style = "DO_Grappler_A"},
  2427.     {name = "Omar"              ,style = "DO_Striker_A"},
  2428.     {name = "Zoe"               ,style = "GS_Female_A"},
  2429.     {name = "Max"               ,style = "Authority"},
  2430.     {name = "Seth"              ,style = "Authority"},
  2431.     {name = "Edward"            ,style = "Authority"},
  2432.     {name = "Karl"              ,style = "Authority"},
  2433.     {name = "Sheldon"           ,style = "GS_Male_A"},
  2434.     {name = "Christy"           ,style = "GS_Female_A"},
  2435.     {name = "Gloria"            ,style = "GS_Female_A"},
  2436.     {name = "Pedro"             ,style = "GS_Male_A"},
  2437.     {name = "Constantinos"      ,style = "GS_Male_A"},
  2438.     {name = "Ray"               ,style = "GS_Fat_A"},
  2439.     {name = "Ivan"              ,style = "GS_Male_A"},
  2440.     {name = "Trevor"            ,style = "GS_Male_A"},
  2441.     {name = "Eunice"            ,style = "GS_Fat_A"},
  2442.     {name = "Russell"           ,style = "B_Striker_A"},
  2443.     {name = "Trent"             ,style = "B_Striker_A"},
  2444.     {name = "Christy"           ,style = "GS_Female_A"},
  2445.     {name = "Edgar"             ,style = "DO_Striker_A"},
  2446.   }
  2447. end
  2448.  
  2449. function S_SetupActionNodeFinder()
  2450.   animations = {
  2451. "0",
  2452. "05",
  2453. "0_BLOCK_0",
  2454. "1_01",
  2455. "1_02",
  2456. "1_02B",
  2457. "1_02BYourSchool",
  2458. "1_03",
  2459. "1_03_Davis",
  2460. "1_04",
  2461. "1_04_ClearActions",
  2462. "1_05",
  2463. "1_06",
  2464. "1_06_Give",
  2465. "1_07",
  2466. "1_08",
  2467. "1_08_Beatrice",
  2468. "1_08_Fatty",
  2469. "1_08_Give",
  2470. "1_08_GiveNotes",
  2471. "1_08_Idle",
  2472. "1_08_LookAround",
  2473. "1_08_MandyCollpase",
  2474. "1_08_Nerdo",
  2475. "1_08_NerdoNoCake",
  2476. "1_08_NerdoYesCake",
  2477. "1_08_Prefect",
  2478. "1_08_RollDice",
  2479. "1_09",
  2480. "1_10_anims",
  2481. "1_11X1",
  2482. "1_11X2",
  2483. "1_B_ScriptCall",
  2484. "1_G1",
  2485. "1_S01",
  2486. "1_S01_Bathroom",
  2487. "1_S01_Bathroom_Loop",
  2488. "1_S01_Stand_Talking",
  2489. "20",
  2490. "2_01",
  2491. "2_02_Owner",
  2492. "2_03Cnv",
  2493. "2_03i",
  2494. "2_04_Conv",
  2495. "2_05",
  2496. "2_06",
  2497. "2_06_Go",
  2498. "2_07",
  2499. "2_07_Gord",
  2500. "2_08Conv",
  2501. "2_08WeedKiller",
  2502. "2_B",
  2503. "2_G2",
  2504. "2_G2_Anims",
  2505. "2_R03_Conv",
  2506. "2_S04",
  2507. "2_S05",
  2508. "2_S06",
  2509. "3B_JohnnyVincent",
  2510. "3_01",
  2511. "3_01A",
  2512. "3_01C",
  2513. "3_01D",
  2514. "3_02",
  2515. "3_02_Bait",
  2516. "3_03",
  2517. "3_04",
  2518. "3_04_Anim",
  2519. "3_04_End",
  2520. "3_05",
  2521. "3_05TheTenements",
  2522. "3_06",
  2523. "3_08",
  2524. "3_09",
  2525. "3_B",
  2526. "3_G3",
  2527. "3_G3_Conv",
  2528. "3_R09",
  2529. "3_S03",
  2530. "3_S03_Givebottle",
  2531. "3_S10",
  2532. "3_S10_Tags",
  2533. "3_S11",
  2534. "3_S11_O_P_Struggle",
  2535. "3_S11_O_Struggle_Break",
  2536. "3_S11_O_Struggle_Idle",
  2537. "3_S11_P_Struggle_Break",
  2538. "3_S11_P_Struggle_Idle",
  2539. "3_XM",
  2540. "404Conv",
  2541. "4ArmHi",
  2542. "4ArmLow",
  2543. "4_01",
  2544. "4_02",
  2545. "4_03",
  2546. "4_05",
  2547. "4_06",
  2548. "4_06_Glue",
  2549. "4_06_MarbledL",
  2550. "4_06_WaitForJim",
  2551. "4_06_Wizz",
  2552. "4_B1",
  2553. "4_B2",
  2554. "4_B2_Blank",
  2555. "4_B2_JockBossBattle",
  2556. "4_G4",
  2557. "4_G4_Hello",
  2558. "4_G4_Where",
  2559. "5",
  2560. "5_01",
  2561. "5_01_Empty",
  2562. "5_01_Librarian",
  2563. "5_01_PoisonEffect0",
  2564. "5_01_PoisonEffect1",
  2565. "5_01_PoisonEffect1cycle",
  2566. "5_01_PoisonEffect1intro",
  2567. "5_01_PoisonEffect1outro",
  2568. "5_01_PoisonEffect2",
  2569. "5_01_PoisonEffect2cycle",
  2570. "5_01_PoisonEffect2intro",
  2571. "5_01_PoisonEffect2outro",
  2572. "5_02",
  2573. "5_03",
  2574. "5_03_Crazy_Door",
  2575. "5_03_Johnny_In_Cell",
  2576. "5_03_NIS_Gateclose",
  2577. "5_03_NIS_Outro",
  2578. "5_03_Reset",
  2579. "5_03_Sleeping_Orderly",
  2580. "5_03_Sleeping_Orderly_To_Sleep",
  2581. "5_03_Sleeping_Orderly_Wake_Up",
  2582. "5_03_Stand_Talking",
  2583. "5_04",
  2584. "5_05",
  2585. "5_07a",
  2586. "5_09",
  2587. "5_09_Cityhall_Cut",
  2588. "5_B",
  2589. "5_G5",
  2590. "6_02",
  2591. "6_02GDORM",
  2592. "6_B",
  2593. "ABORT",
  2594. "Act",
  2595. "Action",
  2596. "Action1",
  2597. "Action2",
  2598. "Action3",
  2599. "Action4",
  2600. "ActionNode",
  2601. "ActionOpps",
  2602. "Actions",
  2603. "Action_Breakout",
  2604. "ActivateDoor",
  2605. "Active",
  2606. "AddRockets",
  2607. "AdjustGravity",
  2608. "Adult",
  2609. "AdultGrapple",
  2610. "Adult_Hold_escape",
  2611. "Adult_Takedown",
  2612. "Afternoon?",
  2613. "AGymLght",
  2614. "AI",
  2615. "Aim",
  2616. "AimIdle",
  2617. "AimOut",
  2618. "AirGrab",
  2619. "AirGrabGoofy",
  2620. "AirGrabRelease",
  2621. "AirGrabReleaseGoofy",
  2622. "AI_2_R03_HMB",
  2623. "AI_2_R03_MBP",
  2624. "AI_3_R05",
  2625. "AI_BOXER",
  2626. "AI_Dog",
  2627. "AI_EDGAR_5_B",
  2628. "AI_FightTutorial",
  2629. "AI_MASCOT_4_05",
  2630. "AI_Rat",
  2631. "AI_SitTest",
  2632. "Algie",
  2633. "Algie01",
  2634. "Algie03",
  2635. "AlgieCower",
  2636. "ALGIEJACCS",
  2637. "AlgieOhFace",
  2638. "Ali",
  2639. "AliGoofy",
  2640. "AliHigh",
  2641. "AliHighGoofy",
  2642. "AliSpeech",
  2643. "Ambient",
  2644. "Ambient2",
  2645. "Ambient3",
  2646. "AmbientActions",
  2647. "AmbientActions_Opp",
  2648. "AmbientActions_Tired",
  2649. "AmbientActions_VTired",
  2650. "AmbientDice",
  2651. "AmbientGift_FAIL",
  2652. "AmbientSpawn",
  2653. "Ambient_3",
  2654. "Ammo1",
  2655. "Ammo2",
  2656. "Ammo3",
  2657. "AmmoCheck",
  2658. "AnchoredToVehicle",
  2659. "Angry",
  2660. "AniBball",
  2661. "AniDice",
  2662. "Anim",
  2663. "AnimatedLadder",
  2664. "Animation",
  2665. "Animations",
  2666. "AnimLoadTrigger",
  2667. "Anims",
  2668. "Anims2",
  2669. "animstart1",
  2670. "animstart2",
  2671. "animstart3",
  2672. "animstart4",
  2673. "animstart5",
  2674. "animstart6",
  2675. "animstart7",
  2676. "animstart8",
  2677. "animstart9",
  2678. "any",
  2679. "AnyStruggle",
  2680. "AN_DOG",
  2681. "AN_RAT",
  2682. "Apology",
  2683. "Apple",
  2684. "Apple_Smash",
  2685. "ApplyTorch",
  2686. "Area_School",
  2687. "armDrivers",
  2688. "Arm_Lift",
  2689. "AssThrust",
  2690. "AsyBars",
  2691. "AsySwtch",
  2692. "AttachedEffect",
  2693. "AttachMarbles",
  2694. "AttachSign",
  2695. "AttachWeapon",
  2696. "AttackCheck",
  2697. "AttackIdle",
  2698. "Attacks",
  2699. "Attempt",
  2700. "ATTEMPTNODE",
  2701. "Authority",
  2702. "AutoFaceTarget",
  2703. "AutoFireCheck",
  2704. "AutoReversal",
  2705. "AutoReversalOpps",
  2706. "Axehandle",
  2707. "AxeKicks",
  2708. "AxeKick_Grap",
  2709. "AxeKick_Grap_GV",
  2710. "AxeKick_Grap_RCV",
  2711. "Back",
  2712. "BackBounceSmall",
  2713. "BACKBREAK",
  2714. "Backbreaker",
  2715. "BackGrabCrunch",
  2716. "BackPunch",
  2717. "BackUp",
  2718. "bagmrbls",
  2719. "BailOut",
  2720. "BailOutGoofy",
  2721. "Ball",
  2722. "Ball4",
  2723. "Banana",
  2724. "Bank",
  2725. "BarellLadder",
  2726. "Barf",
  2727. "BarksWhileRunning",
  2728. "BarUpHold",
  2729. "Base",
  2730. "baseball",
  2731. "BaseWithCollissionOn",
  2732. "Basketball",
  2733. "bat",
  2734. "baton",
  2735. "Bat_Break",
  2736. "bbagbottle",
  2737. "BBALL_21",
  2738. "BBALL_RESET",
  2739. "BBGun",
  2740. "BBrawl",
  2741. "Bearded",
  2742. "BeardedInit",
  2743. "BearHug",
  2744. "BearHugCyc",
  2745. "BearHugFinish",
  2746. "BeatriceFreakOut",
  2747. "BED_GET_OUT",
  2748. "begin",
  2749. "BeginWorkout",
  2750. "BeingLifted",
  2751. "BellyDown",
  2752. "BellyDownGetUp",
  2753. "BellyUp",
  2754. "BellyUpGetUp",
  2755. "BellyUpGetUpGetUp",
  2756. "BeScared",
  2757. "BiffKO",
  2758. "BigTag",
  2759. "BIKEGAR",
  2760. "BikeGeneralObjectives",
  2761. "Bikes",
  2762. "Billyclb",
  2763. "Blank",
  2764. "Block",
  2765. "BlockHits",
  2766. "Blocks",
  2767. "Block_Lite",
  2768. "bnk",
  2769. "Bodyfall",
  2770. "BODYSHOTDOWN",
  2771. "BODYSHOTUP",
  2772. "BodySlam",
  2773. "BodyslamReversal",
  2774. "BodyslamReversalOpps",
  2775. "Body_fall",
  2776. "Body_Getup",
  2777. "Body_Handle",
  2778. "Body_Slide",
  2779. "Body_Wrestle",
  2780. "BoltCutters",
  2781. "Bomb",
  2782. "BombInToilet",
  2783. "BonusHit",
  2784. "BookAttacks",
  2785. "BookHarass",
  2786. "Books",
  2787. "BookScatter",
  2788. "BOOOOOO",
  2789. "BootKick",
  2790. "BOSS_Darby",
  2791. "BOSS_Russell",
  2792. "Botch",
  2793. "BottleRocketFuse",
  2794. "BottleRocketTrail",
  2795. "BottleRocketTrigger",
  2796. "BounceLegsUp_L",
  2797. "BounceLegsUp_S",
  2798. "BounceSmall",
  2799. "Boxing",
  2800. "BoxingAttacks",
  2801. "BoxingBlocks",
  2802. "BoxingCheer",
  2803. "BoxingEnding",
  2804. "BoxingEnding1",
  2805. "BoxingEnding2",
  2806. "BoxingEnding3",
  2807. "BoxingEnding4",
  2808. "BoxingPlayer",
  2809. "BoxingSpecialKO",
  2810. "BoxingSpeicalKO",
  2811. "BoxingStun",
  2812. "Boxing_Blocks",
  2813. "Box_Punch",
  2814. "Bo_01",
  2815. "Bo_02",
  2816. "Brake",
  2817. "BrakeEnd",
  2818. "BrakeEndRelease",
  2819. "BrakeEnd_Pump",
  2820. "BrakeEnd_Pump2",
  2821. "BrakeEnd_PumpAlt",
  2822. "BrakeEnd_PumpAlt2",
  2823. "BrakeEnd_PumpGoofy",
  2824. "BrakeEnd_PumpGoofy2",
  2825. "BrakeEnd_PumpGoofyAlt",
  2826. "BrakeEnd_PumpGoofyAlt2",
  2827. "BrakeGoofyEnd",
  2828. "BrakeGoofyEndRelease",
  2829. "Break",
  2830. "BreakCyclicAnimation",
  2831. "BreakGive",
  2832. "BreakNode",
  2833. "BreakOff",
  2834. "BreakReceive",
  2835. "Break_GIVE",
  2836. "Break_RCV",
  2837. "Breathe",
  2838. "Breathe_Wait",
  2839. "brick",
  2840. "brocket",
  2841. "BROCKETLAUNCHER",
  2842. "BRSwitch",
  2843. "Btl_Rkt_DryFire",
  2844. "Btl_Rkt_Load01",
  2845. "Btl_Rkt_Load02",
  2846. "Btl_Rkt_Trig",
  2847. "Bucky",
  2848. "Bucky01",
  2849. "Bull",
  2850. "BullHoof",
  2851. "Bullies",
  2852. "Bully",
  2853. "Bully01",
  2854. "Bully02",
  2855. "BullyNerdTease",
  2856. "BullyTaunt",
  2857. "BullyWall_Smoke",
  2858. "BurnStim",
  2859. "BurtonIdle",
  2860. "BurtonPeeDance",
  2861. "BurtonReactions",
  2862. "BURTON_DODGE_007",
  2863. "BURTON_DODGE_011",
  2864. "Busted",
  2865. "BustedInvuln",
  2866. "BustedStatsBank",
  2867. "BustedStim",
  2868. "Button Successfully pressed",
  2869. "ButtPinch",
  2870. "ButtPinchComplete",
  2871. "ButtPinchSick",
  2872. "ButtPinchSickNode",
  2873. "B_Striker_A",
  2874. "B_Striker_B",
  2875. "C2_ArtClass",
  2876. "C31Strt",
  2877. "C4",
  2878. "C5",
  2879. "C6",
  2880. "C7",
  2881. "C8",
  2882. "C9",
  2883. "CafeteriaLady",
  2884. "Calf",
  2885. "Camera",
  2886. "CameraActions",
  2887. "Cameras",
  2888. "CamGroundShake",
  2889. "CAM_BUS_CLS",
  2890. "CanDump",
  2891. "candy",
  2892. "Cannon",
  2893. "CannonInteract",
  2894. "carnies",
  2895. "Carny",
  2896. "CarnyActions",
  2897. "CarnyBail",
  2898. "CarnyDunk",
  2899. "CarnyGame",
  2900. "CarnyHouse",
  2901. "Cars",
  2902. "Casey",
  2903. "Casey01",
  2904. "Casey02",
  2905. "CaseyWait",
  2906. "Casey_01",
  2907. "Catch",
  2908. "CatchBall",
  2909. "CatchMiss",
  2910. "CatchPaper",
  2911. "CatchReact",
  2912. "CatchSuccess",
  2913. "Catch_Throw",
  2914. "CCW",
  2915. "Celebrate",
  2916. "CelebrateA",
  2917. "CelebrateB",
  2918. "CelebrateD",
  2919. "CelebrateTrophy",
  2920. "Chad01",
  2921. "Chap5Trans",
  2922. "Chapter3Trans",
  2923. "Charge",
  2924. "ChargeJump",
  2925. "Charge_Pt2",
  2926. "Cheaters",
  2927. "CheckFrontHitCollision",
  2928. "check_deselect",
  2929. "Cheer",
  2930. "Cheer1",
  2931. "Cheerage",
  2932. "CheerCool06",
  2933. "CheerCool08",
  2934. "CheerCool2",
  2935. "CheerCycle",
  2936. "CheerGen08",
  2937. "CheerGen09",
  2938. "CheerGen3",
  2939. "CheerGirl06",
  2940. "CheerGirl07",
  2941. "CheerGirl11",
  2942. "CheerGirl2",
  2943. "CheerGirl3",
  2944. "Cheering",
  2945. "Cheering01",
  2946. "Cheering02",
  2947. "Cheering03",
  2948. "CheeringAINode",
  2949. "CheerLdr",
  2950. "Cheerleading",
  2951. "CheerNerd1",
  2952. "CheerNerd3",
  2953. "CheerNerd_03",
  2954. "CheerNerd_10",
  2955. "CheerPosh1",
  2956. "CheerPosh_01",
  2957. "CheerPosh_04",
  2958. "CheerRoutineA",
  2959. "CheerRoutineA_00",
  2960. "CheerRoutineA_01",
  2961. "CheerRoutineA_02",
  2962. "CheerRoutineA_03",
  2963. "CheerRoutineA_04",
  2964. "CheerRoutineA_05",
  2965. "CheerUpperBody",
  2966. "Cheer_Anims",
  2967. "Cheer_Cool",
  2968. "Cheer_Cool1",
  2969. "Cheer_Cool2",
  2970. "Cheer_Cool3",
  2971. "Cheer_Cool_11",
  2972. "Cheer_Cool_12",
  2973. "Cheer_Cool_13",
  2974. "Cheer_Cool_14",
  2975. "Cheer_Gen",
  2976. "Cheer_Gen1",
  2977. "Cheer_Gen2",
  2978. "Cheer_Gen3",
  2979. "Cheer_Girl",
  2980. "Cheer_Girl1",
  2981. "Cheer_Girl2",
  2982. "Cheer_Girl3",
  2983. "Cheer_Girl4",
  2984. "Cheer_MsPhillips",
  2985. "Cheer_MsPhillips01",
  2986. "Cheer_Nerd",
  2987. "Cheer_Nerd1",
  2988. "Cheer_Nerd2",
  2989. "Cheer_Nerd3",
  2990. "Cheer_Posh",
  2991. "Cheer_Posh1",
  2992. "Cheer_Posh2",
  2993. "Cheer_Posh3",
  2994. "Cheer_Static",
  2995. "cherryb",
  2996. "CherryBomb",
  2997. "ChewIn",
  2998. "CHEW_START_T",
  2999. "ChickenS",
  3000. "ChickenWarn",
  3001. "ChLeadIdle04",
  3002. "ChLeadIdle05",
  3003. "CHSHIELDA",
  3004. "CHSHIELDB",
  3005. "CHShieldC",
  3006. "Cigarette",
  3007. "CigExhale",
  3008. "CigSmoke",
  3009. "Cinematic",
  3010. "Circle",
  3011. "CityHallTag",
  3012. "class!",
  3013. "Clav",
  3014. "CleanedUp",
  3015. "CleanMedTag",
  3016. "Clear",
  3017. "ClearNode",
  3018. "ClearObjective",
  3019. "Client_3_R05",
  3020. "Climb_ON_BOT",
  3021. "Close",
  3022. "Close5_03",
  3023. "CloseBreak",
  3024. "Closed",
  3025. "ClosedIdle",
  3026. "CloseDoor",
  3027. "CloseGate",
  3028. "CloseToEnd",
  3029. "CloseToEndQuick",
  3030. "Close_StayClosed",
  3031. "Closing",
  3032. "Clothing",
  3033. "Co2",
  3034. "Coach",
  3035. "CoachWhistle",
  3036. "Coast",
  3037. "Coaster",
  3038. "coldbreath",
  3039. "Collapse",
  3040. "CollapseNorth",
  3041. "CollapseWest",
  3042. "Collapsing",
  3043. "Collision",
  3044. "CollisionPedFlags",
  3045. "Combat",
  3046. "CombatActions",
  3047. "CombatAggSpeech",
  3048. "CombatBasic",
  3049. "CombatFearEnd",
  3050. "CombatFearSpeech",
  3051. "CombatIdle",
  3052. "CombatIdleBlock",
  3053. "CombatIdleTurn",
  3054. "CombatIdle_Out",
  3055. "CombatLoco",
  3056. "CombatLocoBasic",
  3057. "CombatStrafeIdle",
  3058. "CombatTaunt",
  3059. "CombatTauntSpeech",
  3060. "CombatTransition",
  3061. "ComeOn",
  3062. "ComeToStopInVehicle",
  3063. "Comic",
  3064. "Comic01",
  3065. "ComicOwner",
  3066. "condition",
  3067. "ConstantinosIdle",
  3068. "Controller",
  3069. "Controller_Node",
  3070. "CONV",
  3071. "ConvInitiate",
  3072. "Cook1",
  3073. "Cook2",
  3074. "Cookin",
  3075. "Cop_Busted_Pin",
  3076. "Cornelius",
  3077. "Cornelius01",
  3078. "Cornelius02",
  3079. "Cornelius03",
  3080. "Coughing",
  3081. "CoughingMandy",
  3082. "Countdown",
  3083. "CoverUp",
  3084. "CowDance",
  3085. "CowDanceA",
  3086. "CowDanceB",
  3087. "CowDanceC",
  3088. "CowDanceD",
  3089. "CowDanceFail",
  3090. "CowDanceMusic",
  3091. "CowDanceMusicStart",
  3092. "CowDanceMusicStop",
  3093. "CowDanceSuccess",
  3094. "Cower",
  3095. "CowerStart",
  3096. "Cower_Block",
  3097. "Cower_Child",
  3098. "Cower_Cycle",
  3099. "Cower_End",
  3100. "Cower_Start",
  3101. "CowFail",
  3102. "CowFlub",
  3103. "CowSucess",
  3104. "CO_OP_PUNCH_2",
  3105. "Crabble",
  3106. "Crabble01",
  3107. "CrawlCycle",
  3108. "Crawl_Cam",
  3109. "Crawl_Release",
  3110. "Crazy_Basic",
  3111. "CreateAuthFight",
  3112. "cricket",
  3113. "Criminal",
  3114. "Cross",
  3115. "Crouch",
  3116. "CrouchActionOppsBase",
  3117. "CrouchAim",
  3118. "CrouchHide",
  3119. "CrouchIdle",
  3120. "CrouchLocoAnims",
  3121. "CrouchLocoBasic",
  3122. "CrouchLocoRun",
  3123. "CrouchLocoTarget",
  3124. "CrouchRelease",
  3125. "CrouchReload",
  3126. "Crouch_Out_Target",
  3127. "Crouch_Tired",
  3128. "Crying",
  3129. "CryLoop",
  3130. "CRYSPEECH",
  3131. "CtrlBx",
  3132. "Cuddle",
  3133. "CustomActionOps",
  3134. "CustomAnim",
  3135. "CustomHitTree",
  3136. "CustomIdle",
  3137. "CustomIdleC",
  3138. "CustomIdleLoop",
  3139. "CustomIdleO",
  3140. "CustomIdleS",
  3141. "CustomIdleX",
  3142. "CustomLoco",
  3143. "CustomPedTree",
  3144. "CutPlan",
  3145. "CutScene",
  3146. "CV_Female_A",
  3147. "CV_Male_A",
  3148. "CV_OLD",
  3149. "CW",
  3150. "Cycle",
  3151. "CycleClear",
  3152. "CyclicIdle",
  3153. "Damage",
  3154. "Damaged",
  3155. "Dance",
  3156. "Dance1",
  3157. "Dance2",
  3158. "DanceA",
  3159. "DanceB",
  3160. "DanceD",
  3161. "Darby01",
  3162. "Darby02",
  3163. "DarbyAI",
  3164. "DARBYIDLE",
  3165. "Dash",
  3166. "DateActions",
  3167. "DavisBrag",
  3168. "DavisKickLadder",
  3169. "DavisShoulder",
  3170. "DavisWait",
  3171. "DavisWaitTired",
  3172. "DB_ALG_IDLE",
  3173. "Dead",
  3174. "DeadCollisionOff",
  3175. "DeadHold",
  3176. "DeadRat",
  3177. "Death",
  3178. "Decal_WallCrack",
  3179. "dec_plate",
  3180. "DeEquip",
  3181. "DeEquipWeapon",
  3182. "Default",
  3183. "DefaultClosing",
  3184. "DefaultOpening",
  3185. "DefaultReset",
  3186. "Default_KEY",
  3187. "Default_KEYLocomotion",
  3188. "Defence",
  3189. "Defense",
  3190. "Defensive",
  3191. "DejectedB",
  3192. "DejectedD",
  3193. "Delay",
  3194. "DeleteBear",
  3195. "Deselect",
  3196. "Destroy",
  3197. "Destroyed",
  3198. "Detaching",
  3199. "DetermineSpeed",
  3200. "DevilFork",
  3201. "Dialog",
  3202. "DiceRolled",
  3203. "Die",
  3204. "Difficulty",
  3205. "DirectionalPush",
  3206. "Disappoint",
  3207. "DisEngage",
  3208. "Disgusted",
  3209. "Dismiss",
  3210. "Dismount",
  3211. "Dismount_No_PlayOnTarget",
  3212. "Disturb",
  3213. "DisturbSnow",
  3214. "Dive_Splash",
  3215. "DoAnim",
  3216. "DoCrying",
  3217. "DoCryingSpeech",
  3218. "DoDamage",
  3219. "Dodge",
  3220. "dodgeball",
  3221. "DodgeballGame",
  3222. "Dog",
  3223. "DogBodyFall",
  3224. "DogChew",
  3225. "DogEatLoop",
  3226. "DogGrowl",
  3227. "DogHurt",
  3228. "DOGIRL_ZOE",
  3229. "DOG_DOBERMAN",
  3230. "DOG_PITBULL",
  3231. "DOG_PITBULL2",
  3232. "DOG_PITBULL3",
  3233. "dolead_edgar",
  3234. "dolead_russell",
  3235. "DontHurt",
  3236. "DontMess",
  3237. "Dooit",
  3238. "Door",
  3239. "DoorFunctions",
  3240. "DoorOnGround",
  3241. "Doors",
  3242. "DoorsDirect",
  3243. "Door_Open",
  3244. "DOPush",
  3245. "DormTV",
  3246. "DoubleAxeHandle",
  3247. "DOUT_IDLE_B_01",
  3248. "DOUT_IDLE_E_01",
  3249. "DOUT_IDLE_G_01",
  3250. "DOUT_IDLE_I_01",
  3251. "Down",
  3252. "DownOnGround",
  3253. "Down_End",
  3254. "DO_Edgar",
  3255. "DO_Grappler_A",
  3256. "DO_Striker_A",
  3257. "DrawMedTag",
  3258. "DrawVandalTag",
  3259. "DRBrace",
  3260. "DrbyVault",
  3261. "Dribble",
  3262. "Drink",
  3263. "Drip",
  3264. "Drop",
  3265. "DropDirect",
  3266. "Dropouts",
  3267. "Dropouts01",
  3268. "Dropouts02",
  3269. "Dropouts03",
  3270. "Dropouts04",
  3271. "DropWeapon",
  3272. "Drop_Anim",
  3273. "Drunk",
  3274. "Drunk3Actions",
  3275. "Drunk3Break",
  3276. "Drunk4Actions",
  3277. "Drunk4Break",
  3278. "Drunk4Detach",
  3279. "Drunk4DetachNode",
  3280. "Drunk_1_Child",
  3281. "DuckCharge",
  3282. "DuckChargeHit",
  3283. "DuffBag",
  3284. "DUMMY",
  3285. "DunkBench",
  3286. "DunkTank",
  3287. "DunkTankMidget",
  3288. "Dunk_Swim",
  3289. "DuvetInteract",
  3290. "EarGrab",
  3291. "Early",
  3292. "EarnA",
  3293. "EarnC",
  3294. "Earnest",
  3295. "Earnest01",
  3296. "Earnest02",
  3297. "Earnest03",
  3298. "EarnestCry",
  3299. "EarnestSpeech",
  3300. "Earnest_01",
  3301. "Easy",
  3302. "Edgar",
  3303. "Edgar02",
  3304. "EdgarBlank",
  3305. "EdgarCocky",
  3306. "EdgarShield",
  3307. "EdnaShrug",
  3308. "eggproj",
  3309. "EggSplat",
  3310. "Egg_Smash",
  3311. "Elbow",
  3312. "EmergencyAnim",
  3313. "Emergency_Static_Anim",
  3314. "Empty",
  3315. "EmptyNode",
  3316. "End",
  3317. "EndCower",
  3318. "EndDropHammer",
  3319. "endHide",
  3320. "EndingNIS",
  3321. "EndingSequences",
  3322. "EndRunning",
  3323. "endTalking",
  3324. "endTease",
  3325. "endTeased",
  3326. "EndWorkout",
  3327. "Entry1",
  3328. "Entry2",
  3329. "Entry3",
  3330. "ErrandCrab",
  3331. "Errand_BUS",
  3332. "Errand_BUS_Detective",
  3333. "Errand_BUS_Drugs",
  3334. "Errand_BUS_Jacket",
  3335. "Errand_BUS_PhotoCash",
  3336. "Errand_IND",
  3337. "Errand_IND_Package",
  3338. "Errand_IND_PACKGET",
  3339. "Errand_IND_PackMon",
  3340. "Errand_RIC",
  3341. "Errand_RIC_Crab",
  3342. "Errand_RIC_LostBear",
  3343. "Errand_RIC_Mailman",
  3344. "Errand_SCH",
  3345. "Errand_SCH_ADMIRE1",
  3346. "Errand_SCH_ADMIRE2",
  3347. "Errand_SCH_Tutorial",
  3348. "Errand_SCH_Tutorial2",
  3349. "Escape",
  3350. "EscapeParametric",
  3351. "EscapeStruggle",
  3352. "Evade",
  3353. "EvadeAttacks",
  3354. "EvadeBack",
  3355. "EvadeBackPunch",
  3356. "EvadeBank",
  3357. "EvadeCounter",
  3358. "EvadeDuck",
  3359. "EvadeDuckPunch",
  3360. "EvadeLeft",
  3361. "EvadeLeftPunch",
  3362. "EvadeRight",
  3363. "EvadeRightPunch",
  3364. "Evades",
  3365. "Evade_Duck",
  3366. "Exec",
  3367. "ExecNodes",
  3368. "Execute",
  3369. "ExecuteBank",
  3370. "ExecuteNodes",
  3371. "Executes",
  3372. "exiting",
  3373. "ExitSkateboard",
  3374. "ExitSkateboardCombat",
  3375. "ExitSkateboardJump",
  3376. "Explosion",
  3377. "ExtWind",
  3378. "FacePunch",
  3379. "FaceTarget",
  3380. "FaceTargetAutoThrow",
  3381. "FaceTargetSpawn",
  3382. "facial",
  3383. "FacingIntended",
  3384. "FactionLeaderNIS",
  3385. "Fade",
  3386. "FadeIn",
  3387. "FAIL",
  3388. "FailAnim",
  3389. "FailNoCondition",
  3390. "Failure",
  3391. "FAIL_PLAYER",
  3392. "Fairy",
  3393. "FakeTry",
  3394. "Fall",
  3395. "Falldown",
  3396. "FallDownGetUp",
  3397. "falldust",
  3398. "falldust02",
  3399. "Falling",
  3400. "FallOff",
  3401. "FallOffBarrels",
  3402. "Fall_Loop",
  3403. "Fall_No_Damage",
  3404. "FalsedMasterOpp",
  3405. "FastBackStep",
  3406. "Fast_Run",
  3407. "CustomLoco",
  3408. "FattyAvoid",
  3409. "FAT_LOOKPANIC_B_01",
  3410. "FAT_LOOKSIDES_A_01",
  3411. "FAT_PICKNOSE_A_01",
  3412. "FAT_SMELLARMPIT_A_01",
  3413. "FeedbackSpawn",
  3414. "FeetSlide",
  3415. "Female",
  3416. "FemaleFight",
  3417. "FemaleTalk",
  3418. "FemFite",
  3419. "Ferris",
  3420. "FF120",
  3421. "Fight_Tutorial",
  3422. "FindTagSpot",
  3423. "Finished",
  3424. "FinishedNormal",
  3425. "FinishedReleaseProp",
  3426. "FinishedShower",
  3427. "FinishedWidescreen",
  3428. "FinishingCross",
  3429. "FINISH_GUT",
  3430. "Fire",
  3431. "FireActions",
  3432. "fireexting",
  3433. "FireExtingSocket",
  3434. "FireMan",
  3435. "FireSequence",
  3436. "FireSpudGun",
  3437. "fire_inv",
  3438. "FistShakeEnd",
  3439. "flag",
  3440. "FlagsAndLua",
  3441. "FlashLight",
  3442. "Flee",
  3443. "FleeObjective",
  3444. "FleeReaction",
  3445. "Flower",
  3446. "FlowerBund",
  3447. "FlowerGive",
  3448. "FMTrapDr",
  3449. "FollowAllyorGirlSpeechPreload",
  3450. "Football",
  3451. "ForcedDesiredWeapon",
  3452. "ForceFeedback",
  3453. "Forearm",
  3454. "Forwards",
  3455. "Forwards_Accurate",
  3456. "FOUNDTARGET",
  3457. "Fountain",
  3458. "FPPassenger3rdPerson",
  3459. "FPPassenger3rdPersonAtRest",
  3460. "FPPassengerGetOn",
  3461. "FrAlrm",
  3462. "freakout",
  3463. "Freaks",
  3464. "Free",
  3465. "FRIENDLYHIT",
  3466. "FrisbeeThrow",
  3467. "Frisk",
  3468. "from",
  3469. "Front",
  3470. "FRONTKNOCKDOWNHARD",
  3471. "FuckYOU",
  3472. "FuckYOUSpecialBoost",
  3473. "FullBodyActionOpps",
  3474. "FunBook",
  3475. "Functions",
  3476. "FunCurtn",
  3477. "FunMiner",
  3478. "FunReapr",
  3479. "FUUUUUUUCKKKKKKKKKK",
  3480. "F_AlgieHitWhine",
  3481. "F_AreLockersAvailable",
  3482. "F_CheckForOutfit",
  3483. "F_CowDance",
  3484. "F_FirstAttack",
  3485. "F_Freakout",
  3486. "F_GrapplePunches",
  3487. "F_HasRoomForMoreTrash",
  3488. "F_Nerds",
  3489. "F_PlantNotDestroyed",
  3490. "F_PlayerAimingInNIS",
  3491. "F_PlayerSleptInBed",
  3492. "F_RusselCalm",
  3493. "F_WakeupInStreet",
  3494. "F_Walk",
  3495. "Gag",
  3496. "GagFemale",
  3497. "GagSound",
  3498. "Galloway",
  3499. "Galloway01",
  3500. "Game_THROW",
  3501. "GarageOpens",
  3502. "Garbagecan",
  3503. "GarbInteract",
  3504. "Gary",
  3505. "Gary1",
  3506. "Gary92",
  3507. "Gary93",
  3508. "Gary97",
  3509. "GaryAI",
  3510. "GaryCrazy",
  3511. "GaryIdleInBed",
  3512. "GaryIntro",
  3513. "GaryLightBag",
  3514. "GaryNIS",
  3515. "GaryPoint",
  3516. "GaryPointAnim",
  3517. "GaryShove",
  3518. "GarySpecialGrapple",
  3519. "GasolinePour",
  3520. "GatClr",
  3521. "Gate",
  3522. "GateExplodes",
  3523. "GateNerd",
  3524. "Gates",
  3525. "GateStanding",
  3526. "Gawk",
  3527. "GeneralObjectives",
  3528. "Generic",
  3529. "GenericBathroomMirror",
  3530. "GenericIdle",
  3531. "GenericWallSmoking",
  3532. "GenericWrestler",
  3533. "GenReactions",
  3534. "GenStandTalking",
  3535. "GEN_THROW",
  3536. "GetBooks",
  3537. "GetBrocketLauncher",
  3538. "GetDiary",
  3539. "GetInAndUseCrane",
  3540. "GetItem",
  3541. "GetMoney",
  3542. "GetOff",
  3543. "GetOff_Attack",
  3544. "GetOn",
  3545. "GetOnCannon",
  3546. "GetOn_Player",
  3547. "GetOut",
  3548. "GetOutBed",
  3549. "GetUp",
  3550. "GetUpBelly",
  3551. "GetUpChoice",
  3552. "GetUpEasy",
  3553. "GetUpEasy2",
  3554. "GetUpHard",
  3555. "GetWeapon",
  3556. "Get_Object",
  3557. "GFIGHT",
  3558. "GiftGive_Speech",
  3559. "Gifts",
  3560. "GirFriend",
  3561. "GirFriendSee",
  3562. "GirFriendSeeHH",
  3563. "GirlFight_Init",
  3564. "GirlFight_Loop",
  3565. "GirlFight_Out",
  3566. "GirlNotice",
  3567. "GirlNutKick",
  3568. "GirlsBathroom",
  3569. "GirlsOutside",
  3570. "GIVE",
  3571. "Give1_07",
  3572. "Give2G2",
  3573. "Give2S04",
  3574. "GiveBagmrbls",
  3575. "GiveBall",
  3576. "GiveBeatrice1_G1",
  3577. "GiveBottle",
  3578. "GiveChocolateBox",
  3579. "GiveChocolates",
  3580. "GiveComicOwner",
  3581. "GiveEarnest_4_01",
  3582. "GiveEdna_2_01",
  3583. "GiveFlowers",
  3584. "GiveHealth",
  3585. "GiveHobo_1_06",
  3586. "GiveInitiate",
  3587. "GiveItem",
  3588. "GiveJohnny3_01",
  3589. "GiveLabNotes1_08",
  3590. "GiveLola3_05",
  3591. "GiveMissPhillips1_S01",
  3592. "GiveMoney",
  3593. "GivePackage_3_09",
  3594. "GivePhotos",
  3595. "GivePt2",
  3596. "GiveSpawned",
  3597. "GiveSuperGlue",
  3598. "GiveUp",
  3599. "GiveUp_Speech",
  3600. "GiveWftbomb",
  3601. "GiveZoe_5_05",
  3602. "Give_Attempt",
  3603. "Give_Attempt_Speech",
  3604. "GIVE_B",
  3605. "Give_Seek",
  3606. "Give_Sequence",
  3607. "Give_Wait",
  3608. "GKFF",
  3609. "Global",
  3610. "GlobalActions",
  3611. "GlobalLoco",
  3612. "Globals",
  3613. "GlueBench",
  3614. "GN_FatGirl",
  3615. "Go",
  3616. "GoingDown",
  3617. "GoKart",
  3618. "GoKartFailure",
  3619. "GoKartVictory",
  3620. "GoodHit01ccccx",
  3621. "GoOff",
  3622. "Gord",
  3623. "Gord01",
  3624. "Grab",
  3625. "GrabBear",
  3626. "GrabKnees",
  3627. "GraffitiCleanup",
  3628. "GrapLocoOpps",
  3629. "Grapple",
  3630. "GrappleAnchor",
  3631. "GrappleAttempt",
  3632. "GrappleAttempt1",
  3633. "GrappleAttempt2",
  3634. "GrappleBreak",
  3635. "Grappled",
  3636. "GrappleExecutes",
  3637. "GrappleLoco",
  3638. "GrappleMoves",
  3639. "GrappleOpps",
  3640. "GrappleRcvWait",
  3641. "GrappleReversalOpps",
  3642. "GrappleReversals",
  3643. "GrappleRotate",
  3644. "Grapples",
  3645. "GrapplesAttempt",
  3646. "GrapplesExecuteNodes",
  3647. "GrappleStrikes",
  3648. "GrappleSuccess",
  3649. "GrappleTarget",
  3650. "GrappleTeach",
  3651. "Grapple_BearHug_Cameras",
  3652. "GRAPPLE_BEARHUG_GIVE",
  3653. "Grapple_Cameras",
  3654. "Grapple_Cams_Low",
  3655. "Grapple_Cam_WeaponStruggle",
  3656. "GrapThorw",
  3657. "GrapThorwLeft",
  3658. "GRAP_HIGH",
  3659. "GRAP_HIGH_RCV",
  3660. "GravityReset",
  3661. "Greaser1",
  3662. "Greaser2",
  3663. "GreaserIdles",
  3664. "GreaserKick_1",
  3665. "GreaserKick_2",
  3666. "GreaserNIS",
  3667. "Greasers",
  3668. "Greasers01",
  3669. "Greasers02",
  3670. "Greet",
  3671. "Greet_Speech",
  3672. "GRES_FISTPALM_A",
  3673. "GRES_FIXHAIR_D",
  3674. "GRES_IDLE_B",
  3675. "GRES_LOOSENUP_A",
  3676. "GRH2_NORTON",
  3677. "grlead_johnny",
  3678. "GROANER",
  3679. "GroinKick",
  3680. "Groin_Kick",
  3681. "Ground",
  3682. "GroundActions",
  3683. "GroundAndWallHits",
  3684. "GroundAttacks",
  3685. "GROUNDHITHEAVY",
  3686. "GROUNDHITLIGHT",
  3687. "GroundKick",
  3688. "GroundKickCharged",
  3689. "GroundMount",
  3690. "GroundPunch",
  3691. "GroundStomp1",
  3692. "GroundStomp2",
  3693. "GroundStomp3",
  3694. "GS_Fat_A",
  3695. "GS_Female_A",
  3696. "GS_Male_A",
  3697. "GuardDog",
  3698. "GuardDogLoopExit",
  3699. "GuardPunchFinish",
  3700. "GuardPunchReversal",
  3701. "Gun",
  3702. "GunHit",
  3703. "GurneyCrouchOut",
  3704. "GurneyKneel",
  3705. "GutKick",
  3706. "GutKick_L",
  3707. "GutKick_R",
  3708. "GutPunch",
  3709. "Gut_Punch",
  3710. "Guy_Laugh",
  3711. "GV",
  3712. "GymCut",
  3713. "GymHoop",
  3714. "GymWLad",
  3715. "G_Grappler_A",
  3716. "G_Johnny",
  3717. "G_Melee_A",
  3718. "G_Ranged_A",
  3719. "G_Striker_A",
  3720. "HammerActions",
  3721. "HammerLiftHold",
  3722. "HammerSwing",
  3723. "HammerSwings",
  3724. "Hand",
  3725. "HandleDoors",
  3726. "HandleRockets",
  3727. "HandleSoundCalls",
  3728. "Handwash",
  3729. "HangOut",
  3730. "Hang_Talking",
  3731. "Hang_Workout",
  3732. "Harassed",
  3733. "Harassing",
  3734. "HarassMoves",
  3735. "HarassSpeech",
  3736. "HarassSpeechExec",
  3737. "Hard",
  3738. "Harrassed",
  3739. "Hattrick",
  3740. "Hattrick01",
  3741. "HEAD",
  3742. "HeadButt",
  3743. "HeadButt_AnticStart",
  3744. "HEADCROSS",
  3745. "HEADHEAVY",
  3746. "HEADHOOK",
  3747. "HEADJAB",
  3748. "HEADLEFT",
  3749. "Headlock",
  3750. "HEADRIGHT",
  3751. "HEADROLLR",
  3752. "HEADSTUN",
  3753. "HealthIncrement",
  3754. "HealthIncrementB",
  3755. "HeavyAttacks",
  3756. "HeavyHits",
  3757. "HeavyKick",
  3758. "HeavyKick2",
  3759. "HeavyKick_FF",
  3760. "HeavyKnee",
  3761. "HeavyLeft",
  3762. "HeavyPunch",
  3763. "HeavyPunch1",
  3764. "HeavyPunch2",
  3765. "HeavyPunchCharge",
  3766. "HeavyPunch_FF",
  3767. "HeavyRight",
  3768. "Held",
  3769. "HelpOut_Speech",
  3770. "Hiding",
  3771. "HighKick",
  3772. "HighKickRelease",
  3773. "HighKickStart",
  3774. "HighStriker",
  3775. "HIT",
  3776. "Hit1",
  3777. "Hit2",
  3778. "Hit3",
  3779. "HitA",
  3780. "HitB",
  3781. "HitC",
  3782. "HitFace",
  3783. "HitFireAlarm02",
  3784. "HitGutCycle",
  3785. "HitHardBack",
  3786. "HitHardFront",
  3787. "HitHardFrontShort",
  3788. "HitImpactLarge",
  3789. "HitImpactSmall",
  3790. "HitReact",
  3791. "HitReactWait",
  3792. "HitsLight",
  3793. "HitStairs",
  3794. "HitTree",
  3795. "HIT_LEG_FRONT_L_FALL",
  3796. "HIT_LEG_FRONT_R_FALL",
  3797. "HMB_2_R03",
  3798. "HoboFly",
  3799. "HoboIdleCycle",
  3800. "HoboOpenGate",
  3801. "Hobo_Blocker",
  3802. "Hold",
  3803. "HOLDNODE",
  3804. "HoldOpen",
  3805. "Hold_Cycle",
  3806. "Hold_Idle",
  3807. "Hook",
  3808. "Hook1",
  3809. "Hook2",
  3810. "Hopback",
  3811. "Hork",
  3812. "However",
  3813. "HUDEnable",
  3814. "HumiliateFlee",
  3815. "HumiliateSpeech",
  3816. "Humiliate_Init",
  3817. "Humiliate_Me",
  3818. "Humiliate_Trip_Kid",
  3819. "HumiliationReact",
  3820. "Humiliations",
  3821. "Humiliation_Cameras",
  3822. "Humiliation_Dead_Arm",
  3823. "Humiliation_Dead_leg",
  3824. "Humiliation_Ear_Grab",
  3825. "Humiliation_Handcrush",
  3826. "Humiliation_Hit_Self",
  3827. "Humiliation_Indian_Burn",
  3828. "Humiliation_Noogie_Spit",
  3829. "Humiliation_Nose",
  3830. "Humiliation_Pee",
  3831. "Humiliation_Slap",
  3832. "Humiliation_Trip_Bigkid",
  3833. "Humiliation_Wedgie",
  3834. "HUMIL_4-10_B",
  3835. "HUMIL_4-10_C",
  3836. "HUMIL_5-8F_A",
  3837. "HUMIL_5-8F_B",
  3838. "HUMIL_5-8VPLY",
  3839. "HUMIL_5-8_A",
  3840. "HUMIL_5-8_B",
  3841. "HUMIL_5-8_C",
  3842. "HUMIL_6-1_A",
  3843. "HUMIL_6-1_B",
  3844. "HUMIL_6-1_C",
  3845. "HUMIL_6-5_A",
  3846. "HUMIL_6-5_B",
  3847. "HUMIL_6-5_C",
  3848. "HUMIL_FAIL",
  3849. "Idle",
  3850. "IdleAnimationChooser",
  3851. "IdleAnimations",
  3852. "IdleDice",
  3853. "IdleFight",
  3854. "IdleJump",
  3855. "IdleLoop",
  3856. "IdleOneFrame",
  3857. "Idles",
  3858. "IdleSpeech",
  3859. "Idle_Anim",
  3860. "Idle_Base",
  3861. "Idle_Overrides",
  3862. "Idle_Regular",
  3863. "Idle_Remove",
  3864. "Idle_Social",
  3865. "If_Large",
  3866. "ImpactSFX",
  3867. "in",
  3868. "Inactive",
  3869. "InCan",
  3870. "IncrementBustedStat",
  3871. "IncrementEscapeStat",
  3872. "IncrementStatKick",
  3873. "IncrementStatPunches",
  3874. "Init",
  3875. "InitCollisionOn",
  3876. "Initialize",
  3877. "InitRockets",
  3878. "InsertOpportunity",
  3879. "Interact",
  3880. "InteractWithToilet",
  3881. "Interruptable",
  3882. "IntoAim",
  3883. "IntoPose",
  3884. "IntroNIS",
  3885. "Invincible",
  3886. "invisible",
  3887. "IsPlayer",
  3888. "ItchingPowder",
  3889. "iz",
  3890. "JAB",
  3891. "JackieKick",
  3892. "JackieKickLAND",
  3893. "JBroom",
  3894. "Jimmy",
  3895. "Jimmy01",
  3896. "Jimmy02",
  3897. "Jimmy03",
  3898. "JimmyBye",
  3899. "JimmyGetGift",
  3900. "JimmyKnock",
  3901. "JimmyLine1",
  3902. "JimmyTag",
  3903. "JimmyTalk02",
  3904. "JimmyThatStupid",
  3905. "JimmyWaits",
  3906. "Jimmy_01",
  3907. "Jimmy_02",
  3908. "Jimmy_Pool",
  3909. "JKICK",
  3910. "JK_LuisWrestle",
  3911. "Jock",
  3912. "JockIdle",
  3913. "JockMed",
  3914. "Jocks",
  3915. "JocksOutro",
  3916. "JOCK_HAMSTRINGS_A",
  3917. "JOCK_IDLE_E",
  3918. "JOCK_SMELLPITS_A",
  3919. "JOCK_STRETCH_B",
  3920. "Johnny",
  3921. "Johnny01",
  3922. "Johnny02",
  3923. "Johnny03",
  3924. "Johnny1",
  3925. "Johnny2",
  3926. "JohnnyCheer",
  3927. "JohnnyIdle",
  3928. "JohnnyShove",
  3929. "Johnny_01",
  3930. "Johnny_02",
  3931. "jointDrivers",
  3932. "Jump",
  3933. "JumpActions",
  3934. "JUST_RightArm",
  3935. "J_Damon",
  3936. "J_Grappler_A",
  3937. "J_Mascot",
  3938. "J_Melee_A",
  3939. "J_Striker_A",
  3940. "KD_DROP_Default",
  3941. "Keepups",
  3942. "KEEP_NODE_ALIVE",
  3943. "KeyPickup",
  3944. "Kick",
  3945. "KickBallSpawn",
  3946. "KickHeavy",
  3947. "kickme",
  3948. "KickMeHit",
  3949. "KickMeReactions",
  3950. "KickMeSign",
  3951. "KickRib",
  3952. "KickScript",
  3953. "KickSwing",
  3954. "KickTaunt",
  3955. "KickThrust",
  3956. "Kick_1_landed",
  3957. "Kick_2_landed",
  3958. "KidAnimations",
  3959. "KirbyCough",
  3960. "KirbyFall",
  3961. "KirbyGetsBall",
  3962. "KirbyInit",
  3963. "Kiss",
  3964. "KISS1",
  3965. "Kiss2",
  3966. "Kiss2Loop_GIVE",
  3967. "Kiss2Loop_RCV",
  3968. "Kiss2_Loop",
  3969. "KISS3",
  3970. "Kiss4",
  3971. "Kiss4Loop_GIVE",
  3972. "Kiss4Loop_RCV",
  3973. "Kiss4_Loop",
  3974. "KISSAdult",
  3975. "KISSB",
  3976. "KissB2A",
  3977. "KissB2B",
  3978. "KissB3A",
  3979. "KissB3B",
  3980. "KissBreak",
  3981. "KissDrop",
  3982. "KissEnd_GIVE",
  3983. "KissEnd_RCV",
  3984. "Kisses",
  3985. "KISSF",
  3986. "KissFinal",
  3987. "KissGrap",
  3988. "KissMeAdult",
  3989. "KissyKissy",
  3990. "Kiss_Cameras",
  3991. "Kiss_Cameras_Fat",
  3992. "Kiss_Cameras_Random",
  3993. "Kiss_GIV",
  3994. "Kiss_GIVE",
  3995. "Kiss_Me_Baby",
  3996. "Kiss_RCV",
  3997. "Knee",
  3998. "Knee2",
  3999. "KneeDrop",
  4000. "KneeDropReversal",
  4001. "Kneel",
  4002. "KneelFeed",
  4003. "KneelIdle",
  4004. "KneelIn",
  4005. "KneeToBodyLStart",
  4006. "Knock",
  4007. "KNOCKDOWN",
  4008. "KnockedOut",
  4009. "Knockout",
  4010. "KnockoutDead",
  4011. "KnockoutHit",
  4012. "KnockoutRecover",
  4013. "KnockOuts",
  4014. "KOReactions",
  4015. "KOSpeechBank",
  4016. "KOSpeechExec",
  4017. "KO_COLLAPSE",
  4018. "Ladder",
  4019. "Ladder_Actions",
  4020. "Ladder_Actions_PED",
  4021. "Landing",
  4022. "LandingGoofy",
  4023. "Late",
  4024. "Laugh",
  4025. "Laugh01",
  4026. "Laugh02",
  4027. "LaughCyclic",
  4028. "Laughing",
  4029. "LaughingSpeechPreload",
  4030. "Laugh_Default",
  4031. "Laugh_Shove",
  4032. "LeadPipe",
  4033. "LEFT",
  4034. "Left1",
  4035. "Left2",
  4036. "Left3",
  4037. "Left5",
  4038. "LeftArm",
  4039. "LeftCollar",
  4040. "LeftDown",
  4041. "LeftFoot",
  4042. "LeftHand",
  4043. "LeftHook",
  4044. "LeftJab",
  4045. "LeftJabBody",
  4046. "LeftJabHead",
  4047. "LeftPunch",
  4048. "LegIn",
  4049. "LegKick",
  4050. "LegKickReleaseMax",
  4051. "LegKickStart",
  4052. "LegSwing",
  4053. "LegSwingFinishr",
  4054. "LEG_FRONT_L_FALL",
  4055. "Leg_Swing",
  4056. "Leon",
  4057. "Less",
  4058. "Level",
  4059. "LE_Orderly_A",
  4060. "Librarian",
  4061. "Librarian_01",
  4062. "Librarian_02",
  4063. "Librarian_03",
  4064. "lid",
  4065. "Lid_Blocks",
  4066. "LightAttacks",
  4067. "LightBomb",
  4068. "LightFountain",
  4069. "LightHits",
  4070. "ListenAnims",
  4071. "Listening",
  4072. "Load",
  4073. "LoadAnims",
  4074. "LoadBrocket",
  4075. "Loaded",
  4076. "LoadSpawn",
  4077. "LoadWait",
  4078. "Locked",
  4079. "Locked1_08",
  4080. "Locker",
  4081. "LockerStuff",
  4082. "Lock_Picking",
  4083. "Lock_Picking_Loop",
  4084. "Lock_Picking_Loop_To_Idle",
  4085. "Loco",
  4086. "Locomotion",
  4087. "LocomotionExecutes",
  4088. "LocomotionOverride",
  4089. "Locomotions",
  4090. "LocomotionSpawn",
  4091. "Locomotion_Move",
  4092. "LocoOverride2H",
  4093. "LocoTracks",
  4094. "Lola",
  4095. "Lola01",
  4096. "Long",
  4097. "LongChoose",
  4098. "Look",
  4099. "LookAround",
  4100. "LookLayer_1",
  4101. "LookLayer_2",
  4102. "LookRight",
  4103. "Look_B",
  4104. "LOOP",
  4105. "LoopPicking",
  4106. "LostGame",
  4107. "LowerBody",
  4108. "lua",
  4109. "Lucky",
  4110. "LuckyWait",
  4111. "LuisIntro",
  4112. "Magnetized",
  4113. "main",
  4114. "MakeOut",
  4115. "MAKING_OUT",
  4116. "Mandy",
  4117. "Mandy01",
  4118. "MandyFreak",
  4119. "MandyStand",
  4120. "MandyTalk",
  4121. "MandyTalk02",
  4122. "MandyTalk03",
  4123. "MandyWait",
  4124. "marble",
  4125. "Marbles",
  4126. "Mascot",
  4127. "Mascot01",
  4128. "MascotActions",
  4129. "MascotDance",
  4130. "MascotDancing",
  4131. "MascotPool",
  4132. "MassagingLeg",
  4133. "MasterSpawns",
  4134. "MazeLookAround",
  4135. "MBP_2_R03",
  4136. "Medium",
  4137. "Medum",
  4138. "MeetRussell",
  4139. "Melee",
  4140. "Melvin",
  4141. "Melvin01",
  4142. "MelvinCheers",
  4143. "Mermaid",
  4144. "MermaidIdle",
  4145. "MGBaseballToss",
  4146. "MGMusic",
  4147. "MGSocPen",
  4148. "MG_BallToss",
  4149. "MG_DunkTank",
  4150. "Midgets",
  4151. "MINIDUNK",
  4152. "Minigame",
  4153. "MINI_LOCK",
  4154. "MirrorActions",
  4155. "MirrorIdle",
  4156. "mission",
  4157. "Mission505",
  4158. "MissionCower",
  4159. "MissionLookAround",
  4160. "Missions",
  4161. "MissionSpec",
  4162. "MISSION_2",
  4163. "Mock",
  4164. "Mock1",
  4165. "Models",
  4166. "MonitorOnce",
  4167. "monkeywrench",
  4168. "MonLoopStop",
  4169. "Morning??",
  4170. "MoshOut",
  4171. "MotionController",
  4172. "Mount",
  4173. "MountFLIP",
  4174. "MountHitBase",
  4175. "MountIdle",
  4176. "MountOpps",
  4177. "MountRCVFlags",
  4178. "MountReversalPunches",
  4179. "MountReversals",
  4180. "MountReversalToPunch",
  4181. "Mounts",
  4182. "Mouth",
  4183. "MouthCig",
  4184. "Ms_Phillips",
  4185. "Ms_Phillips01",
  4186. "Ms_Phillips02",
  4187. "Ms_Phillips03",
  4188. "MusicPlayerActions",
  4189. "MuzzleFlash",
  4190. "M_2_R03_01",
  4191. "M_2_R03_02",
  4192. "M_2_R03_03",
  4193. "NC_Loco",
  4194. "ndh1a_algernon",
  4195. "Neck",
  4196. "NeedInit",
  4197. "NegativeReaction",
  4198. "Nemesis",
  4199. "nemesis_gary",
  4200. "NerdBooks",
  4201. "NerdBooksB",
  4202. "NerdbooksC",
  4203. "NerdBooksD",
  4204. "NerdbooksE",
  4205. "NerdBooks_Hold",
  4206. "NerdCheer",
  4207. "NerdHook",
  4208. "NerdMed",
  4209. "Nerds",
  4210. "Nerds01",
  4211. "Nerds02",
  4212. "Nerds03",
  4213. "NERDS_IDLE_D",
  4214. "NERDS_RUBHEAD_A",
  4215. "NERDS_SCRATCHARSE_A",
  4216. "NerdTeased",
  4217. "New",
  4218. "NewFall",
  4219. "NewKid",
  4220. "NewKidBreak",
  4221. "NewLocoAnims",
  4222. "newsroll",
  4223. "NewSweater",
  4224. "NIS",
  4225. "NISend",
  4226. "NISJocksTaunt",
  4227. "NISLOLA",
  4228. "NISPINKY",
  4229. "NISs",
  4230. "NIS_1_08_1",
  4231. "NIS_3_S03_GiveCas",
  4232. "NIS_3_S03_GiveHat",
  4233. "NIS_3_S03_GiveVan",
  4234. "NIS_Animations",
  4235. "NIS_Anims",
  4236. "NIS_SUCCESS",
  4237. "NLockA",
  4238. "NoAnimation",
  4239. "NoAuthorityInView",
  4240. "Node:",
  4241. "NoEffect",
  4242. "non",
  4243. "NonCombatActions",
  4244. "NonCombatStrafe",
  4245. "NONE",
  4246. "NonMasher",
  4247. "NonWeapon",
  4248. "Normal",
  4249. "Norton",
  4250. "Norton01",
  4251. "NortonAI",
  4252. "NortonSwing",
  4253. "NoseWipe",
  4254. "NotMoving",
  4255. "NotSpectator",
  4256. "NotTired",
  4257. "NotUseable",
  4258. "NotUsed",
  4259. "NPC",
  4260. "NPC1_09",
  4261. "NPCFacial",
  4262. "NPCGetItem",
  4263. "NPCGetup",
  4264. "NPC_Adult",
  4265. "NPC_GENERIC",
  4266. "NPC_Love",
  4267. "NPC_MASCOT",
  4268. "NPC_Shopping",
  4269. "NPC_Spectator",
  4270. "NPC_WAIT",
  4271. "NPC_Winning",
  4272. "NULL",
  4273. "N_Earnest",
  4274. "N_Melee_A",
  4275. "N_Ranged_A",
  4276. "N_Striker_A",
  4277. "N_Striker_B",
  4278. "ObjCompleted",
  4279. "ObjectiveOptions",
  4280. "OBJECTIVES CLEARED!",
  4281. "Objectives",
  4282. "OBJECTS_3",
  4283. "OBSDoor",
  4284. "ObserverLoops",
  4285. "Obstruction_Check",
  4286. "Off",
  4287. "Offense",
  4288. "OhFace",
  4289. "On",
  4290. "OnBike",
  4291. "OneShot",
  4292. "OneShotDialog",
  4293. "OnGround",
  4294. "OnGroundBounce",
  4295. "ON_BOT",
  4296. "On_Ground",
  4297. "Open",
  4298. "OpenCut",
  4299. "OpenDoor",
  4300. "OpenFoyeurDoor",
  4301. "OpenGate",
  4302. "OpenHold",
  4303. "Opening",
  4304. "OpenSecondFloorDoor",
  4305. "OpenToEnd",
  4306. "OpenToEndQuick",
  4307. "OpenTSGate",
  4308. "OpponentDefeated",
  4309. "Opps",
  4310. "OrderlyGrapple",
  4311. "OrderlyPatrol",
  4312. "OrderlyPatrol_Child",
  4313. "Orderly_Busted",
  4314. "OutOfCarFail",
  4315. "OUTRO",
  4316. "OverHand",
  4317. "OverHandR",
  4318. "PaintedMan",
  4319. "Parametric",
  4320. "ParametricDoor",
  4321. "ParametricRun",
  4322. "ParametricTagging",
  4323. "PatrolDialogue",
  4324. "PatrolMonitor",
  4325. "PayRussell",
  4326. "Peanut",
  4327. "PedDrawMedTag",
  4328. "PedPropActions",
  4329. "PedPropsActions",
  4330. "Peds",
  4331. "PedUnderHood",
  4332. "Pee",
  4333. "PeeDance",
  4334. "PeeSelf",
  4335. "PeeStart",
  4336. "PeeStop",
  4337. "Pelvis",
  4338. "PerformCleanup",
  4339. "PerformTag",
  4340. "Pete94",
  4341. "Pete96",
  4342. "PeteCan",
  4343. "Peter",
  4344. "Peter01",
  4345. "PeterFistShake",
  4346. "PeterHit",
  4347. "PeteSit",
  4348. "PeteyUseCrane",
  4349. "PF_Basic_A",
  4350. "Phillips",
  4351. "Phillips01",
  4352. "PICKING",
  4353. "PickKiss",
  4354. "Picklock",
  4355. "Pickup",
  4356. "PickupAct",
  4357. "PickUpActions",
  4358. "PickupCandyAct",
  4359. "PickupCandyEat",
  4360. "PickupDefault",
  4361. "PickupDice",
  4362. "PickupPropHack",
  4363. "PickupStats",
  4364. "PickupTorch",
  4365. "PickupWeapon",
  4366. "PinchBum",
  4367. "Pinky",
  4368. "Pinky01",
  4369. "Pinky02",
  4370. "Pinky03",
  4371. "Pinky04",
  4372. "PinkyWand",
  4373. "PissSelf",
  4374. "PlaceFountain",
  4375. "PlaceIt",
  4376. "Planting",
  4377. "PlantStinkbomb",
  4378. "Platform",
  4379. "PLAY",
  4380. "PlayAnim",
  4381. "PlayAnimationCyclic",
  4382. "PlayDamageSound",
  4383. "Player",
  4384. "Player01",
  4385. "Player02",
  4386. "Player03",
  4387. "PlayerAI",
  4388. "PlayerAlgie",
  4389. "PlayerBadFailure",
  4390. "PlayerBucky",
  4391. "PlayerCornelius",
  4392. "PlayerCornelius02",
  4393. "PlayerEnd",
  4394. "PlayerFacial",
  4395. "PlayerFail",
  4396. "PlayerFallOffBike",
  4397. "PlayerGetUp",
  4398. "PlayerGoodVictory",
  4399. "PlayerIdle",
  4400. "PlayerLookAround",
  4401. "PlayerMelvin",
  4402. "PlayerOnGround",
  4403. "PlayerOutro",
  4404. "PlayerPickupSlingshot",
  4405. "PlayerReactions",
  4406. "PlayerScratch",
  4407. "PlayerSit",
  4408. "PlayerStand",
  4409. "PlayerStretch",
  4410. "PlayerTaunt",
  4411. "PlayerVictory",
  4412. "PlayerVictory01",
  4413. "PlayerVictory03",
  4414. "PlayerWet",
  4415. "PlayerWin",
  4416. "Player_01",
  4417. "Player_02",
  4418. "PLAYER_BULLIES",
  4419. "Player_Tired",
  4420. "Player_VTired",
  4421. "Player_Winning",
  4422. "PlayOnTarget",
  4423. "PlayOpenAnim",
  4424. "PlayShow",
  4425. "PlaySocialAnimation",
  4426. "PlaySocialInitialReaction",
  4427. "Point",
  4428. "PointAtPlayer",
  4429. "PointAtRussel",
  4430. "PointAtSwitch",
  4431. "PointWarn",
  4432. "POIPoint",
  4433. "poison",
  4434. "PoisonAnims",
  4435. "PoisonGas",
  4436. "PoisonSpray",
  4437. "POI_Booktease",
  4438. "POI_Cafeteria",
  4439. "POI_ChLead",
  4440. "POI_Gen",
  4441. "POI_Smoking",
  4442. "POI_Telloff",
  4443. "POI_WarmHands",
  4444. "POI_Worker",
  4445. "polo",
  4446. "pompom",
  4447. "PomShake",
  4448. "poolcue",
  4449. "POpenSide",
  4450. "POpenUp",
  4451. "PositiveReaction",
  4452. "PostGetOff",
  4453. "PostHit",
  4454. "potato",
  4455. "PotatoSmokeTrail",
  4456. "Powerbomb",
  4457. "PowerDown",
  4458. "Powerslide",
  4459. "PowPunchA",
  4460. "PowPunchB",
  4461. "PracticeCharge",
  4462. "Pranks",
  4463. "Prefect",
  4464. "PrefectBustDialogue",
  4465. "PrefectChew",
  4466. "PrefectEdwardWarn",
  4467. "Prefect_Busted",
  4468. "PreFireWait",
  4469. "PreloadSpeech",
  4470. "PrepHouse",
  4471. "PREPHOUSE_PLANTAREA",
  4472. "PrepIdle",
  4473. "PrepMed",
  4474. "Preppies",
  4475. "Preppies01",
  4476. "Preppies02",
  4477. "Preppies03",
  4478. "Preps",
  4479. "PREP_IDLE",
  4480. "PREP_PREP_IDLE_A",
  4481. "PREP_TIME_CHECK_2",
  4482. "PREP_WIPE_SLEEVES_B",
  4483. "PreSpeech",
  4484. "Primary",
  4485. "PrincipalDialogue",
  4486. "PriOff",
  4487. "ProjAttack",
  4488. "Projectile",
  4489. "PropClosed",
  4490. "PropInteract",
  4491. "PropInteractLoco",
  4492. "PropOpened",
  4493. "PropStuffTarget",
  4494. "Prop_Kik",
  4495. "PSheild",
  4496. "Puke",
  4497. "PukeExec",
  4498. "PukeOnDemand",
  4499. "Pull_In_heavy",
  4500. "Pull_Up",
  4501. "Pump2",
  4502. "PumpGoofy2",
  4503. "Punch",
  4504. "Punch1",
  4505. "Punch2",
  4506. "Punch3",
  4507. "punchbag",
  4508. "PunchbagAI",
  4509. "PunchBagBS",
  4510. "PunchHands",
  4511. "PunchHeavy01",
  4512. "PunchHeavy02",
  4513. "PunchLite01",
  4514. "PunchLite02",
  4515. "PunchSpawn",
  4516. "Punch_Hold_Idle",
  4517. "Punch_Swing",
  4518. "PunishmentHit",
  4519. "Punishment_Hold",
  4520. "Push",
  4521. "Pushback",
  4522. "PushFwd",
  4523. "Pushoff",
  4524. "PushPlayer",
  4525. "Pushups",
  4526. "PutAway",
  4527. "PutOutCigEnd",
  4528. "pVase_proj",
  4529. "Pwr_Punch_Rels",
  4530. "pxCshld",
  4531. "pxSitStl",
  4532. "Px_Bed",
  4533. "Px_Garb",
  4534. "Px_Ladr",
  4535. "Px_Sink",
  4536. "Px_Tlet",
  4537. "Px_Tree",
  4538. "P_Bif",
  4539. "P_Grappler_A",
  4540. "P_Striker_A",
  4541. "P_Striker_B",
  4542. "P_Walk",
  4543. "QuickIdle",
  4544. "Quick_Release_Cam_Bank",
  4545. "Race",
  4546. "RaceVictory",
  4547. "Rail",
  4548. "RainBreak",
  4549. "Random",
  4550. "RandomLockState",
  4551. "Ranged",
  4552. "RangedWeaponActions",
  4553. "RatKick",
  4554. "RatPacking",
  4555. "RAT_PED",
  4556. "RBandBall",
  4557. "Rcv",
  4558. "RcvWait",
  4559. "Rcv_NPC",
  4560. "RCV_PT2",
  4561. "Rcv_Sequence",
  4562. "Rcv_Wait",
  4563. "ReactionAnims",
  4564. "ReactionLoops",
  4565. "Reactions",
  4566. "Reactions_Shared",
  4567. "REAC_BRING_IT",
  4568. "REAC_COMEON",
  4569. "Rear",
  4570. "Rebuff",
  4571. "Receive",
  4572. "ReceiveIdle",
  4573. "ReceiveWait",
  4574. "Receive_Speech",
  4575. "RecruitRussell",
  4576. "RefCounting",
  4577. "Release",
  4578. "ReleaseAnimGroup",
  4579. "ReleaseGroup",
  4580. "ReleaseGroup_Child",
  4581. "ReleaseProp",
  4582. "Release_Cam",
  4583. "Release_Cam_Bank",
  4584. "RELEASING",
  4585. "Reload",
  4586. "RemoveAllWeapons",
  4587. "RemoveBall",
  4588. "RemoveRocketsInCase",
  4589. "RemoveWeapons",
  4590. "RemoveWeapons_LH",
  4591. "Repunch1",
  4592. "Repunch2",
  4593. "Repunch3",
  4594. "Rescue",
  4595. "Reset",
  4596. "resetTad",
  4597. "reset_flags",
  4598. "Restart",
  4599. "Results",
  4600. "Resume",
  4601. "Retard_Loco",
  4602. "ReturnToAim",
  4603. "Reversal",
  4604. "ReversalOpps",
  4605. "Reversals",
  4606. "RibKick",
  4607. "Ride",
  4608. "RideMe",
  4609. "Right",
  4610. "Right2",
  4611. "Right4",
  4612. "RightArm",
  4613. "RightArmDamage",
  4614. "RightCross",
  4615. "RightDom",
  4616. "RightFoot",
  4617. "RightHand",
  4618. "RightHook",
  4619. "RightPunch",
  4620. "RightStomach",
  4621. "RisingAttacks",
  4622. "RisingAttck",
  4623. "Robbed",
  4624. "Robbednode",
  4625. "Rochambeau",
  4626. "RochambeauNIS",
  4627. "Roll",
  4628. "RollDice",
  4629. "Rolled",
  4630. "RooftopAttacker",
  4631. "ROOT",
  4632. "RoundHouseKick_L",
  4633. "RSGrDoor",
  4634. "Rumble",
  4635. "RumbleNorth",
  4636. "RumbleWest",
  4637. "Rummage",
  4638. "RummageInDuffel",
  4639. "Run",
  4640. "RUNATTACKH",
  4641. "RUNATTACKL",
  4642. "RunBasic",
  4643. "RunController",
  4644. "RunInside",
  4645. "RunLoco",
  4646. "RunLocoAnims",
  4647. "RunningAttacks",
  4648. "RunningAttacksDirect",
  4649. "RunningTakedown",
  4650. "RunPunch",
  4651. "RunPunchBackToRun",
  4652. "RunPunchFF",
  4653. "RunShoulder",
  4654. "RunShoulderBackToRun",
  4655. "RunShoulderFF",
  4656. "RunStart",
  4657. "RunStop",
  4658. "RunStrafeMode",
  4659. "RunTired",
  4660. "Run_StartLoco",
  4661. "Run_Stop",
  4662. "Run_To_Idle",
  4663. "RusellFallOffBike",
  4664. "RuslSwing",
  4665. "RusselAI",
  4666. "Russell",
  4667. "Russell01",
  4668. "Russell02",
  4669. "Russell03",
  4670. "RussellAlley",
  4671. "RussellHide",
  4672. "RussellLoco",
  4673. "Russell_NIS",
  4674. "RUSS_ROAR",
  4675. "SACKED",
  4676. "SANTA_END",
  4677. "SANTA_START",
  4678. "SAUTH_A",
  4679. "SAUTH_F",
  4680. "SAUTH_U",
  4681. "SaveAlgieBooks",
  4682. "SaySomething",
  4683. "sbarels1",
  4684. "SBULL_A",
  4685. "SBULL_F",
  4686. "SBULL_S",
  4687. "SBULL_U",
  4688. "Scared",
  4689. "SCBELL",
  4690. "Scenario",
  4691. "ScenarioAccepted",
  4692. "ScenarioDialog",
  4693. "ScenarioGive",
  4694. "ScenarioObjective",
  4695. "ScenarioOpen",
  4696. "ScenarioOptions",
  4697. "ScenarioReceive",
  4698. "Scenarios",
  4699. "ScenarioSeek",
  4700. "ScenarioWait",
  4701. "ScenGreetBoyAnim",
  4702. "SchoolGatesNIS",
  4703. "scObsDr",
  4704. "Scream",
  4705. "ScriptCall1",
  4706. "ScriptCalls",
  4707. "Scripted",
  4708. "ScriptedAI",
  4709. "ScriptedProj",
  4710. "ScriptedProjtrack",
  4711. "ScriptedPropInteract",
  4712. "ScrKick",
  4713. "Scuff",
  4714. "SeatGetOn",
  4715. "SecIdle",
  4716. "SecretaryGetUp",
  4717. "SecStart",
  4718. "SeeAttacker",
  4719. "SeeBreak",
  4720. "Seek",
  4721. "SeekEntity",
  4722. "Select",
  4723. "SelectActions",
  4724. "Sequences",
  4725. "set",
  4726. "SetHealth",
  4727. "SetPlayerInvuln",
  4728. "SetTagDone",
  4729. "SetTargetInvuln",
  4730. "Setting",
  4731. "SetupPoster",
  4732. "SFAT_A",
  4733. "SFAT_F",
  4734. "SFAT_I",
  4735. "SFAT_S",
  4736. "SFX",
  4737. "SFXSpawn",
  4738. "SGEN_A",
  4739. "SGEN_F",
  4740. "SGEN_I",
  4741. "SGEN_S",
  4742. "SGIRL_A",
  4743. "SGIRL_D",
  4744. "SGIRL_F",
  4745. "SGIRL_S",
  4746. "ShakeFist",
  4747. "Shields",
  4748. "ShieldWeapons",
  4749. "ShitStomp",
  4750. "ShootActions",
  4751. "Short",
  4752. "ShortDarby",
  4753. "ShortIdle",
  4754. "Shots",
  4755. "Shots_Idle",
  4756. "Shoulder",
  4757. "ShoulderButt",
  4758. "ShoulderButt_Release",
  4759. "ShoulderButt_Start",
  4760. "ShoulderSlam",
  4761. "Shove",
  4762. "Shove2HandExecute",
  4763. "Shove_Punch",
  4764. "Shove_Still",
  4765. "Showering",
  4766. "ShutOff",
  4767. "SiameseTwinsLoad",
  4768. "SignDetach",
  4769. "SimpleIdle",
  4770. "SimpleLoco",
  4771. "Single",
  4772. "Sit",
  4773. "SitHigh",
  4774. "SitLoop",
  4775. "SitOnWall",
  4776. "SittingGirls",
  4777. "Sitting_Boys",
  4778. "Sitting_Down",
  4779. "Sit_End",
  4780. "Sit_End2",
  4781. "Sit_GirlEnd",
  4782. "Sit_GirlIdle",
  4783. "Sit_GirlTalk",
  4784. "Sit_Idle",
  4785. "Sit_Smoke_Idle",
  4786. "Sit_Smoke_Start",
  4787. "Sit_Start",
  4788. "Sit_StartGirl",
  4789. "Sit_Talk",
  4790. "Sk8board",
  4791. "SK8_Examine",
  4792. "SkateBoard",
  4793. "SkateboardWallHit",
  4794. "SkateFall",
  4795. "SkateLand",
  4796. "SkateOllieLand",
  4797. "SkateOllieUp",
  4798. "SkatePush",
  4799. "Skeleton",
  4800. "SkeletonInit",
  4801. "Slap",
  4802. "Slasher",
  4803. "sledgehammer",
  4804. "SledgeHamrHit",
  4805. "Sleep",
  4806. "SlideDust",
  4807. "SlingShot",
  4808. "SLNGSHT_PULL",
  4809. "SloppyAttacks",
  4810. "SmashInnaFace",
  4811. "SmashInnaFaceStink",
  4812. "SmellSelf",
  4813. "Smell_Pits",
  4814. "smoking",
  4815. "SNERD_A",
  4816. "SNERD_I",
  4817. "SNERD_S",
  4818. "SnoBallPicUp",
  4819. "SNOBALL_FACEHIT",
  4820. "snowball",
  4821. "SnowShovel",
  4822. "SnowShwl",
  4823. "snwballb",
  4824. "SocBall",
  4825. "Social",
  4826. "SocialAcceptApology",
  4827. "SocialAngryShove",
  4828. "SocialAnims",
  4829. "SocialApology",
  4830. "SocialBringItOn",
  4831. "SocialChitChat",
  4832. "SocialDismissShrug",
  4833. "SocialExecute",
  4834. "SocialExtort",
  4835. "SocialFlee",
  4836. "SocialFleeSpeechPreload",
  4837. "SocialFollow",
  4838. "SocialGreeting",
  4839. "SocialHumiliateAttack",
  4840. "SocialInitialReaction",
  4841. "SocialInstigatorFaceForGreet",
  4842. "SocialInstigatorGreet",
  4843. "SocialInstigatorMoveToGreet",
  4844. "SocialInstigatorPreloadComplete",
  4845. "SocialInstigatorWait",
  4846. "SocialInsult1",
  4847. "SocialInsult1SpeechPreload",
  4848. "Socializing",
  4849. "SocialLaugh",
  4850. "SocialLostTemper",
  4851. "SocialLostTemperSpeechPreload",
  4852. "SocialOpps",
  4853. "SocialPraise",
  4854. "SocialReactAngry",
  4855. "SocialReactCower",
  4856. "SocialReactDontHurt",
  4857. "SocialStopHand",
  4858. "SocialTargetFaceForReact",
  4859. "SocialTargetMoveToReact",
  4860. "SocialTargetPreloadComplete",
  4861. "SocialTargetReaction",
  4862. "SocialTargetWait",
  4863. "SocialTattle",
  4864. "SocialWantGift",
  4865. "SocialWave",
  4866. "Social_Actions",
  4867. "Social_Combat",
  4868. "Social_Speech",
  4869. "socket",
  4870. "SocketChange",
  4871. "SodaMach",
  4872. "soking",
  4873. "Somezink",
  4874. "Sounds",
  4875. "Special",
  4876. "SpecialActions",
  4877. "SpecialFire",
  4878. "SpecialPuke",
  4879. "Specials",
  4880. "SpecialStart",
  4881. "Special_Init",
  4882. "SpecificObjectives",
  4883. "SpecLike",
  4884. "SpecSpeech",
  4885. "SpecSpeechHate",
  4886. "SpecSpeechLike",
  4887. "SpectatorAnims",
  4888. "SpectatorHateWait",
  4889. "SpectatorLikeWait",
  4890. "SpectatorSpawn",
  4891. "SpectatorWait",
  4892. "Speech",
  4893. "SpeechGen",
  4894. "SpeechPreload",
  4895. "SpeechPreloadNone",
  4896. "Speech_Preload",
  4897. "Spine",
  4898. "SPINE1",
  4899. "Spine2",
  4900. "SPINECONTROLHACK",
  4901. "Spit",
  4902. "SpitHand",
  4903. "Spit_Wrestle",
  4904. "SplitBody",
  4905. "Sprawl",
  4906. "Spray",
  4907. "SprayAttackRun",
  4908. "Spraycan",
  4909. "SprayFrontRun",
  4910. "SprayFrontRun2",
  4911. "SprayFrontRun_Release",
  4912. "SprayGun",
  4913. "Spray_A",
  4914. "Spray_Big_1",
  4915. "Sprint",
  4916. "SprintBasic",
  4917. "SprintController",
  4918. "SprintDeplete",
  4919. "SprintDepleteExec",
  4920. "SprintLocoAnims",
  4921. "SpudG",
  4922. "SpudGunDryfire",
  4923. "SpudGun_Fire",
  4924. "SpudGun_Reload",
  4925. "Square",
  4926. "Squid",
  4927. "SSWhip",
  4928. "StanceTransition",
  4929. "Stand",
  4930. "StandBackUp",
  4931. "StandIdle",
  4932. "Standing",
  4933. "StandingReversals",
  4934. "StandingSmoke",
  4935. "Star",
  4936. "Start",
  4937. "StartAnimations",
  4938. "sTARTIdle",
  4939. "startOpen",
  4940. "StartRun",
  4941. "StartUsing",
  4942. "StatsExecutes",
  4943. "Stay",
  4944. "Steal",
  4945. "StealCostumeCut",
  4946. "StealthDoor",
  4947. "StealthWalk",
  4948. "Steal_Easy",
  4949. "SteamReaction",
  4950. "StepAwayEnd",
  4951. "StepBackMoshOut",
  4952. "StimBank",
  4953. "Stimuli",
  4954. "StinkBomb",
  4955. "Stinky",
  4956. "STINK_REACT",
  4957. "Stink_Trap",
  4958. "STNKBMB_SMASH",
  4959. "StompIn",
  4960. "StompRCVCycle",
  4961. "Stop",
  4962. "StopBathroom",
  4963. "StopCheering",
  4964. "StrafeBase",
  4965. "StrafeBasic",
  4966. "StrafeBasicLocoOpp",
  4967. "StrafeIdle",
  4968. "StrafeLocoBasic",
  4969. "StrafeLocoBasicAnims",
  4970. "StrafeLoco_Opps",
  4971. "StraightenCollar",
  4972. "StraightPunch",
  4973. "Strike",
  4974. "StrikeOut",
  4975. "StrikeReversalOpps",
  4976. "Strikes",
  4977. "Strong",
  4978. "Struggle Detected",
  4979. "struggle",
  4980. "StruggleFeedback",
  4981. "StruggleOn",
  4982. "StrugglesOff",
  4983. "StubItOut",
  4984. "StuffGrap",
  4985. "StuffPooBag",
  4986. "StunControl",
  4987. "Stuners",
  4988. "Success!!",
  4989. "Success",
  4990. "SuccessHi1",
  4991. "SuccessHi2",
  4992. "SuccessHi3",
  4993. "SuccessMed1",
  4994. "SuccessMonitor",
  4995. "supermarble",
  4996. "supersling",
  4997. "superspud",
  4998. "SuperSpudG",
  4999. "SuperUppercut",
  5000. "SurprisedM1A",
  5001. "SurprisedM2A",
  5002. "SweepFloors",
  5003. "SwimAnims",
  5004. "SwimRipples",
  5005. "SwimRipplesStrong",
  5006. "Swim_Fwd",
  5007. "Swim_Slow",
  5008. "Swing",
  5009. "Swing2",
  5010. "Swing3",
  5011. "SwingLeftExec",
  5012. "SwingPunch_L",
  5013. "SwingPunch_R",
  5014. "SwingRightExec",
  5015. "Swirlie",
  5016. "SwirlTargSpeech",
  5017. "Switch",
  5018. "Switcheroo",
  5019. "Switcheroo2",
  5020. "Swng",
  5021. "Sxy_Impatient",
  5022. "S_Walk",
  5023. "TadCloseShutters",
  5024. "TadRebuff",
  5025. "TadReject",
  5026. "TadShutters",
  5027. "tag1",
  5028. "Tagged",
  5029. "Tags",
  5030. "TagSmall",
  5031. "TagSuccess",
  5032. "Take",
  5033. "Takedown",
  5034. "Takedown_miss",
  5035. "Talk",
  5036. "TalkAnims",
  5037. "Talking",
  5038. "TalkingLoops",
  5039. "TandemGrapple",
  5040. "TandemGrapple_ACTIVE",
  5041. "TANDEMHIT",
  5042. "Target",
  5043. "TargetAnimations",
  5044. "TargetBreathe",
  5045. "TargetGesture",
  5046. "Split_Body_Hits",
  5047. "TargetOrientation",
  5048. "TargetPoint",
  5049. "Idle_Check",
  5050. "P_Run",
  5051. "Idle_A",
  5052. "Idle_B",
  5053. "Idle_C",
  5054. "Idle_D",
  5055. "Walk_StartLoco",
  5056. "SaunterBasic",
  5057. "Saunter_StartLoco",
  5058. "TargetReactions",
  5059. "TargetType",
  5060. "TARGET_ABORT",
  5061. "TattooShop",
  5062. "Taunt",
  5063. "Taunt01",
  5064. "Taunt04",
  5065. "Taunt1",
  5066. "Taunt2",
  5067. "Taunt3",
  5068. "TauntLoop",
  5069. "TauntOnce",
  5070. "TauntPlayer",
  5071. "Taunts",
  5072. "TauntStats",
  5073. "Taunt_A",
  5074. "Taunt_B",
  5075. "Taunt_C",
  5076. "Taunt_Lose",
  5077. "Taunt_Shove",
  5078. "Taunt_Speech_HIGH_ENG",
  5079. "Teacher",
  5080. "TeacherChew",
  5081. "TeacherFinishClass",
  5082. "TeacherSpeaking",
  5083. "Ted01",
  5084. "teddybear",
  5085. "Tell_Off",
  5086. "Test",
  5087. "TestConv_2Ped",
  5088. "TE_Female_A",
  5089. "TE_Male_A",
  5090. "TE_Sitting",
  5091. "ThankYou",
  5092. "THE",
  5093. "THIS_IS_A_HACK",
  5094. "Threaten",
  5095. "ThroatGrab",
  5096. "ThroatGrab_Rcv",
  5097. "Throw",
  5098. "ThrowActions",
  5099. "ThrowBombs",
  5100. "ThrowFinish",
  5101. "ThrowFrisbee",
  5102. "Thrown",
  5103. "ThrownActions",
  5104. "ThrowStart",
  5105. "ThrustKick",
  5106. "Tired",
  5107. "TiredActions",
  5108. "TiredLoop",
  5109. "Tired_UBO",
  5110. "Tired_Upperbody",
  5111. "Tired_UpperBody_Spawn",
  5112. "TO",
  5113. "Tobias01",
  5114. "ToGetUp",
  5115. "Toilet",
  5116. "ToolBox",
  5117. "Tools",
  5118. "Torch",
  5119. "TorsoFront1",
  5120. "TorsoFront2",
  5121. "Toss",
  5122. "TossBrush",
  5123. "TossStinkbomb",
  5124. "TO_DOCKWORKER",
  5125. "TO_GN_WORKMAN",
  5126. "TO_INDUSTRIAL",
  5127. "TO_MILLWORKER",
  5128. "TO_Orderly",
  5129. "to_orderly2",
  5130. "TO_Siamese",
  5131. "TrainingPlayer",
  5132. "Tray_Hold",
  5133. "Tray_Scatter",
  5134. "TreadWater",
  5135. "tree",
  5136. "TreeClimb",
  5137. "TreeFall",
  5138. "TreeIdle",
  5139. "Trellis",
  5140. "Trellis_Actions",
  5141. "TrentGreet",
  5142. "Triangle",
  5143. "Triggered",
  5144. "TRIPHARASS",
  5145. "Trophy",
  5146. "TroyAttacks",
  5147. "TrueEmptyNode",
  5148. "TryClothesAnims",
  5149. "TRYING",
  5150. "TryingOn",
  5151. "TryOpen",
  5152. "Try_Clothes",
  5153. "TSGate",
  5154. "TurfBreak",
  5155. "Turn",
  5156. "Turning",
  5157. "Turning_HeadTrack",
  5158. "TurnOnSpot",
  5159. "TurnStart",
  5160. "TurnToFace",
  5161. "Turn_End",
  5162. "TutorialTags",
  5163. "twobyfour",
  5164. "UBO_Arms_Hd_Sp",
  5165. "UBO_Checks",
  5166. "UBO_Execute",
  5167. "UBO_HD_SP",
  5168. "UBO_LARM_HD_SP",
  5169. "UBO_RARM_HD_SP",
  5170. "umbrella",
  5171. "Umpire",
  5172. "unarmed",
  5173. "Unblockable",
  5174. "Unblockable2",
  5175. "Unique",
  5176. "Unlock",
  5177. "Unlocked",
  5178. "Unlocks",
  5179. "Unoccupied",
  5180. "UP",
  5181. "UpperBody",
  5182. "UpperBodyOverrides",
  5183. "UpperBody_ALL",
  5184. "UpperCut",
  5185. "UpperCutFF",
  5186. "UpperLeg",
  5187. "Use",
  5188. "Useable",
  5189. "UseMonitor",
  5190. "UseOverride",
  5191. "UseSoccerGoal2",
  5192. "UseSoccerGoal3Old",
  5193. "UseSoccerGoalEnd",
  5194. "UseSoccerGoalStart",
  5195. "UseSpudCannon",
  5196. "Vance",
  5197. "Vance01",
  5198. "Vance02",
  5199. "VanceWait",
  5200. "VandalTag",
  5201. "Vehicles",
  5202. "VFlyTrap",
  5203. "Victim",
  5204. "Victim2",
  5205. "VictimLoop",
  5206. "Victory",
  5207. "Victory_Taunt",
  5208. "Vomit",
  5209. "Vomit2",
  5210. "Vomit3",
  5211. "VomitStun",
  5212. "VTiredActions",
  5213. "Wait",
  5214. "WaitForAnims",
  5215. "WaitForInput",
  5216. "WaitForObjective",
  5217. "WaitForPlayer",
  5218. "WaitForPlayerMoving",
  5219. "WaitForVictim",
  5220. "WaitInside",
  5221. "WakeUp",
  5222. "WakeUpBank",
  5223. "WakeUp_Anywhere",
  5224. "WAKEUP_PUBLIC1",
  5225. "Wake_Up_Cam",
  5226. "Wake_Up_Cam_2",
  5227. "Walk",
  5228. "WalkBasic",
  5229. "WalkStop",
  5230. "WalkTOWall",
  5231. "Walk_Speeds",
  5232. "Walk_StartLoco",
  5233. "WallClimb",
  5234. "WallHits",
  5235. "WallSmash",
  5236. "Wall_Break",
  5237. "Wall_End",
  5238. "WALL_HIT",
  5239. "Wall_Hold",
  5240. "Wall_Idle",
  5241. "Wall_Lean",
  5242. "Wall_Smoke",
  5243. "Wall_Smoke_A",
  5244. "Wall_Smoke_B",
  5245. "Wall_Smoke_Idle",
  5246. "Wall_Smoke_Idle_Child",
  5247. "Wall_Smoke_Start",
  5248. "Wall_Smoke_Stub",
  5249. "Wall_Start",
  5250. "WantsToSmoke",
  5251. "WarmingHandsLoop",
  5252. "WarmthFactor",
  5253. "Wash01",
  5254. "WashHands",
  5255. "WaterCausticsParent",
  5256. "WaterFaucet",
  5257. "WaterPipe",
  5258. "Wave",
  5259. "WaveAtSecretary",
  5260. "WaveAtSecretary_Child",
  5261. "WaveToSec",
  5262. "WBALLOON",
  5263. "WBrush",
  5264. "WBWet",
  5265. "WB_Splash",
  5266. "WCamera",
  5267. "WDigCam",
  5268. "WDish",
  5269. "Weak",
  5270. "WeakPed",
  5271. "WEAPON",
  5272. "WeaponActions",
  5273. "WeaponAttach",
  5274. "WeaponCrouch",
  5275. "WeaponDetach",
  5276. "WeaponDrop",
  5277. "WeaponFire",
  5278. "WeaponIdle",
  5279. "WeaponInit",
  5280. "WeaponLoco",
  5281. "WeaponRemoval",
  5282. "WeaponRun",
  5283. "Weapons",
  5284. "WeaponSelect",
  5285. "WeaponSocial",
  5286. "WeaponSteal",
  5287. "WeaponStrafe",
  5288. "WeaponWalk",
  5289. "WedgieAttack",
  5290. "WedgieAttackComplete",
  5291. "WedgiePull",
  5292. "WedgieReceive",
  5293. "WeedKillerSpray2",
  5294. "Welcome",
  5295. "WFireExt",
  5296. "Wfrisbee",
  5297. "Wftball",
  5298. "WFtBomb",
  5299. "WhatsUp_Speech",
  5300. "WHatSVase",
  5301. "WHatVase",
  5302. "WheelBarrowInteract",
  5303. "Whistle",
  5304. "Windmill_L",
  5305. "Windmill_R",
  5306. "WinRaceNIS",
  5307. "with",
  5308. "WonderNIS",
  5309. "WonGame",
  5310. "Work",
  5311. "Workout",
  5312. "Workout_Child",
  5313. "Worth",
  5314. "WPCANNON",
  5315. "WProps",
  5316. "WrestlingACT",
  5317. "WrestlingNPC",
  5318. "wrong!",
  5319. "Wtennis",
  5320. "WTRAY",
  5321. "wtrpipe",
  5322. "wtrpipeB",
  5323. "wtrpipeC",
  5324. "wtrpipeD",
  5325. "w_bunchofphotos",
  5326. "W_Candy",
  5327. "w_chocbox",
  5328. "w_crab",
  5329. "W_Crutch",
  5330. "W_DeadRat",
  5331. "W_Dirt",
  5332. "W_DrugBttl",
  5333. "W_Flashlight",
  5334. "W_Fountain",
  5335. "W_Itch",
  5336. "W_MONEY",
  5337. "w_package",
  5338. "W_PGun",
  5339. "W_PRANK",
  5340. "W_ScHouse",
  5341. "W_Snowball",
  5342. "yardstick",
  5343. "Yay",
  5344. "Yrdstk_Break",
  5345. "Zoe",
  5346. "Zoe01",
  5347. "Zoe02",
  5348. "Zoe03",
  5349. "ZoeDistract",
  5350. "ZoeDistractWait",
  5351. "ZoeFailure",
  5352. "ZoeIdle",
  5353. "Zoe_01",
  5354. "Zoe_02",
  5355. "Zoe_03"
  5356.   }
  5357.  
  5358.   actions = {
  5359. "Act/Globals.act",
  5360. "Act/Globals/Cameras.act",
  5361. "Act/Globals/CutScene.act",
  5362. "Act/Globals/GlobalActions.act",
  5363. "Act/Globals/NPCFacial.act",
  5364. "Act/Globals/PlayerFacial.act",
  5365. "Act/Globals/SimpleLoco.act",
  5366. "Act/AI/AI.act",
  5367. "Act/AI/AI_Dog.act",
  5368. "Act/AI/AI_Rat.act",
  5369. "Act/Anim/AN_DOG.act",
  5370. "Act/Anim/AN_RAT.act",
  5371. "Act/Anim/Authority.act",
  5372. "Act/Anim/B_Striker_A.act",
  5373. "Act/Anim/CV_Female_A.act",
  5374. "Act/Anim/CV_Male_A.act",
  5375. "Act/Anim/CV_OLD.act",
  5376. "Act/Anim/DO_Grappler_A.act",
  5377. "Act/Anim/DO_Striker_A.act",
  5378. "Act/Anim/GS_Fat_A.act",
  5379. "Act/Anim/GS_Female_A.act",
  5380. "Act/Anim/GS_Male_A.act",
  5381. "Act/Anim/G_Grappler_A.act",
  5382. "Act/Anim/G_Johnny.act",
  5383. "Act/Anim/G_Melee_A.act",
  5384. "Act/Anim/G_Striker_A.act",
  5385. "Act/Anim/J_Grappler_A.act",
  5386. "Act/Anim/J_Mascot.act",
  5387. "Act/Anim/J_Melee_A.act",
  5388. "Act/Anim/J_Striker_A.act",
  5389. "Act/Anim/LE_Orderly_A.act",
  5390. "Act/Anim/N_Ranged_A.act",
  5391. "Act/Anim/N_Striker_A.act",
  5392. "Act/Anim/N_Striker_B.act",
  5393. "Act/Anim/P_Grappler_A.act",
  5394. "Act/Anim/P_Striker_A.act",
  5395. "Act/Anim/P_Striker_B.act",
  5396. "Act/Anim/TE_Female_A.act",
  5397. "Act/CameraActions.act",
  5398. "Act/HitTree.act",
  5399. "Act/Missions.act",
  5400. "Act/Player.act",
  5401. "Act/PlayerAI.act",
  5402. "Act/Vehicles.act",
  5403. "Act/WProps.act",
  5404. "Act/Weapons.act",
  5405. }
  5406. end
  5407.  
  5408. function load_style()
  5409.   lst = {
  5410.     {name = "Player",node = {
  5411.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/JAB","act/anim/Player.act"},
  5412.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross","act/anim/Player.act"},
  5413.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook","act/anim/Player.act"},
  5414.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch","act/anim/Player.act"},
  5415.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut","act/anim/Player.act"},
  5416.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/HeavyAttacks","act/anim/Player.act"},
  5417.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax","act/anim/Player.act"},
  5418.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Unblockable/JackieKick","act/anim/Player.act"},
  5419.       {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/Unblockable/HighKick","act/anim/Player.act"},
  5420.       {"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","act/anim/Player.act"},
  5421.     }},
  5422.     {name = "GS_Male_A",node = {
  5423.       {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB/SloppyCross","act/anim/GS_Male_A.act"},
  5424.       {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB","act/anim/GS_Male_A.act"},
  5425.       {"/Global/GS_Male_A/Offense/Short/HeavyAttacks/Shove2Hand","act/anim/GS_Male_A.act"},
  5426.     }},
  5427.     {name = "GS_Female_A",node = {
  5428.       {"/Global/GS_Female_A/Offense/Short/Strikes/LightAttacks/Slap","act/anim/GS_Female_A.act"},
  5429.       {"/Global/GS_Female_A/Offense/Short/Strikes/HeavyAttacks","act/anim/GS_Female_A.act"},
  5430.     }},
  5431.     {name = "Nemesis",node = {
  5432.       {"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/HeavyPunch2","Act/Anim/Nemesis.act"},
  5433.       {"/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch1","Act/Anim/Nemesis.act"},
  5434.       {"/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2","Act/Anim/Nemesis.act"},
  5435.       {"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut/Knee","Act/Anim/Nemesis.act"},
  5436.       {"/Global/Nemesis/Offense/Medium/Strikes/LightAttacks/OverHandR/HeavyAttacks/Knee","Act/Anim/Nemesis.act"},
  5437.       {"/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act"},
  5438.     }},
  5439.     {name = "B_Striker_A",node = {
  5440.       {"/Global/B_Striker_A/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L","act/anim/B_Striker_A.act"},
  5441.       {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/SwingPunch/SwingPunch_R","act/anim/B_Striker_A.act"},
  5442.       {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/GutKick/GutKick_R","act/anim/B_Striker_A.act"},
  5443.     }},
  5444.     {name = "BOSS_Russell",node = {
  5445.       {"/Global/BOSS_Russell/Offense/Short/Strikes/LightAttacks/OverHand","act/anim/BOSS_Russell.act"},
  5446.       {"/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks","act/anim/BOSS_Russell.act"},
  5447.       {"/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle","act/anim/BOSS_Russell.act"},
  5448.       {"/Global/BOSS_Russell/Offense/Special/Invincible/HeadButt/HeadButt_AnticStart","act/anim/BOSS_Russell.act"},
  5449.       {"/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt","act/anim/BOSS_Russell.act"},
  5450.       {"/Global/BOSS_Russell/Offense/GroundAttack/GroundStomp1","act/anim/BOSS_Russell.act"},
  5451.     }},
  5452.     {name = "Russell_102",node = {
  5453.       {"/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R","act/anim/Russell_102.act"},
  5454.       {"/Global/Russell_102/Offense/Short/Medium/RisingAttacks","act/anim/Russell_102.act"},
  5455.     }},
  5456.     {name = "P_Striker_A",node = {
  5457.       {"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Cross","act/anim/P_Striker_A.act"},
  5458.       {"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross","act/anim/P_Striker_A.act"},
  5459.       {"/Global/P_Striker_A/Offense/Short/Strikes/HeavyAttacks/Uppercut","act/anim/P_Striker_A.act"},
  5460.       {"/Global/P_Striker_A/Offense/Medium/HeavyAttacks","act/anim/P_Striker_A.act"},
  5461.       {"/Global/P_Striker_A/Defense/Evade/EvadeCounter/LightAttacks/EvadeBackPunch","act/anim/P_Striker_A.act"},
  5462.     }},
  5463.     {name = "P_Striker_B",node = {
  5464.       {"/Global/P_Striker_B/Offense/Short/Strikes/LightAttacks/LeftJab/Hook","act/anim/P_Striker_B.act"},
  5465.       {"/Global/P_Striker_B/Offense/Short/Strikes/HeavyAttacks/Hook2","act/anim/P_Striker_B.act"},
  5466.       {"/Global/P_Striker_B/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Striker_B.act"},
  5467.       {"/Global/P_Striker_B/Offense/Short/Grapples/HeavyAttacks/Catch_Throw","act/anim/P_Striker_B.act"},
  5468.     }},
  5469.     {name = "P_Grappler_A",node = {
  5470.       {"/Global/P_Grappler_A/Offense/Short/Strikes/LightAttacks/LeftJabHead/LeftJabBody","act/anim/P_Grappler_A.act"},
  5471.       {"/Global/P_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightCross/LeftDown","act/anim/P_Grappler_A.act"},
  5472.       {"/Global/P_Grappler_A/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Grappler_A.act"},
  5473.       {"/Global/P_Grappler_A/Offense/Medium/Strikes/Kick/TauntKick","act/anim/P_Grappler_A.act"},
  5474.     }},
  5475.     {name = "P_Bif",node = {
  5476.       {"/Global/P_Bif/Offense/Short/LightAttacks/JAB/Cross","act/anim/P_Bif.act"},
  5477.       {"/Global/P_Bif/Offense/Short/HeavyAttacks/LeftHook","act/anim/P_Bif.act"},
  5478.       {"/Global/P_Bif/Offense/Short/HeavyAttacks/RightHook","act/anim/P_Bif.act"},
  5479.       {"/Global/P_Bif/Offense/Medium/HeavyAttacks/GutPunch","act/anim/P_Bif.act"},
  5480.       {"/Global/P_Bif/Offense/Medium/HeavyAttacks/StraightPunch","act/anim/P_Bif.act"},
  5481.       {"/Global/P_Bif/Offense/Special/HeavyAttacks","act/anim/P_Bif.act"},
  5482.     }},
  5483.     {name = "BOSS_Darby",node = {
  5484.       {"/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftJab/Hook","act/anim/BOSS_Darby.act"},
  5485.       {"/Global/BOSS_Darby/Offense/Short/Strikes/HeavyAttacks/Hook2","act/anim/BOSS_Darby.act"},
  5486.       {"/Global/BOSS_Darby/Offense/Medium/Medium/HeavyAttacks/JAB/Cross","act/anim/BOSS_Darby.act"},
  5487.       {"/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross","act/anim/BOSS_Darby.act"},
  5488.       {"/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge/HeavyPunch","act/anim/BOSS_Darby.act"},
  5489.       {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw/UpperLandGV","act/anim/BOSS_Darby.act"},
  5490.       {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw/Finisher","act/anim/BOSS_Darby.act"},
  5491.       {"/Global/BOSS_Darby/Offense/Special/Dash/Dash/Uppercut/ShortDarby","act/anim/BOSS_Darby.act"},
  5492.       {"/Global/BOSS_Darby/Offense/Short","act/anim/BOSS_Darby.act"},
  5493.       {"/Global/P_Bif/Offense/Short/LightAttacks/JAB/Cross","act/anim/P_Bif.act"},
  5494.       {"/Global/P_Bif/Offense/Short/HeavyAttacks/LeftHook","act/anim/P_Bif.act"},
  5495.       {"/Global/P_Bif/Offense/Short/HeavyAttacks/RightHook","act/anim/P_Bif.act"},
  5496.       {"/Global/P_Bif/Offense/Medium/HeavyAttacks/GutPunch","act/anim/P_Bif.act"},
  5497.       {"/Global/P_Bif/Offense/Medium/HeavyAttacks/StraightPunch","act/anim/P_Bif.act"},
  5498.       {"/Global/P_Bif/Offense/Special/HeavyAttacks","act/anim/P_Bif.act"},
  5499.     }},
  5500.     {name = "G_Striker_A",node = {
  5501.       {"/Global/G_Striker_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach","act/anim/G_Striker_A.act"},
  5502.       {"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKnee","act/anim/G_Striker_A.act"},
  5503.       {"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Striker_A.act"},
  5504.       {"/Global/G_Striker_A/Offense/Medium/Strikes/HeavyAttack/KickThrust","act/anim/G_Striker_A.act"},
  5505.       {"/Global/G_Striker_A/Offense/GroundAttack/GroundPunch","act/anim/G_Striker_A.act"},
  5506.     }},
  5507.     {name = "G_Melee_A",node = {
  5508.       {"/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach","act/anim/G_Melee_A.act"},
  5509.       {"/Global/G_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Melee_A.act"},
  5510.       {"/Global/G_Melee_A/Offense/Short/Strikes/HeavyAttacks","act/anim/G_Melee_A.act"},
  5511.       {"/Global/G_Melee_A/Offense/GroundAttack/GroundPunch","act/anim/G_Melee_A.act"},
  5512.       {"/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/Takedown","act/anim/G_Melee_A.act"},
  5513.     }},
  5514.     {name = "G_Grappler_A",node = {
  5515.       {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut","act/anim/G_Grappler_A.act"},
  5516.       {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook","act/anim/G_Melee_A.act"},
  5517.       {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/BootKick","act/anim/G_Melee_A.act"},
  5518.       {"/Global/G_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/HeavyAttacks","act/anim/G_Melee_A.act"},
  5519.     }},
  5520.     {name = "G_Ranged_A",node = {
  5521.       {"/Global/G_Ranged_A/Offense/Short/Strikes/LightAttacks/RightHook/HeavyKnee","act/anim/G_Ranged_A.act"},
  5522.       {"/Global/G_Ranged_A/Offense/Short/Strikes/LightAttacks/RightHook","act/anim/G_Melee_A.act"},
  5523.       {"/Global/G_Ranged_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKnee","act/anim/G_Melee_A.act"},
  5524.     }},
  5525.     {name = "Norton",node = {
  5526.       {"/Global/Norton/Offense/Short/Swing1","act/anim/3_05_Norton.act"},
  5527.       {"/Global/Norton/Offense/Short/Swing2","act/anim/3_05_Norton.act"},
  5528.       {"/Global/Norton/Offense/Medium/Unblockable","act/anim/3_05_Norton.act"},
  5529.     }},
  5530.     {name = "G_Johnny",node = {
  5531.       {"/Global/G_Johnny/Offense/Short/Strikes/LightAttacks","act/anim/G_Johnny.act"},
  5532.       {"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick","act/anim/G_Johnny.act"},
  5533.       {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack/HeavyKick","act/anim/G_Johnny.act"},
  5534.       {"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick","act/anim/G_Johnny.act"},
  5535.       {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack","act/anim/G_Johnny.act"},
  5536.       {"/Global/G_Johnny/Offense/Special/SpecialActions/LightAttacks","act/anim/G_Johnny.act"},
  5537.       {"/Global/G_Johnny/Offense/Short/Strikes","act/anim/G_Johnny.act"},
  5538.     }},
  5539.     {name = "N_Striker_A",node = {
  5540.       {"/Global/N_Striker_A/Offense/Short/Strikes/LightAttacks/NerdJab","act/anim/N_Striker_A.act"},
  5541.       {"/Global/N_Striker_A/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Striker_A.act"},
  5542.       {"/Global/N_Striker_A/Offense/Short/Strikes/HeavyAttacks/FatSlap","act/anim/N_Striker_A.act"},
  5543.       {"/Global/N_Striker_A/Offense/Short/Strikes/HeavyAttacks/FatSlap/AssThrust","act/anim/N_Striker_A.act"},
  5544.     }},
  5545.     {name = "N_Striker_B",node = {
  5546.       {"/Global/N_Striker_B/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Striker_B.act"},
  5547.       {"/Global/N_Striker_B/Offense/Short/Strikes/HeavyAttacks/Flail","act/anim/N_Striker_B.act"},
  5548.       {"/Global/N_Striker_B/Offense/Medium","act/anim/N_Striker_B.act"},
  5549.     }},
  5550.     {name = "N_Ranged_A",node = {
  5551.       {"/Global/N_Ranged_A/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Ranged_A.act"},
  5552.       {"/Global/N_Ranged_A/Offense/Medium/Strikes/HeavyAttacks","act/anim/N_Ranged_A.act"},
  5553.       {"/Global/N_Ranged_A/Defense/Flail","act/anim/N_Ranged_A.act"},
  5554.     }},
  5555.     {name = "J_Striker_A",node = {
  5556.       {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB","act/anim/J_Striker_A.act"},
  5557.       {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow","act/anim/J_Striker_A.act"},
  5558.       {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks","act/anim/J_Striker_A.act"},
  5559.       {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks/Uppercut","act/anim/J_Striker_A.act"},
  5560.       {"/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAtempt/Takedown","act/anim/J_Striker_A.act"},
  5561.     }},
  5562.     {name = "J_Melee_A",node = {
  5563.       {"/Global/J_Melee_A/Offense/Short/Strikes/LightAttacks/RightHand","act/anim/J_Melee_A.act"},
  5564.       {"/Global/J_Melee_A/Offense/Short/Strikes/LightAttacks/RightHand/LeftHand","act/anim/J_Melee_A.act"},
  5565.       {"/Global/J_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyRight","act/anim/J_Melee_A.act"},
  5566.       {"/Global/J_Melee_A/Offense/Medium/Strikes/Unblockable","act/anim/J_Melee_A.act"},
  5567.     }},
  5568.     {name = "J_Grappler_A",node = {
  5569.       {"/Global/J_Grappler_A/Offense/Short/Strikes/HeavyAttacks","act/anim/J_Grappler_A.act"},
  5570.       {"/Global/J_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/RightPunch/Axehandle","act/anim/J_Grappler_A.act"},
  5571.     }},
  5572.     {name = "J_Ted",node = {
  5573.       {"/Global/J_Ted/Offense/Short/Strikes/LightAttacks/JAB","act/anim/J_Ted.act"},
  5574.       {"/Global/J_Ted/Offense/Medium/Grapples/GrapplesAtempt","act/anim/J_Ted.act"},
  5575.     }},
  5576.     {name = "DO_Striker_A",node = {
  5577.       {"/Global/DO_Striker_A/Offense/Short","act/anim/DO_Striker_A.act"},
  5578.       {"/Global/DO_Striker_A/Offense/Medium/HeavyAttacks","act/anim/DO_Striker_A.act"},
  5579.     }},
  5580.     {name = "DO_Edgar",node = {
  5581.       {"/Global/DO_Edgar/Offense/Short/LightAttacks/Punch1","act/anim/DO_Edgar.act"},
  5582.       {"/Global/DO_Edgar/Offense/Medium/HeavyAttacks","act/anim/DO_Edgar.act"},
  5583.     }},
  5584.     {name = "Crazy_Basic",node = {
  5585.       {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R","act/anim/Crazy_Basic.act"},
  5586.       {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R/WindMill_L","act/anim/Crazy_Basic.act"},
  5587.       {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R","act/anim/Crazy_Basic.act"},
  5588.       {"/Global/Crazy_Basic/Offense/Medium","act/anim/Crazy_Basic.act"},
  5589.     }},
  5590.     {name = "others",node = {
  5591.       {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB/SloppyCross","act/anim/GS_Male_A.act"},
  5592.       {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB","act/anim/GS_Male_A.act"},
  5593.       {"/Global/GS_Male_A/Offense/Short/HeavyAttacks/Shove2Hand","act/anim/GS_Male_A.act"},
  5594.     }},
  5595.   }
  5596. end
  5597.  
  5598. function S_SetupNode()
  5599.   anims = {
  5600.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/JAB","act/anim/Player.act"},
  5601.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross","act/anim/Player.act"},
  5602.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook","act/anim/Player.act"},
  5603.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch","act/anim/Player.act"},
  5604.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut","act/anim/Player.act"},
  5605.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/HeavyAttacks","act/anim/Player.act"},
  5606.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax","act/anim/Player.act"},
  5607.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Unblockable/JackieKick","act/anim/Player.act"},
  5608.     {"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/Unblockable/HighKick","act/anim/Player.act"},
  5609.     {"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","act/anim/Player.act"},
  5610.     {"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1","act/anim/BoxingPlayer.act"},
  5611.     {"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right2","act/anim/BoxingPlayer.act"},
  5612.     {"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left3","act/anim/BoxingPlayer.act"},
  5613.     {"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right4","act/anim/BoxingPlayer.act"},
  5614.     {"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left5","act/anim/BoxingPlayer.act"},
  5615.     {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB/SloppyCross","act/anim/GS_Male_A.act"},
  5616.     {"/Global/GS_Male_A/Offense/Short/LightAttacks/SloppyJAB","act/anim/GS_Male_A.act"},
  5617.     {"/Global/GS_Male_A/Offense/Short/HeavyAttacks/Shove2Hand","act/anim/GS_Male_A.act"},
  5618.     {"/Global/GS_Female_A/Offense/Short/Strikes/LightAttacks/Slap","act/anim/GS_Female_A.act"},
  5619.     {"/Global/GS_Female_A/Offense/Short/Strikes/HeavyAttacks","act/anim/GS_Female_A.act"},
  5620.     {"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/HeavyPunch2","Act/Anim/Nemesis.act"},
  5621.     {"/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch1","Act/Anim/Nemesis.act"},
  5622.     {"/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2","Act/Anim/Nemesis.act"},
  5623.     {"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut/Knee","Act/Anim/Nemesis.act"},
  5624.     {"/Global/Nemesis/Offense/Medium/Strikes/LightAttacks/OverHandR/HeavyAttacks/Knee","Act/Anim/Nemesis.act"},
  5625.     {"/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act"},
  5626.     {"/Global/B_Striker_A/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L","act/anim/B_Striker_A.act"},
  5627.     {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/SwingPunch/SwingPunch_R","act/anim/B_Striker_A.act"},
  5628.     {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/GutKick/GutKick_R","act/anim/B_Striker_A.act"},
  5629.     {"/Global/BOSS_Russell/Offense/Short/Strikes/LightAttacks/OverHand","act/anim/BOSS_Russell.act"},
  5630.     {"/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks","act/anim/BOSS_Russell.act"},
  5631.     {"/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle","act/anim/BOSS_Russell.act"},
  5632.     {"/Global/BOSS_Russell/Offense/Special/Invincible/HeadButt/HeadButt_AnticStart","act/anim/BOSS_Russell.act"},
  5633.     {"/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt","act/anim/BOSS_Russell.act"},
  5634.     {"/Global/BOSS_Russell/Offense/GroundAttack/GroundStomp1","act/anim/BOSS_Russell.act"},
  5635.     {"/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R","act/anim/Russell_102.act"},
  5636.     {"/Global/Russell_102/Offense/Short/Medium/RisingAttacks","act/anim/Russell_102.act"},
  5637.     {"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Cross","act/anim/P_Striker_A.act"},
  5638.     {"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross","act/anim/P_Striker_A.act"},
  5639.     {"/Global/P_Striker_A/Offense/Short/Strikes/HeavyAttacks/Uppercut","act/anim/P_Striker_A.act"},
  5640.     {"/Global/P_Striker_A/Offense/Medium/HeavyAttacks","act/anim/P_Striker_A.act"},
  5641.     {"/Global/P_Striker_A/Defense/Evade/EvadeCounter/LightAttacks/EvadeBackPunch","act/anim/P_Striker_A.act"},
  5642.     {"/Global/P_Striker_B/Offense/Short/Strikes/LightAttacks/LeftJab/Hook","act/anim/P_Striker_B.act"},
  5643.     {"/Global/P_Striker_B/Offense/Short/Strikes/HeavyAttacks/Hook2","act/anim/P_Striker_B.act"},
  5644.     {"/Global/P_Striker_B/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Striker_B.act"},
  5645.     {"/Global/P_Striker_B/Offense/Short/Grapples/HeavyAttacks/Catch_Throw","act/anim/P_Striker_B.act"},
  5646.     {"/Global/P_Grappler_A/Offense/Short/Strikes/LightAttacks/LeftJabHead/LeftJabBody","act/anim/P_Grappler_A.act"},
  5647.     {"/Global/P_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightCross/LeftDown","act/anim/P_Grappler_A.act"},
  5648.     {"/Global/P_Grappler_A/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Grappler_A.act"},
  5649.     {"/Global/P_Grappler_A/Offense/Medium/Strikes/Kick/TauntKick","act/anim/P_Grappler_A.act"},
  5650.     {"/Global/P_Bif/Offense/Short/LightAttacks/JAB/Cross","act/anim/P_Bif.act"},
  5651.     {"/Global/P_Bif/Offense/Short/HeavyAttacks/LeftHook","act/anim/P_Bif.act"},
  5652.     {"/Global/P_Bif/Offense/Short/HeavyAttacks/RightHook","act/anim/P_Bif.act"},
  5653.     {"/Global/P_Bif/Offense/Medium/HeavyAttacks/GutPunch","act/anim/P_Bif.act"},
  5654.     {"/Global/P_Bif/Offense/Medium/HeavyAttacks/StraightPunch","act/anim/P_Bif.act"},
  5655.     {"/Global/P_Bif/Offense/Special/HeavyAttacks","act/anim/P_Bif.act"},
  5656.     {"/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftJab/Hook","act/anim/BOSS_Darby.act"},
  5657.     {"/Global/BOSS_Darby/Offense/Short/Strikes/HeavyAttacks/Hook2","act/anim/BOSS_Darby.act"},
  5658.     {"/Global/BOSS_Darby/Offense/Medium/Medium/HeavyAttacks/JAB/Cross","act/anim/BOSS_Darby.act"},
  5659.     {"/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross","act/anim/BOSS_Darby.act"},
  5660.     {"/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge/HeavyPunch","act/anim/BOSS_Darby.act"},
  5661.     {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw/UpperLandGV","act/anim/BOSS_Darby.act"},
  5662.     {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw/Finisher","act/anim/BOSS_Darby.act"},
  5663.     {"/Global/BOSS_Darby/Offense/Special/Dash/Dash/Uppercut/ShortDarby","act/anim/BOSS_Darby.act"},
  5664.     {"/Global/BOSS_Darby/Offense/Short","act/anim/BOSS_Darby.act"},
  5665.     {"/Global/G_Striker_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach","act/anim/G_Striker_A.act"},
  5666.     {"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKnee","act/anim/G_Striker_A.act"},
  5667.     {"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Striker_A.act"},
  5668.     {"/Global/G_Striker_A/Offense/Medium/Strikes/HeavyAttack/KickThrust","act/anim/G_Striker_A.act"},
  5669.     {"/Global/G_Striker_A/Offense/GroundAttack/GroundPunch","act/anim/G_Striker_A.act"},
  5670.     {"/Global/G_Melee_A/Offense/Short/Strikes/LightAttacks/RightHook/LeftHook/RightStomach","act/anim/G_Melee_A.act"},
  5671.     {"/Global/G_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Melee_A.act"},
  5672.     {"/Global/G_Melee_A/Offense/Short/Strikes/HeavyAttacks","act/anim/G_Melee_A.act"},
  5673.     {"/Global/G_Melee_A/Offense/GroundAttack/GroundPunch","act/anim/G_Melee_A.act"},
  5674.     {"/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/Takedown","act/anim/G_Melee_A.act"},
  5675.     {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut","act/anim/G_Grappler_A.act"},
  5676.     {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook","act/anim/G_Melee_A.act"},
  5677.     {"/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/BootKick","act/anim/G_Melee_A.act"},
  5678.     {"/Global/G_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/HeavyAttacks","act/anim/G_Melee_A.act"},
  5679.     {"/Global/G_Ranged_A/Offense/Short/Strikes/LightAttacks/RightHook/HeavyKnee","act/anim/G_Ranged_A.act"},
  5680.     {"/Global/G_Ranged_A/Offense/Short/Strikes/LightAttacks/RightHook","act/anim/G_Melee_A.act"},
  5681.     {"/Global/G_Ranged_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKnee","act/anim/G_Melee_A.act"},
  5682.     {"/Global/Norton/Offense/Short/Swing1","act/anim/3_05_Norton.act"},
  5683.     {"/Global/Norton/Offense/Short/Swing2","act/anim/3_05_Norton.act"},
  5684.     {"/Global/Norton/Offense/Medium/Unblockable","act/anim/3_05_Norton.act"},
  5685.     {"/Global/G_Johnny/Offense/Short/Strikes/LightAttacks","act/anim/G_Johnny.act"},
  5686.     {"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick","act/anim/G_Johnny.act"},
  5687.     {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack/HeavyKick","act/anim/G_Johnny.act"},
  5688.     {"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick","act/anim/G_Johnny.act"},
  5689.     {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack","act/anim/G_Johnny.act"},
  5690.     {"/Global/G_Johnny/Offense/Special/SpecialActions/LightAttacks","act/anim/G_Johnny.act"},
  5691.     {"/Global/G_Johnny/Offense/Short/Strikes","act/anim/G_Johnny.act"},
  5692.     {"/Global/N_Striker_A/Offense/Short/Strikes/LightAttacks/NerdJab","act/anim/N_Striker_A.act"},
  5693.     {"/Global/N_Striker_A/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Striker_A.act"},
  5694.     {"/Global/N_Striker_A/Offense/Short/Strikes/HeavyAttacks/FatSlap","act/anim/N_Striker_A.act"},
  5695.     {"/Global/N_Striker_A/Offense/Short/Strikes/HeavyAttacks/FatSlap/AssThrust","act/anim/N_Striker_A.act"},
  5696.     {"/Global/N_Striker_B/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Striker_B.act"},
  5697.     {"/Global/N_Striker_B/Offense/Short/Strikes/HeavyAttacks/Flail","act/anim/N_Striker_B.act"},
  5698.     {"/Global/N_Striker_B/Offense/Medium","act/anim/N_Striker_B.act"},
  5699.     {"/Global/N_Ranged_A/Offense/Short/Strikes/LightAttacks/NerdJab","act/anim/N_Ranged_A.act"},
  5700.     {"/Global/N_Ranged_A/Offense/Short/Strikes/LightAttacks/NerdJab/NerdHook","act/anim/N_Ranged_A.act"},
  5701.     {"/Global/N_Ranged_A/Offense/Medium/Strikes/HeavyAttacks","act/anim/N_Ranged_A.act"},
  5702.     {"/Global/N_Ranged_A/Defense/Flail","act/anim/N_Ranged_A.act"},
  5703.     {"/Global/N_Earnest/Offense/FireSpudGun","act/anim/N_Earnest.act"},
  5704.     {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB","act/anim/J_Striker_A.act"},
  5705.     {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow","act/anim/J_Striker_A.act"},
  5706.     {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks","act/anim/J_Striker_A.act"},
  5707.     {"/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks/Uppercut","act/anim/J_Striker_A.act"},
  5708.     {"/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAtempt/Takedown","act/anim/J_Striker_A.act"},
  5709.     {"/Global/J_Melee_A/Offense/Short/Strikes/LightAttacks/RightHand","act/anim/J_Melee_A.act"},
  5710.     {"/Global/J_Melee_A/Offense/Short/Strikes/LightAttacks/RightHand/LeftHand","act/anim/J_Melee_A.act"},
  5711.     {"/Global/J_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyRight","act/anim/J_Melee_A.act"},
  5712.     {"/Global/J_Melee_A/Offense/Medium/Strikes/Unblockable","act/anim/J_Melee_A.act"},
  5713.     {"/Global/J_Grappler_A/Offense/Short/Strikes/HeavyAttacks","act/anim/J_Grappler_A.act"},
  5714.     {"/Global/J_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/RightPunch/Axehandle","act/anim/J_Grappler_A.act"},
  5715.     {"/Global/J_Ted/Offense/Short/Strikes/LightAttacks/JAB","act/anim/J_Ted.act"},
  5716.     {"/Global/J_Ted/Offense/Medium/Grapples/GrapplesAtempt","act/anim/J_Ted.act"},
  5717.     {"/Global/J_Mascot/Offense/Medium/Strikes/LightAttacks/WindMill_R","act/anim/J_Mascot.act"},
  5718.     {"/Global/DO_Striker_A/Offense/Short","act/anim/DO_Striker_A.act"},
  5719.     {"/Global/DO_Striker_A/Offense/Medium/HeavyAttacks","act/anim/DO_Striker_A.act"},
  5720.     {"/Global/DO_Grappler_A/Offense/Short","act/anim/DO_Grappler_A.act"},
  5721.     {"/Global/DO_Edgar/Offense/Short/LightAttacks/Punch1","act/anim/DO_Edgar.act"},
  5722.     {"/Global/DO_Edgar/Offense/Medium/HeavyAttacks","act/anim/DO_Edgar.act"},
  5723.     {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R","act/anim/Crazy_Basic.act"},
  5724.     {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R/WindMill_L","act/anim/Crazy_Basic.act"},
  5725.     {"/Global/Crazy_Basic/Offense/Short/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R","act/anim/Crazy_Basic.act"},
  5726.     {"/Global/Crazy_Basic/Offense/Medium","act/anim/Crazy_Basic.act"},
  5727.     {"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act"},
  5728.     {"/Global/Ambient/Scripted/Wall_Hold/GrappleAttempt/GrappleSuccess/Hold_Idle/Harassing","Globals/Ambient.act"},
  5729.     {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves","Act/Globals.act"},
  5730.     {"/Global/CV_Male_A/Offense/Short/LightAttacks/SloppyJAB/SloppyCross","act/anim/CV_Male_A.act"},
  5731.     {"/Global/CV_Male_A/Offense/Short/Grapples/GrapplesAtempt","act/anim/CV_Male_A.act"},
  5732.     {"/Global/CV_Female_A/Offense/Short/LightAttacks/Slap","act/anim/CV_Female_A.act"},
  5733.     {"/Global/CV_Female_A/Offense/Short/HeavyAttacks","act/anim/CV_Female_A.act"},
  5734.     {"/Global/CV_OLD/Offense/Short/HeavyAttacks","act/anim/CV_OLD.act"},
  5735.     {"/Global/CV_Drunk/Offense/Short/Grapples/GrapplesAtempt","act/anim/CV_Drunk.act"},
  5736.     {"/Global/Actions/RisingAttacks/HeavyAttacks/RisingAttacks","Globals/G_Striker_A.act"},
  5737.   }
  5738. end
  5739.  
  5740. function S_SetupAnimMenu()
  5741.   siv = {
  5742.     "1.Play it right now",
  5743.     "2.Play it to all peds",
  5744.     "3.Play it when they're near me",
  5745.   }
  5746. end
  5747.  
  5748. function S_SetupSpeech()
  5749.   speech = {
  5750.     "ALLY_ABOUT_TO_LEAVE",
  5751.     "ALLY_ACCEPT_ALLIANCE",
  5752.     "ALLY_CHATTER",
  5753.     "ALLY_HELP_ME",
  5754.     "AMBIENT_SCENARIO",
  5755.     "ART",
  5756.     "ASS_PINCHED",
  5757.     "ASYLUM",
  5758.     "ASYLUM_PA",
  5759.     "ATTACKED",
  5760.     "BASEBALL",
  5761.     "BIKE_CRASH",
  5762.     "BIKE_SEE_TRICK",
  5763.     "BIKE_SEE_TRICK_FAIL",
  5764.     "BIKE_STEALING",
  5765.     "BIKE_STOLEN",
  5766.     "BOISTEROUS",
  5767.     "BRAG_FOUNTAIN",
  5768.     "BUMPED",
  5769.     "BUMP_FRIENDLY",
  5770.     "BUMP_IN_CAR",
  5771.     "BUMP_RUDE",
  5772.     "BUMP_RUDE_DROPOUT",
  5773.     "BUMP_RUDE_FALLEN",
  5774.     "BUMP_RUDE_GREASER",
  5775.     "BUMP_RUDE_IN_CAR",
  5776.     "BUMP_RUDE_JOCK",
  5777.     "BUMP_RUDE_NERD",
  5778.     "BUMP_RUDE_OUT_OF_CAR",
  5779.     "BUMP_RUDE_PREP",
  5780.     "BUMP_VEHICLE",
  5781.     "BURTON_COACH",
  5782.     "BUS",
  5783.     "BUSTED_CLASS",
  5784.     "BUSTING",
  5785.     "BUSTING_JIMMY",
  5786.     "BYE",
  5787.     "CALL_FOR_HELP",
  5788.     "CARNIE_FUNHOUSE_ATTRACT",
  5789.     "CARNIE_FUNHOUSE_ATTRACT_PLAYER",
  5790.     "CARNIE_FUNHOUSE_EXIT",
  5791.     "CARNIE_GAME_ATTRACT",
  5792.     "CARNIE_GAME_ATTRACT_PLAYER",
  5793.     "CARNIE_GAME_EXIT_LOSE",
  5794.     "CARNIE_GAME_EXIT_WIN",
  5795.     "CARNIE_GAME_SELL",
  5796.     "CARNIE_GOCART_ATTRACT",
  5797.     "CARNIE_GOCART_ATTRACT_PLAYER",
  5798.     "CARNIE_GOCART_EXIT_LOSE",
  5799.     "CARNIE_GOCART_EXIT_WIN",
  5800.     "CARNIE_GOCART_SELL",
  5801.     "CARNIE_HAVE_FUN",
  5802.     "CARNIE_RIDE_ATTRACT",
  5803.     "CARNIE_RIDE_ATTRACT_PLAYER",
  5804.     "CARNIE_RIDE_EXIT",
  5805.     "CARNIE_TICKETS_BROWSE",
  5806.     "CARNIE_TICKETS_NOT_ENOUGH",
  5807.     "CARNIE_TICKETS_TRADE",
  5808.     "CARNIVAL_EXIT_COMMENT",
  5809.     "CHASE",
  5810.     "CHASE_ESCAPE",
  5811.     "CHASE_OUT_OF_BREATH",
  5812.     "CHATTER",
  5813.     "CHEERLEADING",
  5814.     "CHEM",
  5815.     "CITIZEN_ARREST",
  5816.     "COMPLAIN",
  5817.     "CONFUSED",
  5818.     "CONGRATULATIONS",
  5819.     "CONVERSATION_CONTINUATION",
  5820.     --"CONVERSATION_CONTINUE",
  5821.     "CONVERSATION_END",
  5822.     "CONVERSATION_GOSSIP",
  5823.     "CONVERSATION_GOSSIP_CHAPTER_1",
  5824.     "CONVERSATION_GOSSIP_CHAPTER_2",
  5825.     "CONVERSATION_GOSSIP_CHAPTER_3",
  5826.     "CONVERSATION_GOSSIP_CHAPTER_4",
  5827.     "CONVERSATION_GOSSIP_CHAPTER_5",
  5828.     "CONVERSATION_GOSSIP_CHAPTER_6",
  5829.     "CONVERSATION_GOSSIP_PERSONAL_PRIVATE",
  5830.     "CONVERSATION_GOSSIP_PRIVATE",
  5831.     "CONVERSATION_GOSSIP_REPLY",
  5832.     "CONVERSATION_NEGATIVE_PERSONAL",
  5833.     "CONVERSATION_NEGATIVE_REPLY",
  5834.     "CONVERSATION_NEGATIVE_STATEMENT",
  5835.     "CONVERSATION_PARTING",
  5836.     "CONVERSATION_POSITIVE_PERSONAL",
  5837.     "CONVERSATION_POSITIVE_PRIVATE",
  5838.     "CONVERSATION_POSITIVE_REPLY",
  5839.     "CONVERSATION_QUESTION",
  5840.     "CONVERSATION_START",
  5841.     "ClassArt",
  5842.     "ClassBiology",
  5843.     "ClassChem",
  5844.     "ClassEnglish",
  5845.     "ClassGeography",
  5846.     "ClassMath",
  5847.     "ClassMusic",
  5848.     "ClassPhoto",
  5849.     "ClassShop",
  5850.     "DARE",
  5851.     "DEFEAT_INDIVIDUAL",
  5852.     "DEFEAT_TEAM",
  5853.     "DISGUST",
  5854.     "DONT_HIT",
  5855.     "DUNK_TANK",
  5856.     "ENGLISH",
  5857.     "FAKE_ID",
  5858.     "FIGHTING",
  5859.     "FIGHTING_DROPOUT",
  5860.     "FIGHTING_GREASER",
  5861.     "FIGHTING_JOCK",
  5862.     "FIGHTING_NERD",
  5863.     "FIGHTING_PREP",
  5864.     "FIGHT_BEATEN",
  5865.     "FIGHT_FLEE",
  5866.     "FIGHT_INITIATE",
  5867.     "FIGHT_SACKED",
  5868.     "FIGHT_SPAT_UPON",
  5869.     "FIGHT_WATCH",
  5870.     "FIGHT_WTF",
  5871.     "FIREALARM_REACTION",
  5872.     "FLEE",
  5873.     "FLUSTERED",
  5874.     "FOOD_FIGHT",
  5875.     "FOOT_STOMPED",
  5876.     "FOR_SALE",
  5877.     "FREAKSHOW_REACTION",
  5878.     "FREAK_OUT_GIRL",
  5879.     "FREAK_OUT_GIRL_DORM",
  5880.     "FREAK_SHOW",
  5881.     "GENERIC_GIFT_REQUEST",
  5882.     "GIFT_RECEIVE",
  5883.     "GIFT_RECEIVE_EXTORTION",
  5884.     "GIFT_RECEIVE_ROMANTIC",
  5885.     "GIFT_REQUEST_EXTORTION",
  5886.     "GIFT_REQUEST_GIRL",
  5887.     "GIVE",
  5888.     "GRAFFITI",
  5889.     "GREAT_ESCAPE",
  5890.     "GREET",
  5891.     "PLAYER_AFFIRMATIVE",
  5892.     "PLAYER_APOLOGY_AUTHORITY_GOOD",
  5893.     "PLAYER_APOLOGY_AUTHORITY_POOR",
  5894.     "PLAYER_APOLOGY_BEG",
  5895.     "PLAYER_APOLOGY_CHILL",
  5896.     "PLAYER_APOLOGY_GENERIC",
  5897.     "PLAYER_APOLOGY_GIRL",
  5898.     "PLAYER_APOLOGY_SMOOTH",
  5899.     "PLAYER_BEATEN",
  5900.     "PLAYER_BIKE_CRASH",
  5901.     "PLAYER_BIKE_STEALING",
  5902.     "PLAYER_BIKE_STOLEN",
  5903.     "PLAYER_BINNING",
  5904.     "PLAYER_BOOT",
  5905.     "PLAYER_CAMERA",
  5906.     "PLAYER_CAMERA_BAD",
  5907.     "PLAYER_CAMERA_GOOD",
  5908.     "PLAYER_DEFEAT_INDIVIDUAL",
  5909.     "PLAYER_DEFEAT_TEAM",
  5910.     "PLAYER_DEJECTED",
  5911.     "PLAYER_DRINK",
  5912.     "PLAYER_ENTER_RIDE",
  5913.     "PLAYER_EXCUSE",
  5914.     "PLAYER_EXIT_RIDE",
  5915.     "PLAYER_FLIRT_DEFAULT",
  5916.     "PLAYER_FLIRT_GOOD",
  5917.     "PLAYER_FLIRT_POOR",
  5918.     "PLAYER_GET_COLLECTIBLE",
  5919.     "PLAYER_GET_MONEY",
  5920.     "PLAYER_GET_WEAPON",
  5921.     "PLAYER_GIFT_GENERAL",
  5922.     "PLAYER_GIFT_GIVE_DOG",
  5923.     "PLAYER_GIFT_GIVE_EXTORTION",
  5924.     "PLAYER_GIFT_GIVE_GIRL",
  5925.     "PLAYER_GREET_ADULT_FEMALE",
  5926.     "PLAYER_GREET_ADULT_MALE",
  5927.     "PLAYER_GREET_ASSIST",
  5928.     "PLAYER_GREET_FRIENDLY_DOG",
  5929.     "PLAYER_GREET_GENERIC",
  5930.     "PLAYER_GREET_GENERIC_BOY",
  5931.     "PLAYER_GREET_GENERIC_GIRL",
  5932.     "PLAYER_GREET_HARASS",
  5933.     "PLAYER_HIT_SWITCH",
  5934.     "PLAYER_IDLE",
  5935.     "PLAYER_IDLE_CLASS",
  5936.     "PLAYER_IDLE_RAIN",
  5937.     "PLAYER_IDLE_SHIVER",
  5938.     "PLAYER_IDLE_TIRED",
  5939.     "PLAYER_IDLE_WINTER",
  5940.     "PLAYER_INFIRMARY",
  5941.     "PLAYER_JEER",
  5942.     "PLAYER_LAUGH_CRUEL",
  5943.     "PLAYER_LAUGH_FRIENDLY",
  5944.     "PLAYER_LOCKED",
  5945.     "PLAYER_LOCKERING",
  5946.     "PLAYER_MAKE_OUT",
  5947.     "PLAYER_MISCHIEVOUS",
  5948.     "PLAYER_MISSION_SUCCESS",
  5949.     "PLAYER_NEGATIVE",
  5950.     "PLAYER_OFFICE",
  5951.     "PLAYER_PRIZE_TICKETS",
  5952.     "PLAYER_STEALTH",
  5953.     "PLAYER_STEALTH_POTTY",
  5954.     "PLAYER_SUCCESS",
  5955.     "PLAYER_TAG_COMPLETE",
  5956.     "PLAYER_TAUNT",
  5957.     "PLAYER_THROW_BALL",
  5958.     "PLAYER_TIRED",
  5959.     "PLAYER_TOILET_DUNK",
  5960.     "PLAYER_TRASH_TALK",
  5961.     "PLAYER_URINATING",
  5962.     "PLAYER_VICTORY_INDIVIDUAL",
  5963.     "PLAYER_VICTORY_TEAM",
  5964.     "PLAYER_WHEE",
  5965.     "PRANK",
  5966.     "PRINCIPAL_LECTURING",
  5967.     "PRIOFF",
  5968.     "PUKE",
  5969.     "PUKE_START",
  5970.     "RAT_HIT",
  5971.     "RAT_KILLER",
  5972.     "RESPONSE_GREET_DISS",
  5973.     "RESPONSE_GREET_FRIENDLY",
  5974.     "RESPONSE_IGNORE",
  5975.     "RESPONSE_UNINTERESTED",
  5976.     "SCARED",
  5977.     "SCARED_CRY",
  5978.     "SEE_ALLY_ATTACKED",
  5979.     "SEE_BOY_IN_DORM",
  5980.     "SEE_SOMETHING_COOL",
  5981.     "SEE_SOMETHING_CRAP",
  5982.     "SEE_VANDALISM",
  5983.     "SEE_WEAPON_FIRED",
  5984.     "SHIPPING",
  5985.     "SHOP_CLASS",
  5986.     "SNOW_SHOVELLING",
  5987.     "SOLD",
  5988.     "STEALTH_CONFUSION",
  5989.     "STEALTH_DISCOVERING",
  5990.     "STEALTH_INVESTIGATING",
  5991.     "STEALTH_PURSUIT",
  5992.     "STEALTH_TARGET_LOST",
  5993.     "STINK_BOMB",
  5994.     "STORE_BYE_BUY",
  5995.     "STORE_BYE_NOBUY",
  5996.     "STORE_BYE_NO_BUY",
  5997.     "STORE_CHASE_VANDAL",
  5998.     "STORE_CLOTHES_BROWSING",
  5999.     "STORE_CLOTHING_COMMENT",
  6000.     "STORE_VIOLENCE_RESPONSE",
  6001.     "STORE_WELCOME",
  6002.     "STRANGE_HOBO",
  6003.     "SUCKING_UP",
  6004.     "TAGGING_DISAPPROVE",
  6005.     "TATTLE",
  6006.     "TATTLED",
  6007.     "TAUNT",
  6008.   }
  6009. end
  6010.  
  6011. function S_SetupAlly()
  6012.   al = 1
  6013.   als = {
  6014.     "1.Dismiss All Allies",
  6015.     "2.Dismiss Ally",
  6016.   }
  6017. end
  6018.  
  6019. function S_SetupPedEditor()
  6020.   pem = {
  6021.     "1.Populations",
  6022.     "2.Fighting System",
  6023.     "3.Voice",
  6024.     "4.Stats",
  6025.     "5.Attack Freq",
  6026.   }
  6027.   fsm = {
  6028.     {"1.Run from the fight",RunFromBattle},
  6029.     {"2.Don't fight back",DontFightBack},
  6030.     {"3.Attack each other",AttackEachOther}
  6031.   }
  6032. end
  6033.  
  6034. function S_SetupGirlfriends()
  6035.   peds = {
  6036.     {index = 2,fact = "STUDENT",gender = 1,name = "Zoe"},
  6037.     {index = 3,fact = "NERD",gender = 1,name = "Beatrice"},
  6038.     {index = 14,fact = "JOCK",gender = 1,name = "Mandy"},
  6039.     {index = 25,fact = "GREASER",gender = 1,name = "Lola"},
  6040.     {index = 38,fact = "PREPPY",gender = 1,name = "Pinky"},
  6041.     {index = 39,fact = "STUDENT",gender = 1,name = "Angie"},
  6042.     {index = 48,fact = "DROPOUT",gender = 1,name = "Zoe"},
  6043.     {index = 54,fact = "TEACHER",gender = 1,name = "MissPeabody"},
  6044.     {index = 58,fact = "TEACHER",gender = 1,name = "Edna"},
  6045.     {index = 59,fact = "TEACHER",gender = 1,name = "MissWinston"},
  6046.     {index = 60,fact = "TEACHER",gender = 1,name = "MrsMcRae"},
  6047.     {index = 62,fact = "TEACHER",gender = 1,name = "MrsCarvin"},
  6048.     {index = 63,fact = "TEACHER",gender = 1,name = "MsPhillips"},
  6049.     {index = 67,fact = "STUDENT",gender = 1,name = "Christy"},
  6050.     {index = 68,fact = "STUDENT",gender = 1,name = "Gloria"},
  6051.     {index = 74,fact = "STUDENT",gender = 1,name = "Eunice"},
  6052.     {index = 78,fact = "TOWNPERSON",gender = 1,name = "MsKopke"},
  6053.     {index = 79,fact = "TOWNPERSON",gender = 1,name = "MsRushinski"},
  6054.     {index = 80,fact = "TOWNPERSON",gender = 1,name = "MsIsaacs"},
  6055.     {index = 81,fact = "TOWNPERSON",gender = 1,name = "BethanyJones"},
  6056.     {index = 90,fact = "SLEEP",gender = 1,name = "Christy"},
  6057.     {index = 93,fact = "SLEEP",gender = 1,name = "Mandy"},
  6058.     {index = 94,fact = "SLEEP",gender = 1,name = "Pinky"},
  6059.     {index = 95,fact = "SLEEP",gender = 1,name = "Beatrice"},
  6060.     {index = 96,fact = "SLEEP",gender = 1,name = "Lola"},
  6061.     {index = 107,fact = "SHOPKEEP",gender = 1,name = "MissAbby"},
  6062.     {index = 137,fact = "STUDENT",gender = 1,name = "Melody"},
  6063.     {index = 138,fact = "STUDENT",gender = 1,name = "Karen"},
  6064.     {index = 140,fact = "TOWNPERSON",gender = 1,name = "Brandy"},
  6065.     {index = 143,fact = "TOWNPERSON",gender = 1,name = "Crystal"},
  6066.     {index = 166,fact = "STUDENT",gender = 1,name = "Angie"},
  6067.     {index = 167,fact = "PREPPY",gender = 1,name = "Pinky"},
  6068.     {index = 175,fact = "PREPPY",gender = 1,name = "Pinky"},
  6069.     {index = 180,fact = "STUDENT",gender = 1,name = "Angie"},
  6070.     {index = 181,fact = "STUDENT",gender = 1,name = "Christy"},
  6071.     {index = 182,fact = "PREPPY",gender = 1,name = "Pinky"},
  6072.     {index = 185,fact = "TOWNPERSON",gender = 1,name = "MrsLisburn"},
  6073.     {index = 191,fact = "TOWNPERSON",gender = 1,name = "Paris"},
  6074.     {index = 192,fact = "TOWNPERSON",gender = 1,name = "Courtney"},
  6075.     {index = 193,fact = "TOWNPERSON",gender = 1,name = "Delilah"},
  6076.     {index = 221,fact = "TEACHER",gender = 1,name = "Edna"},
  6077.     {index = 230,fact = "JOCK",gender = 1,name = "Mandy"},
  6078.     {index = 249,fact = "TEACHER",gender = 1,name = "MusicTeacher"},
  6079.     {index = 256,fact = "STUDENT",gender = 1,name = "Eunice"},
  6080.     {index = 257,fact = "STUDENT",gender = 1,name = "Melody"}
  6081.   }
  6082. end
  6083.  
  6084. function S_SetupPickup()
  6085.   pcss = {
  6086.     {name = "Apple",model = 310},
  6087.     {name = "Banana",model = 358},
  6088.     {name = "Baseball",model = 302},
  6089.     {name = "Basket Ball",model = 381},
  6090.     {name = "Bat",model = 300},
  6091.     {name = "Big Firework",model = 397},
  6092.     {name = "Books 1",model = 405},
  6093.     {name = "Books 2",model = 413},
  6094.     {name = "Books 3",model = 414},
  6095.     {name = "Books 4",model = 415},
  6096.     {name = "Books 5",model = 416},
  6097.     {name = "Brick",model = 311},
  6098.     {name = "Broom",model = 377},
  6099.     {name = "Camera",model = 328},
  6100.     {name = "Digital Camera",model = 426},
  6101.     {name = "Dead Rat",model = 346},
  6102.     {name = "Devil Fork",model = 409},
  6103.     {name = "Dish",model = 338},
  6104.     {name = "Egg",model = 312},
  6105.     {name = "Fire Extinguisher",model = 326},
  6106.     {name = "Fire cracker",model = 301},
  6107.     {name = "Football",model = 331},
  6108.     {name = "Football (Bomb)",model = 400},
  6109.     {name = "Frisbee",model = 335},
  6110.     {name = "Gold Pipe",model = 418},
  6111.     {name = "Itchy Powder",model = 394},
  6112.     {name = "Kick Me",model = 372},
  6113.     {name = "Marbles",model = 349},
  6114.     {name = "News Roll",model = 320},
  6115.     {name = "Pinky Wand",model = 410},
  6116.     {name = "Plate",model = 355},
  6117.     {name = "Poison Gun",model = 395},
  6118.     {name = "Rocket Launcher",model = 307},
  6119.     {name = "Rubber Band",model = 325},
  6120.     {name = "Shield",model = 387},
  6121.     {name = "Metal Plate",model = 360},
  6122.     {name = "Skateboard",model = 437},
  6123.     {name = "Sledge Hammer",model = 324},
  6124.     {name = "Slingshot",model = 303},
  6125.     {name = "Snowball",model = 313},
  6126.     {name = "Snowball 2",model = 330},
  6127.     {name = "Soccer Ball",model = 329},
  6128.     {name = "Spray Can",model = 321},
  6129.     {name = "Spud Gun",model = 305},
  6130.     {name = "Stink Bomb",model = 309},
  6131.     {name = "Super Slingshot",model = 306},
  6132.     {name = "Super Spud Gun",model = 396},
  6133.     {name = "Trash Lid",model = 315},
  6134.     {name = "Umbrella",model = 404},
  6135.     {name = "Vase 1",model = 354},
  6136.     {name = "Vase 2",model = 353},
  6137.     {name = "Vase 3",model = 345},
  6138.     {name = "Water Baloon",model = 383},
  6139.     {name = "Water Pipe",model = 342},
  6140.     {name = "Whip",model = 411},
  6141.     {name = "Wood Paddle",model = 357},
  6142.     {name = "Wood Plank",model = 323},
  6143.     {name = "Yardstick",model = 299},
  6144.   }
  6145. end
  6146.  
  6147. function S_CutsEdit()
  6148.   moc = {
  6149.     {"1.Load Cutscene",load_cut},
  6150.     {"2.Cutscene Actions",cut_act},
  6151.     {"3.Cutscene Audio",cut_sound},
  6152.     {"4.Play Custome Cuts",play_cc},
  6153.   }
  6154.   mof = {
  6155.     "GENERAL",
  6156.     "RANDOM",
  6157.     "3-01AA",
  6158.     "3-01AB",
  6159.     "3-01BA",
  6160.     "3-01CA",
  6161.     "3-01CB",
  6162.     "3-01DA",
  6163.     "3-01DB",
  6164.     "3-01DC",
  6165.     "2-S07",
  6166.     "3-R05A",
  6167.     "3-R05B",
  6168.     "3-R07",
  6169.     "3-S08",
  6170.     "CS_COUNTER",
  6171.     "1-1-1",
  6172.     "1-01",
  6173.     "1-02B",
  6174.     "1-02D",
  6175.     "1-02E",
  6176.     "1-03",
  6177.     "1-04",
  6178.     "1-05",
  6179.     "1-06",
  6180.     "1-06B",
  6181.     "1-07",
  6182.     "1-08",
  6183.     "1-09",
  6184.     "1-10",
  6185.     "1-11",
  6186.     "1-B",
  6187.     "1-BB",
  6188.     "1-BC",
  6189.     "2-01",
  6190.     "2-02",
  6191.     "2-03",
  6192.     "2-03b",
  6193.     "2-04",
  6194.     "2-05",
  6195.     "2-06",
  6196.     "2-07",
  6197.     "2-08",
  6198.     "2-09",
  6199.     "2-09B",
  6200.     "3-01",
  6201.     "3-03",
  6202.     "3-04",
  6203.     "3-04B",
  6204.     "3-05",
  6205.     "3-06",
  6206.     "4-01",
  6207.     "4-02",
  6208.     "4-03",
  6209.     "4-04",
  6210.     "4-05",
  6211.     "4-06",
  6212.     "5-01",
  6213.     "5-02",
  6214.     "5-02B",
  6215.     "5-03",
  6216.     "5-04",
  6217.     "5-05",
  6218.     "5-06",
  6219.     "5-07",
  6220.     "5-09",
  6221.     "5-09B",
  6222.     "6-02",
  6223.     "6-02B",
  6224.     "1-G1",
  6225.     "1-S01",
  6226.     "2-B",
  6227.     "2-BB",
  6228.     "2-0",
  6229.     "2-S02",
  6230.     "2-S04",
  6231.     "2-S05",
  6232.     "2-S05B",
  6233.     "2-S05C",
  6234.     "2-S06",
  6235.     "2-G2",
  6236.     "3-B",
  6237.     "3-BB",
  6238.     "3-BC",
  6239.     "3-0",
  6240.     "3-G3",
  6241.     "3-S03",
  6242.     "3-S10",
  6243.     "3-S11",
  6244.     "3-S11C",
  6245.     "4-B1",
  6246.     "4-B1B",
  6247.     "4-B1C",
  6248.     "4-B1D",
  6249.     "4-B2",
  6250.     "4-B2B",
  6251.     "4-G4",
  6252.     "4-S12",
  6253.     "4-S12B",
  6254.     "4-0",
  6255.     "5-0",
  6256.     "5-05B",
  6257.     "5-B",
  6258.     "5-G5",
  6259.     "6-0",
  6260.     "6-B",
  6261.     "6-BB",
  6262.     "6-BC",
  6263.     "FX-TEST",
  6264.     "5-BC",
  6265.     "3-BD",
  6266.   }
  6267. end
  6268.  
  6269. function StrafeSelectionMenu()
  6270.   smn = {
  6271.     "1.Button",
  6272.     "2.Replace Anim",
  6273.     "3.Button while playing anim",
  6274.     "4.After Anim",
  6275.     "5.Button after playing anim",
  6276.     "6.Add Animation",
  6277.   }
  6278. end
  6279.  
  6280. ---------------------------------------SM_SYSTEM----------------------------------------
  6281.  
  6282. function READ_ME_FIRST()
  6283.   userAgreement = "DO NOT STEAL/REUPLOAD THIS MOD"
  6284.   authorMods = "Rizq Muhammad Ariiq A.K.A Altamurenza"
  6285. end
  6286.  
  6287. function main()
  6288.   local timer
  6289.   while not SystemIsReady() or AreaIsLoading() do
  6290.     Wait(0)
  6291.   end
  6292.   -- Load setup items:
  6293.   setup_loader()
  6294.   -- Prepare all items:
  6295.   F_RELOAD()
  6296.  
  6297.   repeat
  6298.     -- Main menu string:
  6299.     M_MainMenu(true,3.5)
  6300.     -- Frames:
  6301.     Wait(0)
  6302.   until not Alive
  6303.   F_main()
  6304. end
  6305.  
  6306. function F_main()
  6307.   Wait(100)
  6308.   local cho = "YES"
  6309.   repeat
  6310.     if IsButtonBeingPressed(1,0) then
  6311.       cho = "YES"
  6312.     elseif IsButtonBeingPressed(0,0) then
  6313.       cho = "NO"
  6314.     end
  6315.     TextPrintString("Are you sure want to restart?\n\n> "..cho.." <",0,1)
  6316.     TextPrintString("[~dleft~ NO | YES ~dright~]",0,2)
  6317.     Wait(0)
  6318.   until IsButtonBeingReleased(3,0)
  6319.   if cho == "YES" then
  6320.     --PlayerStopAllActionControllers()
  6321.     if not PedIsModel(gPlayer,0) then
  6322.       PlayerSwapModel("player")
  6323.     end
  6324.     PedSetActionTree(gPlayer,"/Global/Player","Act/Anim/Player.act")
  6325.     DisablePunishmentSystem(false)
  6326.     PedSetEffectedByGravity(gPlayer,true)
  6327.     PedSetFlag(gPlayer,24,false)
  6328.     PedSetFlag(gPlayer,58,false)
  6329.     PedSetFlag(gPlayer,9,false)
  6330.     TerminateThread("ATZ_HeadScriptA")
  6331.     TerminateThread("ATZ_Fixer")
  6332.     TerminateThread("SavedStrafe")
  6333.     TerminateThread("MovementsScript")
  6334.     TerminateThread("RespectRepeater")
  6335.     RESET_ALL_SETTINGS()
  6336.     setup_loader()
  6337.     TextPrintString("RESTARTING..",9999,1)
  6338.     Wait(math.random(1500,4000))
  6339.     F_RELOAD()
  6340.     repeat
  6341.       -- Main menu string:
  6342.       M_MainMenu(true,3.5)
  6343.       -- Frames:
  6344.       Wait(0)
  6345.     until not Alive -- REPEAT FOREVER (Same with "Until not Alive", but you can setting the repeat main)
  6346.     F_main()
  6347.   end
  6348. end
  6349.  
  6350. function setup_loader()
  6351.   L_LoadAllAnim()
  6352.   S_SetupTable()
  6353.   S_Settings()
  6354.   S_SetupCore()
  6355.   S_SetupLM()
  6356.   S_SetupActionNodeFinder() -- DaBoss MODS
  6357.   S_SetupAnim()
  6358.   S_SetupSpeech()
  6359.   S_SetupPedFinder()
  6360.   S_SetupVehicleFinder()
  6361.   S_CutsEdit()
  6362. end
  6363.  
  6364. function M_MainMenu(ShowMainMenu,TextTimer)
  6365.   if ShowMainMenu then
  6366.     if PedHasWeapon(gPlayer,426) then
  6367.       HUDPhotographySetColourUpgrade(true) -- Enable coloured photo
  6368.     elseif PedHasWeapon(gPlayer,328) then
  6369.       HUDPhotographySetColourUpgrade(false) -- Disable coloured photo
  6370.     end
  6371.     -- Unhide menu:
  6372.     if hidingMenu == "MANUAL" then
  6373.       if IsButtonBeingReleased(14,0) then
  6374.         if timer and GetTimer() < timer + 500 then
  6375.           SoundPlay2D("Erand")
  6376.           if unhideMenu == 1 then
  6377.             unhideMenu = 0
  6378.           elseif unhideMenu == 0 then
  6379.             unhideMenu = 1
  6380.           end
  6381.         else
  6382.           timer = GetTimer()
  6383.         end
  6384.       end
  6385.     end
  6386.     ibbp = IsButtonBeingPressed
  6387.     ibbr = IsButtonBeingReleased
  6388.     if hidingMenu == "MANUAL" then
  6389.       -- Main Menu activated:
  6390.       if (IsButtonBeingPressed(0,0) or faster_select(0)) and unhideMenu == 1 then
  6391.         SoundPlay2D("NavDwn")
  6392.         select = select - 1
  6393.         if select < 1 then select = table.getn(SetupATZ) end
  6394.       elseif (IsButtonBeingPressed(1,0) or faster_select(1)) and unhideMenu == 1 then
  6395.         SoundPlay2D("NavDwn")
  6396.         select = select + 1
  6397.         if select > table.getn(SetupATZ) then select = 1 end
  6398.       end
  6399.       if unhideMenu == 1 and not shared.PlayerInClothingManager and not shared.playerShopping then
  6400.         -- Text menu:
  6401.         -- There is 5 coulum of menu to the below:
  6402.         if MainMenuType == "SCROLL_5" then
  6403.           if not (select == table.getn(SetupATZ) or select == 1 or select == 2 or select == table.getn(SetupATZ) - 1) then
  6404.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",0,1)
  6405.           elseif select == 1 then
  6406.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",0,1)
  6407.           elseif select == 2 then
  6408.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",0,1)
  6409.           elseif select == table.getn(SetupATZ) - 1 then
  6410.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",0,1)
  6411.           elseif select == table.getn(SetupATZ) then
  6412.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":",0,1)
  6413.           end
  6414.         elseif MainMenuType == "STANDARD" then
  6415.           TextPrintString("SELECTOR MOD\n"..Version.."\n\n"..SetupATZ[select][1].."",0,1)
  6416.         elseif MainMenuType == "SCROLL_3" then
  6417.           if select == 1 then
  6418.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",0,1)
  6419.           elseif select == table.getn(SetupATZ) then
  6420.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":",0,1)
  6421.           elseif not (select == table.getn(SetupATZ) or select == 1) then
  6422.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",0,1)
  6423.           end
  6424.         elseif MainMenuType == "BASIC_BIG_SIZE" then
  6425.           TextPrintString(">"..SetupATZ[select][1].."<",0,1)
  6426.         elseif MainMenuType == "BASIC_SMALL_SIZE" then
  6427.           TextPrintString(">"..SetupATZ[select][1].."<",0,2)
  6428.         elseif MainMenuType == "NEW_MENU" then
  6429.           S_NewMenuSystem()
  6430.           if not (select == table.getn(NewSetupATZ) or select == 1 or select == 2 or select == table.getn(NewSetupATZ) - 1) then
  6431.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",0,1)
  6432.           elseif select == 1 then
  6433.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",0,1)
  6434.           elseif select == 2 then
  6435.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",0,1)
  6436.           elseif select == table.getn(SetupATZ) - 1 then
  6437.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."",0,1)
  6438.           elseif select == table.getn(SetupATZ) then
  6439.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":",0,1)
  6440.           end
  6441.         elseif MainMenuType == "NO_TEXT" then
  6442.           TextPrintString("",0,1)
  6443.         end
  6444.       end
  6445.       -- Selector function:
  6446.       if IsButtonBeingReleased(3,0) and unhideMenu == 1 then
  6447.         if MainMenuType ~= "NEW_MENU" then
  6448.           SetupATZ[select][2]()
  6449.         else
  6450.           NewSetupATZ[select][2]()
  6451.         end
  6452.       end
  6453.     elseif hidingMenu == "AUTO" and not shared.PlayerInClothingManager and not shared.playerShopping then
  6454.       if (IsButtonBeingPressed(0,0) or faster_select(0)) and PlayerInAnyActivity() then
  6455.         SoundPlay2D("NavDwn")
  6456.         select = select - 1
  6457.         if select < 1 then select = table.getn(SetupATZ) end
  6458.       elseif (IsButtonBeingPressed(1,0) or faster_select(1)) and PlayerInAnyActivity() then
  6459.         SoundPlay2D("NavDwn")
  6460.         select = select + 1
  6461.         if select > table.getn(SetupATZ) then select = 1 end
  6462.       end
  6463.       if (ibbp(0,0) or faster_select(0) or ibbp(1,0) or faster_select(1) or ibbr(14,0) or AutoShowingTextAfterExitingSubMenu) then
  6464.         -- Text menu:
  6465.         -- There is 5 coulum of menu to the below:
  6466.         if MainMenuType == "SCROLL_5" then
  6467.           if not (select == table.getn(SetupATZ) or select == 1 or select == 2 or select == table.getn(SetupATZ) - 1) then
  6468.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",TextTimer,1)
  6469.           elseif select == 1 then
  6470.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",TextTimer,1)
  6471.           elseif select == 2 then
  6472.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."\n"..SetupATZ[select + 2][1].."",TextTimer,1)
  6473.           elseif select == table.getn(SetupATZ) - 1 then
  6474.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",TextTimer,1)
  6475.           elseif select == table.getn(SetupATZ) then
  6476.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 2][1].."\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":",TextTimer,1)
  6477.           end
  6478.         elseif MainMenuType == "STANDARD" then
  6479.           TextPrintString("SELECTOR MOD\n"..Version.."\n\n"..SetupATZ[select][1].."",TextTimer,1)
  6480.         elseif MainMenuType == "SCROLL_3" then
  6481.           if select == 1 then
  6482.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",TextTimer,1)
  6483.           elseif select == table.getn(SetupATZ) then
  6484.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":",TextTimer,1)
  6485.           elseif not (select == table.getn(SetupATZ) or select == 1) then
  6486.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n"..SetupATZ[select - 1][1].."\n:"..SetupATZ[select][1]..":\n"..SetupATZ[select + 1][1].."",TextTimer,1)
  6487.           end
  6488.         elseif MainMenuType == "BASIC_BIG_SIZE" then
  6489.           TextPrintString(">"..SetupATZ[select][1].."<",TextTimer,1)
  6490.         elseif MainMenuType == "BASIC_SMALL_SIZE" then
  6491.           TextPrintString(">"..SetupATZ[select][1].."<",TextTimer,2)
  6492.         elseif MainMenuType == "NEW_MENU" then
  6493.           S_NewMenuSystem()
  6494.           if not (select == table.getn(NewSetupATZ) or select == 1 or select == 2 or select == table.getn(NewSetupATZ) - 1) then
  6495.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",TextTimer,1)
  6496.           elseif select == 1 then
  6497.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",TextTimer,1)
  6498.           elseif select == 2 then
  6499.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."\n"..NewSetupATZ[select + 2][1].."",TextTimer,1)
  6500.           elseif select == table.getn(SetupATZ) - 1 then
  6501.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":\n"..NewSetupATZ[select + 1][1].."",TextTimer,1)
  6502.           elseif select == table.getn(SetupATZ) then
  6503.             TextPrintString("SELECTOR MOD\n"..Version.."\n\n\n>"..select.."."..NewSetupATZ[select][1].."<\n\n"..NewSetupATZ[select - 2][1].."\n"..NewSetupATZ[select - 1][1].."\n:"..NewSetupATZ[select][1]..":",TextTimer,1)
  6504.           end
  6505.         elseif MainMenuType == "NO_TEXT" then
  6506.           TextPrintString("",TextTimer,1)
  6507.         end
  6508.         AutoShowingTextAfterExitingSubMenu = false
  6509.       end
  6510.       -- Selector function:
  6511.       if IsButtonBeingReleased(3,0) then
  6512.         if MainMenuType ~= "NEW_MENU" then
  6513.           SetupATZ[select][2]()
  6514.         else
  6515.           NewSetupATZ[select][2]()
  6516.         end
  6517.       end
  6518.     end
  6519.   end
  6520. end
  6521.  
  6522. function F_RELOAD()
  6523.   Load = 0
  6524.   FullLoaded = false
  6525.   repeat
  6526.     if Load > 100 then
  6527.       Load = 100
  6528.     end
  6529.     Load = Load + 1
  6530.     Wait(math.random(0,70))
  6531.     if Load == 100 then
  6532.       FullLoaded = true
  6533.     end
  6534.     TextPrintString("SELECTOR MOD\n\nLoading: "..Load.."%",1,1)
  6535.     if Load == 5 then
  6536.       --TextPrintString("DATA: ATZ_HeadScriptA",10,2)
  6537.       CreateThread("ATZ_HeadScriptA") -- Save your configuration without stoped whole repeat function
  6538.     elseif Load == 80 then
  6539.       --TextPrintString("DATA: SavedStrafe",10,2)
  6540.       CreateThread("SavedStrafe") -- Save your configuration without stoped whole repeat function
  6541.     elseif Load == 20 then
  6542.       --TextPrintString("DATA: ATZ_Fixer",10,2)
  6543.       CreateThread("ATZ_Fixer")
  6544.     elseif Load == 40 then
  6545.       --TextPrintString("DATA: RespectRepeater",10,2)
  6546.       CreateThread("RespectRepeater")
  6547.     elseif Load == 60 then
  6548.       --TextPrintString("DATA: MovementsScript",10,2)
  6549.       CreateThread("MovementsScript")
  6550.     end
  6551.   until FullLoaded
  6552.   Load = 0
  6553.   FullLoaded = false
  6554.   TextPrintString("",0,1)
  6555.   TextPrintString("",0,2)
  6556. end
  6557.  
  6558. function PlayerGetModelID()
  6559.   -- This is not really check player get model if you use another mods, this is only for this mod.
  6560.   if modelSelect == 1 then
  6561.     return 0
  6562.   else
  6563.     return modelSelect
  6564.   end
  6565. end
  6566.  
  6567. function PedGetModel(ped)
  6568.   -- This is the original way to check ped get model, you can use this for another mods.
  6569.   -- NOTE: Force Brute methode.
  6570.   for i = 0,258 do
  6571.     if PedIsModel(ped,i) then
  6572.       return i
  6573.     end
  6574.   end
  6575. end
  6576.  
  6577. function PedGetModelID(ped)
  6578.   -- This is not really check ped get model if you use another mods, this is only for Ped Finder in Selector Mod.
  6579.   if pedGrab == 1 then
  6580.     return 0
  6581.   else
  6582.     return pedGrab
  6583.   end
  6584. end
  6585.  
  6586. function PlayerInAnyActivity()
  6587.   return not shared.PlayerInClothingManager and not shared.playerShopping
  6588. end
  6589.  
  6590. function SavedStrafe()
  6591.   -- You're only have 15 button combination in bully.
  6592.  
  6593.   diffrent_strafe = true
  6594.  
  6595.   strafedAnim = true
  6596.  
  6597.   startRecord = false
  6598.  
  6599.   savedNode = "nil"
  6600.  
  6601.   playAnim,playAct = "nil","nil"
  6602.  
  6603.   untilStrafe1 = false
  6604.  
  6605.   while savedStrafe do
  6606.     -- Targeted Ped:
  6607.     local ped = PedGetTargetPed()
  6608.    
  6609.     -- DEFAULT_KEY Detection:
  6610.     if PedMePlaying(gPlayer,"DEFAULT_KEY") and PedHasWeapon(gPlayer,-1) then
  6611.       -- Brute-Force Method (Get all table number):
  6612.       for slb = 1,table.getn(strafe) do
  6613.         -- Fix bug player can't entering doors:
  6614.         if strafe[slb].button ~= 9 then
  6615.           -- Button Detection:
  6616.           if diffrent_strafe then
  6617.             -- Strafing:
  6618.            
  6619.             -- Strafe a block:
  6620.             if strafe[slb].anim == "/Global/J_Ted/Defense/Block/Block/BlockHits/Breaker" or strafe[slb].anim == "/Global/BOSS_Darby/Defense/Block/Block/BlockHits" then
  6621.               if PedIsValid(PedGetTargetPed(gPlayer)) and PedGetFlag(PedGetTargetPed(gPlayer),11,true) and IsButtonPressed(11,0) then
  6622.                 ExecuteActionNode(gPlayer,strafe[slb].anim,strafe[slb].act)
  6623.                 repeat
  6624.                   Wait(0)
  6625.                 until not PedIsValid(PedGetTargetPed(gPlayer)) or not PedGetFlag(PedGetTargetPed(gPlayer),11,true)
  6626.                 PlayerStopAllActionControllers()
  6627.               end
  6628.             -- Strafe normaly:
  6629.             else
  6630.               if IsButtonBeingPressed(strafe[slb].button,0) then
  6631.                 PedSetActionNode(gPlayer,strafe[slb].anim,strafe[slb].act)
  6632.               end
  6633.             end
  6634.           end
  6635.         elseif strafe[slb].button == 9 then
  6636.           -- Button Grapple Pressed:
  6637.           if IsButtonBeingPressed(strafe[slb].button,0) and PedIsValid(ped) then
  6638.             -- Strafing:
  6639.             PedSetActionNode(gPlayer,strafe[slb].anim,strafe[slb].act)
  6640.           end
  6641.         end
  6642.       end
  6643.     end
  6644.     -- GRAB Detection:
  6645.     if PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Front/Grapples/Hold_Idle",true) then
  6646.       -- GRAB Animation Detection:
  6647.       if grabAnim ~= "nil" and grabAct ~= "nil" then
  6648.         -- Strafing:
  6649.         PedSetActionNode(gPlayer,grabAnim,grabAct)
  6650.       end
  6651.     end
  6652.     -- MOUNT Detection:
  6653.     if PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Mount",true) then
  6654.       -- MOUNT Animation Detection:
  6655.       if mountAnim ~= "nil" and mountAct ~= "nil" then
  6656.         -- Strafing:
  6657.         PedSetActionNode(gPlayer,mountAnim,mountAct)
  6658.       end
  6659.     end
  6660.     -- Anim Detection:
  6661.     if strafedAnim then
  6662.       -- Brute-Force Method (Get all table number):
  6663.       for sld = 1,table.getn(strafeAnim) do
  6664.         local sas = strafeAnim[sld]
  6665.         if strafeAnim[sld].id == 0 then
  6666.           if strafeAnim[sld].mode == "replace" then
  6667.             if PedIsPlaying(gPlayer,strafeAnim[sld].playing,true) then
  6668.               if strafeAnim[sld].button == "nil" then
  6669.                 PedSetActionNode(gPlayer,strafeAnim[sld].anim,strafeAnim[sld].act)
  6670.               else
  6671.                 if IsButtonBeingPressed(strafeAnim[sld].button,0) then
  6672.                   PedSetActionNode(gPlayer,strafeAnim[sld].anim,strafeAnim[sld].act)
  6673.                 end
  6674.               end
  6675.             end
  6676.           elseif strafeAnim[sld].mode == "after" then
  6677.             if not untilStrafe and PedIsPlaying(gPlayer,strafeAnim[sld].playing,true) then
  6678.               local before_dead = GetTimer()
  6679.               local lose_timer = false
  6680.               local target_anim = strafeAnim[sld].anim
  6681.               repeat
  6682.                 -- SUSPENDER:
  6683.                 Wait(0)
  6684.                 -- PROCCESS:
  6685.                 if not PedIsPlaying(gPlayer,strafeAnim[sld].playing,true) then
  6686.                   if strafeAnim[sld].button == "nil" then
  6687.                     PedSetActionNode(gPlayer,strafeAnim[sld].anim,strafeAnim[sld].act)
  6688.                   else
  6689.                     if before_dead + 1000 <= GetTimer() then
  6690.                       lose_timer = true
  6691.                       before_dead = GetTimer()
  6692.                     else
  6693.                       if IsButtonBeingPressed(strafeAnim[sld].button,0) then
  6694.                         PedSetActionNode(gPlayer,strafeAnim[sld].anim,strafeAnim[sld].act)
  6695.                       end
  6696.                       before_dead = GetTimer()
  6697.                     end
  6698.                   end
  6699.                 end
  6700.               until PedIsPlaying(gPlayer,target_anim,true) or lose_timer
  6701.               untilStrafe = true
  6702.             end
  6703.           elseif untilStrafe then
  6704.             untilStrafe = false
  6705.           end
  6706.         elseif sas.id ~= 0 and sas.id ~= 999 then
  6707.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  6708.             if PedIsValid(ped) and ped ~= gPlayer and PedIsModel(ped,sas.id) then
  6709.               if strafeAnim[sld].mode == "replace" then
  6710.                 if PedIsPlaying(ped,sas.playing,true) then
  6711.                   PedSetActionNode(ped,sas.anim,sas.act)
  6712.                 end
  6713.               end
  6714.             end
  6715.           end
  6716.         elseif sas.id == 999 then
  6717.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  6718.             if PedIsValid(ped) and ped ~= gPlayer then
  6719.               if strafeAnim[sld].mode == "replace" then
  6720.                 if PedIsPlaying(ped,sas.playing,true) then
  6721.                   PedSetActionNode(ped,sas.anim,sas.act)
  6722.                 end
  6723.               elseif strafeAnim[sld].mode == "after" then
  6724.                 if not untilStrafe1 and PedIsPlaying(ped,strafeAnim[sld].playing,true) then
  6725.                   local target_anim1 = strafeAnim[sld].anim
  6726.                   repeat
  6727.                     -- SUSPENDER:
  6728.                     Wait(0)
  6729.                     -- PROCCESS:
  6730.                     if not PedIsPlaying(ped,strafeAnim[sld].playing,true) then
  6731.                       if strafeAnim[sld].button == "nil" then
  6732.                         PedSetActionNode(ped,strafeAnim[sld].anim,strafeAnim[sld].act)
  6733.                       end
  6734.                     end
  6735.                   until PedIsPlaying(ped,target_anim1,true)
  6736.                   untilStrafe1 = true
  6737.                 end
  6738.               elseif untilStrafe1 then
  6739.                 untilStrafe1 = false
  6740.               end
  6741.             end
  6742.           end
  6743.         end
  6744.       end
  6745.     end
  6746.     if table.getn(ped_strafes) >= 1 then
  6747.       for i = 1,table.getn(ped_strafes) do
  6748.         local l = ped_strafes[i]
  6749.         if PedIsValid(l.whom) then
  6750.           load_style()
  6751.           for a = 1,table.getn(lst) do
  6752.             enemy_tar = PedGetTargetPed(l.whom)
  6753.             if PedHasWeapon(l.whom,-1) and PedIsInCombat(l.whom) and PedIsValid(PedGetTargetPed(l.whom)) and PedGetTargetPed(enemy_tar) == l.whom and l.style == lst[a].name then
  6754.               if l.type == "Always" then
  6755.                 if math.random(1,1000) < 800 then
  6756.                   local random_attack = math.random(1,table.getn(lst[a].node))
  6757.                   if PedMePlaying(l.whom,"DEFAULT_KEY") and distance_between_us(l.whom,PedGetTargetPed(l.whom)) then
  6758.                     PedSetActionNode(l.whom,lst[a].node[random_attack][1],lst[a].node[random_attack][2])
  6759.                   end
  6760.                 end
  6761.               elseif l.type == "Faster" then
  6762.                 if math.random(1,1000) < 250 then
  6763.                   local random_attack = math.random(1,table.getn(lst[a].node))
  6764.                   if PedMePlaying(l.whom,"DEFAULT_KEY") and distance_between_us(l.whom,PedGetTargetPed(l.whom)) then
  6765.                     PedSetActionNode(l.whom,lst[a].node[random_attack][1],lst[a].node[random_attack][2])
  6766.                   end
  6767.                 end
  6768.               end
  6769.             end
  6770.           end
  6771.         else
  6772.           table.remove(ped_strafes,i)
  6773.         end
  6774.       end
  6775.     else
  6776.     end
  6777.     for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  6778.       if PedIsValid(ped) and ped ~= gPlayer then
  6779.         for x = 1,table.getn(ped_mix) do
  6780.           local m = ped_mix[x]
  6781.           if PedIsModel(ped,m.id) then
  6782.             if m.anim ~= nil and m.act ~= nil then
  6783.               if PedIsValid(PedGetTargetPed(ped)) then
  6784.                 local tar = PedGetTargetPed(ped)
  6785.                 if PedGetTargetPed(tar) == ped then
  6786.                   local x1,y1,z1 = PedGetPosXYZ(ped)
  6787.                   local x2,y2,z2 = PedGetPosXYZ(tar)
  6788.                   if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < m.range then
  6789.                     if m.use_evade then
  6790.                       if ped_is_attack(tar,ped) then
  6791.                         if PedMePlaying(ped,"DEFAULT_KEY") and math.random(1,100) <= m.fre then
  6792.                           PedSetActionNode(ped,m.anim,m.act)
  6793.                         end
  6794.                       end
  6795.                     else
  6796.                       if PedMePlaying(ped,"DEFAULT_KEY") and PedMePlaying(tar,"DEFAULT_KEY") and math.random(1,100) <= m.fre then
  6797.                         PedSetActionNode(ped,m.anim,m.act)
  6798.                       end
  6799.                     end
  6800.                   end
  6801.                 end
  6802.               end
  6803.             end
  6804.           else
  6805.           end
  6806.         end
  6807.       end
  6808.     end        
  6809.     -- Script suspender:
  6810.     Wait(0)
  6811.   end
  6812. end
  6813.  
  6814. function ATZ_Fixer()
  6815.  
  6816.   -- Don't included any mods here again, because too many mods make C++ Runtime Library error.
  6817.  
  6818.   -- While "repeat" statement is running, this part doesn't effected by that or this is can be said "Always Running".
  6819.  
  6820.   alert = true
  6821.  
  6822.   while FixBugs do
  6823.     Version = get_timer()
  6824.     -- Fixed broken model when changing clothes and you are not in player model:
  6825.     if not PedIsModel(gPlayer,0) and shared.PlayerInClothingManager then
  6826.       if use_fix_model == 2 or use_fix_model == 5 or use_fix_model == 6 then
  6827.         -- Fixing broken model
  6828.         PlayerSwapModel("player") -- Swap model to Player
  6829.         repeat
  6830.           Wait(0)
  6831.         until not shared.PlayerInClothingManager -- shared.PlayerInClothingManager is mean Player whole change his clothes or selecting clothes in safehouse
  6832.         PlayerSwapModel(saveModel) -- Back up model
  6833.         PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  6834.       end
  6835.     end
  6836.     -- Fixed broken model when changing clothes and you are not in player model:
  6837.     if not PedIsModel(gPlayer,0) and shared.playerShopping then
  6838.       if use_fix_model == 4 or use_fix_model == 5 or use_fix_model == 6 then
  6839.         -- Fixing broken model
  6840.         PlayerSwapModel("player") -- Swap model to Player
  6841.         repeat
  6842.           Wait(0)
  6843.         until not shared.playerShopping -- this mean player whole change his clothes in store
  6844.         PlayerSwapModel(saveModel) -- Back up model
  6845.         PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  6846.       end
  6847.     end
  6848.     -- Fixed ALT TAB crash while your not in Player model:
  6849.     if (IsButtonBeingReleased(4,0) or IsButtonBeingReleased(5,0)) and not PedIsModel(gPlayer,0) and GetCutsceneRunning() == 0 then
  6850.       if use_fix_model == 3 or use_fix_model == 5 or use_fix_model == 6 then
  6851.         local GetNumberSelectedModel = modelSelect
  6852.         modelSelect = 1
  6853.         PlayerSwapModel("player") -- I tried over 20 times and this way fixed crash after Alt Tab.
  6854.         Wait(10) -- You can't get everything instantly
  6855.         PlayerSwapModel(saveModel) -- Back up model
  6856.         PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  6857.         modelSelect = GetNumberSelectedModel
  6858.       end
  6859.     end
  6860.     -- Fixed menu changed while change clothes or buying clothes
  6861.     -- Fixed infinite loading after Fighting With Johnny Vincent:
  6862.     if MissionActiveSpecific("Chapt4Transition") then
  6863.       if not PedIsModel(gPlayer,0) then
  6864.         PlayerSwapModel("player")
  6865.         PedSetActionTree(gPlayer,"/Global/Player","Act/Anim/Player.act")
  6866.         movement = "DEFAULT"
  6867.         modelSelect = 1
  6868.         styleSelect = 1
  6869.       end
  6870.     end
  6871.     -- Another way to finish Finding Johnny Vincent mission:
  6872.     -- I just give 1x warning, i think 1 alert is enough for everyone.
  6873.     if MissionActiveSpecific("5_03") and alert then
  6874.       repeat
  6875.         -- [MANUAL] Hide selector menu:
  6876.         unhideMenu = 0
  6877.         -- [AUTO] Hide selector menu:
  6878.         M_MainMenu(false,0)
  6879.         -- Navigate:
  6880.         if IsButtonBeingPressed(0,0) then
  6881.           bugSelect = 1
  6882.         elseif IsButtonBeingPressed(1,0) then
  6883.           bugSelect = 2
  6884.         end
  6885.         -- Printing Text:
  6886.         if bugSelect == 1 then
  6887.           TextPrintString("[BUG DETECTOR]\n\nAre you sure want to force completing this mission?\n\n>YES<\nNO",0,1)
  6888.         else
  6889.           TextPrintString("[BUG DETECTOR]\n\nAre you sure want to force completing this mission?\n\nYES\n>NO<",0,1)
  6890.         end
  6891.         -- Notice:
  6892.         TextPrintString("BUGS: Crash when you get inside asylum.",0,2)
  6893.         -- Script suspender:
  6894.         Wait(0)
  6895.       until IsButtonBeingPressed(3,0) or GetCutsceneRunning() == 0
  6896.       if IsButtonBeingReleased(3,0) then
  6897.         -- If user want to force completing the mission:
  6898.         if bugSelect == 1 then
  6899.           -- Force complete:
  6900.           MissionForceCompleted("5_03",true)
  6901.           -- Add mission to completed mission list:
  6902.           MissionSuccessCountInc("5_03")
  6903.           -- Backup if never knockout feature is active:
  6904.           local backup = false
  6905.           -- Player set can knockout:
  6906.           if playerAlly == 0 then
  6907.             playerAlly = 1
  6908.             -- Store backup setting:
  6909.             backup = true
  6910.           end
  6911.           repeat
  6912.             -- Force make player knockout:
  6913.             PlayerKilled(true) -- Unused function.
  6914.             -- Script suspender:
  6915.             Wait(0)
  6916.           until not MissionActiveSpecific("5_03")
  6917.           -- Backup setting:
  6918.           if backup then
  6919.             -- Never knockout:
  6920.             playerAlly = 0
  6921.           end
  6922.         end
  6923.         -- No alerting after that:
  6924.         alert = false
  6925.       end
  6926.     end
  6927.     -- Fixed some cutscene bugs:
  6928.     -- Fixed area infinite loading:
  6929.     if PedIsPlaying(gPlayer,"/Global/Door/PedPropsActions",true) then
  6930.       if areaWait + 1000 <= GetTimer() then
  6931.         timerArea = timerArea + 1
  6932.         if timerArea > 10 then
  6933.           restoreArea = true
  6934.           timerArea = 0
  6935.         end
  6936.         areaWait = GetTimer()
  6937.       end
  6938.     else
  6939.       timerArea = 0
  6940.       areaWait = GetTimer()
  6941.     end
  6942.     -- Restore Area after infinite loading:
  6943.     if restoreArea then
  6944.       local resx,resy,resz = PlayerGetPosXYZ()
  6945.       PlayerSetPosXYZ(resx,resy,resz)
  6946.       local dest = AreaTransitionDestination()
  6947.       PlayerStopAllActionControllers()
  6948.       --AreaRegisterAreaScript(AreaTransitionDestination(),"AreaScripts/MainMap.lua")
  6949.       AllowAreaTransitions(true)
  6950.       CameraFade(500,1)
  6951.       AreaCancelStoredTransition()
  6952.       CameraReturnToPlayer()
  6953.       PlayerSetControl(1)
  6954.       find_current_error(dest,"read")
  6955.       restoreArea = false
  6956.     end
  6957.     -- Fixed bug player can't pickep up Key-Card:
  6958.     if MissionActiveSpecific("5_07a") or MissionActiveSpecific("5_06") then
  6959.       -- 1x Warning system:
  6960.       local stopRemove = false
  6961.       -- Remove item:
  6962.       if ItemGetCurrentNum(480) == 1 and not stopRemove then
  6963.         ItemSetCurrentNum(480,0)
  6964.         -- No warning after this:
  6965.         stopRemove = true
  6966.       end
  6967.     end
  6968.     if not MissionActiveSpecific("5_03") then
  6969.       if not alert then
  6970.         alert = true
  6971.       end
  6972.     end
  6973.     -- FIXED MISSION POTENTIALLY BUGS:
  6974.     if use_fix_model == 6 then
  6975.       if bugged_mission_running() then
  6976.         if MissionActiveSpecific("3_01C") then
  6977.           ActiveScripts = false
  6978.         else
  6979.           ActiveScripts = true
  6980.         end
  6981.         if not PedIsModel(gPlayer,0) then
  6982.           PlayerSwapModel("player")
  6983.           saveModel = "player"
  6984.           saveStyle = "Player"
  6985.         end
  6986.       else
  6987.         ActiveScripts = true
  6988.       end
  6989.     end
  6990.     -- Ped can run with set AI repeated:
  6991.     if not MissionActiveSpecific("3_B") then
  6992.       -- Fixing punch before run without bug in 3_B mission.
  6993.       if not (PedIsModel(gPlayer,0) or saveStyle == "Player") and PedHasWeapon(gPlayer,-1) then
  6994.         PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
  6995.       elseif PedIsModel(gPlayer,0) and saveStyle ~= "Player" and PedHasWeapon(gPlayer,-1) then
  6996.         PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
  6997.       end
  6998.     else
  6999.       if movement == "DEFAULT" then
  7000.         movement = "Authority"
  7001.       end
  7002.     end
  7003.     -- Frames:
  7004.     Wait(0)
  7005.   end
  7006. end
  7007.  
  7008. function ATZ_HeadScriptA()
  7009.  
  7010.   -- Don't included any mods here again, because too many mods make C++ Runtime Library error.
  7011.  
  7012.   -- While "repeat" statement is running, this part doesn't effected by that or this is can be said "Always Running".
  7013.  
  7014.   while true do
  7015.     if ActiveScripts then
  7016.       -- Alone In Bullworth:
  7017.       if alonePlayer == 1 then
  7018.         StopPedProduction(true)
  7019.       end
  7020.       -- Instant Kill:
  7021.       if damageWeapon == 1 then
  7022.         GameSetPedStat(gPlayer,31,999999999) -- Old version
  7023.         -- Lastest version has every damage
  7024.         for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  7025.           if PedIsValid(ped) and ped ~= gPlayer then
  7026.             if PedIsHit(ped,2) and PedGetWhoHitMeLast(ped) == gPlayer then
  7027.               PedApplyDamage(ped,PedGetHealth(ped) + 100)
  7028.             end
  7029.           end
  7030.         end
  7031.         --ObjectFindInArea
  7032.       end
  7033.       -- Knockout:
  7034.       if not clear and PedGetHealth(gPlayer) == 0 then
  7035.         clear = true
  7036.       end
  7037.       if playerAlly == 0 then
  7038.         local bustAnim,bustAct = "nil","nil"
  7039.         bustingAnims = {
  7040.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Adult_Takedown","Act/Globals.act"},
  7041.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Adult_Takedown/Hold_Cycle","Act/Globals.act"},
  7042.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/EarGrab","Act/Globals.act"},
  7043.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Punishment_Hold","Act/Globals.act"},
  7044.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Punishment_Hold/Hold_Cycle","Act/Globals.act"},
  7045.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Tonfa_Impale","Act/Globals.act"},
  7046.           {"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Tonfa_Impale/TonfaImpale","Act/Globals.act"}
  7047.         }
  7048.         keepIt = true
  7049.         PedSetFlag(gPlayer,58,true) -- Never busted or Dead, but sometimes it's a buggy from this one.
  7050.         --local KOnode,KOact = "/Global/1_07/KO_COLLAPSE","Act/Conv/1_07.act"
  7051.         local KOnode,KOact = "/Global/HitTree/Standing/PostHit/BellyUp/BellyUpGetUp/BellyUpGetUpGetUp","Act/HitTree.act"
  7052.         if PedGetHealth(gPlayer) == 0 and clear then
  7053.           if PlayerGetPunishmentPoints() == 300 then
  7054.             PedSetPunishmentPoints(gPlayer,0)
  7055.           end
  7056.           if keepIt then
  7057.             for i,enemy in {PedFindInAreaXYZ(0,0,0,999999)} do
  7058.               if PedIsValid(enemy) and enemy ~= gPlayer then
  7059.                 PedIgnoreAttacks(enemy,true)
  7060.                 PedClearHasAggressed(gPlayer)
  7061.                 PedClearHasAggressed(enemy)
  7062.                 PedSetFightingSystem(enemy,false)
  7063.                 local timer = 0
  7064.                 local t = GetTimer()
  7065.                 repeat
  7066.                   if t + 1000 <= GetTimer() then
  7067.                     timer = timer + 1
  7068.                     t = GetTimer()
  7069.                   end
  7070.                   Wait(0)
  7071.                 until timer == math.random(8,10)
  7072.                 PedSetActionNode(gPlayer,KOnode,KOact)
  7073.                 repeat
  7074.                   Wait(0)
  7075.                 until not PedIsPlaying(gPlayer,KOnode,true)
  7076.                 PedSetFlag(enemy,77,false)
  7077.                 PedSetHealth(gPlayer,PlayerGetHealth() + 30)
  7078.                 PedClearHasAggressed(gPlayer)
  7079.                 PedClearHasAggressed(enemy)
  7080.                 PedIgnoreAttacks(enemy,false)
  7081.                 PedSetFightingSystem(enemy,false)
  7082.                 clear = false
  7083.               end
  7084.             end
  7085.           end
  7086.         elseif PedGetHealth(gPlayer) ~= 0 then
  7087.           if PlayerGetPunishmentPoints() ~= 300 then
  7088.             for i,enemy in {PedFindInAreaXYZ(0,0,0,999999)} do
  7089.               if PedIsValid(enemy) and enemy ~= gPlayer or enemy ~= gPlayerAllies then
  7090.                 if PedGetFlag(enemy,108,true) then
  7091.                   PedSetFlag(enemy,108,false)
  7092.                 end
  7093.               end
  7094.             end
  7095.           else
  7096.             for i,enemies in {PedFindInAreaXYZ(0,0,0,999999)} do
  7097.               local fac = PedGetFaction(enemies)
  7098.               if PedIsValid(enemies) and (fac == 0 or fac == 7 or fac == 8 or fac == 9 or fac == 10) and (enemies ~= gPlayer or enemies ~= gPlayerAllies) then
  7099.                 local p1,p2,p3 = PedGetPosXYZ(enemies)
  7100.                 local x,y,z = PlayerGetPosXYZ()
  7101.                 if math.abs(x - p1) + math.abs(y - p2) + math.abs(z - p3) < 2 then
  7102.                   --PedLockTarget(gPlayer,enemies)
  7103.                   for busting = 1,table.getn(bustingAnims) do
  7104.                     if PedIsPlaying(enemies,bustingAnims[busting][1],bustingAnims[busting][2]) then
  7105.                       bustAnim,bustAct = bustingAnims[busting][1],bustingAnims[busting][2]
  7106.                       if PedGetTargetPed(enemies) == gPlayer then
  7107.                         repeat
  7108.                           Wait(0)
  7109.                         until not PedIsPlaying(enemies,bustAnim,true)
  7110.                         --PedLockTarget(gPlayer,-1)
  7111.                         PlayerSetPunishmentPoints(0)
  7112.                         bustAnim,bustAct = "nil","nil"
  7113.                       end
  7114.                     end
  7115.                   end
  7116.                 else
  7117.                   PedLockTarget(gPlayer,-1)
  7118.                 end
  7119.               end
  7120.             end
  7121.           end
  7122.         end
  7123.       end
  7124.       -- Free Camera during cutscene:
  7125.       if use_fc_cut then
  7126.         if GetCutsceneRunning() ~= 0 then
  7127.         end
  7128.       end
  7129.       if GetCutsceneRunning() == 0 and not cut_stop then
  7130.         spa,spx,spy,spz = AreaGetVisible,PlayerGetPosXYZ()
  7131.       end
  7132.       if skip_cut then
  7133.         if GetCutsceneRunning() ~= 0 and not cut_stop then
  7134.           cut_stop = true
  7135.         end
  7136.       end
  7137.       if cut_stop then
  7138.         AreaForceLoadAreaByAreaTransition(true)
  7139.         AreaDisableCameraControlForTransition(true)
  7140.         AreaTransitionXYZ(spa,spx,spy,500)
  7141.         AreaDisableCameraControlForTransition(false)
  7142.         AreaForceLoadAreaByAreaTransition(false)
  7143.         repeat
  7144.           repeat
  7145.             Wait(0)
  7146.           until not IsStreamingBusy()
  7147.           Wait(0)
  7148.           StopCutscene()
  7149.         until GetCutsceneRunning() == 0
  7150.         cut_stop = false
  7151.       end
  7152.       if GetCutsceneRunning() == 0 and custome_cuts then
  7153.         StartCutscene()
  7154.         repeat
  7155.           TextPrintString('',0,1)
  7156.           Wait(0)
  7157.         until GetCutsceneRunning() == 0 or IsButtonBeingPressed(7,0)
  7158.         StopCutscene()
  7159.         CutsceneFadeWithCamera(false)
  7160.         CameraSetWidescreen(false)
  7161.         CameraReturnToPlayer()
  7162.         AreaRemoveExtraScene()
  7163.         custome_cuts = false
  7164.       end
  7165.       if cuts_edit then
  7166.         if GetCutsceneRunning() ~= 0 and start_cuts then
  7167.           if load_cutscene ~= "GENERAL" then
  7168.             if load_cutscene == "RANDOM" then
  7169.               load_cutscene = mof[math.random(3,table.getn(mof))]
  7170.             end
  7171.           elseif cuts_action ~= "GENERAL" then
  7172.             if cuts_action == "RANDOM" then
  7173.               cuts_action = mof[math.random(3,table.getn(mof))]
  7174.             end
  7175.           elseif cuts_audio ~= "GENERAL" then
  7176.             if cuts_audio == "RANDOM" then
  7177.               cuts_audio = mof[math.random(3,table.getn(mof))]
  7178.             end
  7179.           end
  7180.         end
  7181.         start_cuts = false
  7182.         repeat
  7183.           Wait(0)
  7184.         until GetCutsceneRunning() == 0
  7185.       end
  7186.       -- Rapid Fire Guns:
  7187.       if rapidGun == 1 and not PlayerIsInAnyVehicle() and not in_other_task and not (PedMePlaying(gPlayer,"TreeCheck",false) or PedMePlaying(gPlayer,"Dead",true) or PedMePlaying(gPlayer,"Climb_ON_BOT",true) or PedMePlaying(gPlayer,"HoistUp_Spawns",true)) then
  7188.         -- UPDATED IN RELOADED EDITION, change the weapons type to the automatic.
  7189.         if PedHasWeapon(gPlayer,305) and IsButtonPressed(12,0) then
  7190.           if waitSpud + 300 <= GetTimer() then
  7191.             PedSetActionNode(gPlayer,"/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  7192.             waitSpud = GetTimer()
  7193.           end
  7194.         end
  7195.         if PedHasWeapon(gPlayer,396) and IsButtonPressed(12,0) then
  7196.           if waitSSpud + 300 <= GetTimer() then
  7197.             PedSetActionNode(gPlayer,"/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  7198.             waitSSpud = GetTimer()
  7199.           end
  7200.         end
  7201.         if (PedHasWeapon(gPlayer,303) or PedHasWeapon(gPlayer,306)) and IsButtonPressed(12,0) then
  7202.           if wait_sling + 200 <= GetTimer() then
  7203.             PedSetActionNode(gPlayer,"/Global/SlingShot/SlingShot/Actions/Controller/UpperBody/FireActions/Charge","Act/Weapons/SlingShot.act")
  7204.             wait_sling = GetTimer()
  7205.           end
  7206.         end
  7207.         if PedHasWeapon(gPlayer,307) and IsButtonPressed(12,0) then
  7208.           if waitB + 300 <= GetTimer() then
  7209.             PedSetActionNode(gPlayer,"/Global/Gun","Act/Weapons/Gun.act")
  7210.             waitB = GetTimer()
  7211.           end
  7212.         end
  7213.         if (PedHasWeapon(gPlayer,305) or PedHasWeapon(gPlayer,396)) and IsButtonBeingReleased(12,0) or PedIsHit(gPlayer) then
  7214.           PlayerStopAllActionControllers()
  7215.         end
  7216.         if PedIsValid(PedGetTargetPed(gPlayer)) and (PedHasWeapon(gPlayer,305) or PedHasWeapon(gPlayer,305) or PedHasWeapon(gPlayer,307)) then
  7217.           local o1,o2,o3 = PedGetPosXYZ(PedGetTargetPed(gPlayer))
  7218.           PedFaceXYZ(gPlayer,o1,o2,o3)
  7219.         end
  7220.       end
  7221.       -- Invicible:
  7222.       if invPlayer == 1 then
  7223.         PedSetFlag(gPlayer,9,true) -- Invicible
  7224.         PedSetInvulnerable(gPlayer,true)
  7225.       end
  7226.       -- Rapid Punch:
  7227.       if rapidPunch == 1 then
  7228.         local ped = PedGetGrappleTargetPed(gPlayer)
  7229.         if PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Mount",true) and not PedIsPlaying(gPlayer,"/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches",true) and PedIsValid(ped) then
  7230.           local playerSpeed,pedSpeed = GameGetPedStat(gPlayer,20),GameGetPedStat(ped,20)
  7231.           local punches = 0
  7232.           while IsButtonPressed(6,0) and PedGetGrappleTargetPed(gPlayer) == ped do
  7233.             local speed = speedMult
  7234.             GameSetPedStat(ped,20,playerSpeed)
  7235.             PedSetActionNode(gPlayer,"/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches","Act/Globals.act")
  7236.             Wait(650 / speed / 2)
  7237.             punches = punches + 1
  7238.             Wait(650 / speed / 2)
  7239.             punches = punches + 1
  7240.             if PedIsPlaying(gPlayer,"/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches","Act/Globals.act") then
  7241.               PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Mount/MountIdle","Act/Globals.act")
  7242.             end
  7243.           end
  7244.           GameSetPedStat(ped,20,pedSpeed)
  7245.         elseif PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Front",true) and not PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitA",true) and PedIsValid(ped) then
  7246.           local playerSpeed,pedSpeed = GameGetPedStat(gPlayer,20),GameGetPedStat(ped,20)
  7247.           local hit = 0
  7248.           while IsButtonPressed(6,0) and PedGetGrappleTargetPed(gPlayer) == ped do
  7249.             GameSetPedStat(ped,20,playerSpeed)
  7250.             PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitA", "act/anim/Player.act")
  7251.             Wait(350)
  7252.             hit = hit + 1
  7253.             if hit >= 4 then
  7254.               PedSetGrappleTarget(gPlayer,ped)
  7255.               hit = 0
  7256.             end
  7257.             if PedGetHealth(PedGetGrappleTargetPed(gPlayer)) < 1 then
  7258.               PlayerStopAllActionControllers()
  7259.             end
  7260.           end
  7261.           if IsButtonBeingReleased(6,0) then
  7262.             PedSetActionNode(ped,"/Global/Actions/Grapples/GrappleReversals/StandingReversals/GrappleBreak/Break_GIVE","Act/Globals.act")
  7263.           end
  7264.           GameSetPedStat(ped,20,pedSpeed)
  7265.         end
  7266.       end
  7267.       -- Initialize Class (WARNING: DON'T EDIT THIS PART EXCEPT YOU KNOWS WHAT ARE YOU GONNA DO LATER):
  7268.       if PlayerIsInClass() and initTime == 0 and (AreaGetVisible() == 17 or AreaGetVisible() == 15 or AreaGetVisible() == 6) then
  7269.         Wait(2000) -- The Fastest initialize timer, if you change it to "1500" it'll crash your game when starting class.
  7270.         initTime = 1
  7271.         artClass = 0
  7272.       elseif not PlayerIsInClass() and initTime == 1 and not (AreaGetVisible() == 17 or AreaGetVisible() == 15 or AreaGetVisible() == 6) then
  7273.         -- Turn off anything from Class Func.
  7274.         otherClass = 0
  7275.         initTime = 0
  7276.         artClass = 1
  7277.       end
  7278.       -- Timer Function (WARNING: DON'T EDIT THE FUNCTION OR VARIABLE, JUST EDIT NUMBER COUNT):
  7279.       if initTime == 1 then
  7280.         -- Infinite Timer (EDITABLE NUMBER COUNT):
  7281.         if classTime == 1 then
  7282.           if PlayerIsInClass() then
  7283.             if not myTimerSet then
  7284.               ClassMathSetTimer(999999999) -- Class Math timer
  7285.               ClassEnglishSetTimer(999999999) -- Class English timer
  7286.               ClassGeographySetTimer(999999999) -- Class Geography timer
  7287.               ClassBiologySetTimer(999999999) -- Class Biology timer
  7288.             end
  7289.           end
  7290.         -- Class Editor (EDITABLE NUMBER COUNT BY "STimeCycle.lur"):
  7291.         elseif myTimerSet and not ArtClassIsActive() and (AreaGetVisible() == 6 or AreaGetVisible() == 15) then
  7292.           if otherClass == 0 then
  7293.             ClassMathSetTimer(mcts) -- Class Math timer
  7294.             ClassEnglishSetTimer(ects) -- Class English timer
  7295.             ClassGeographySetTimer(gcts) -- Class Geography timer
  7296.             ClassBiologySetTimer(bcts) -- Class Biology timer
  7297.             otherClass = 1
  7298.           end
  7299.         -- Class Editor (NON-EDITABLE PART, CAUSE IT'S VERY VERY STABLE VERSION THAT I CAN DO):
  7300.         elseif ArtClassIsActive() and AreaGetVisible() == 17 then
  7301.           -- Be aware to edit this part, update 5 is easily to crash version, if you don't understand this script please don't edit.
  7302.           if artClass == 0 then
  7303.             MGCA_SetPlayerSpeed(acpss)
  7304.             MGCA_SetEnemySpeed(0,acmes)
  7305.             MGCA_SetEnemySpeed(1,acmes)
  7306.             MGCA_SetEnemySpeed(2,acmes)
  7307.             MGCA_SetEnemySpeed(3,acmes)
  7308.             MGCA_SetEnemySpeed(4,acmes)
  7309.             MGCA_SetExploderTimeOut(aets)
  7310.             MGCA_SetExploderDebrisCount(aeds)
  7311.             MGCA_SetExploderDebrisSpeed(acmes)
  7312.             MGCA_SetSetPowerUpClearRadius(acrs)
  7313.             artClass = 1
  7314.             if artClass > 1 then
  7315.               artClass = 1
  7316.             end
  7317.           end
  7318.         end
  7319.       end
  7320.       if NearPlayer then
  7321.         for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  7322.           for a = 1,table.getn(nearPlayerEffect) do
  7323.             local nfe = nearPlayerEffect[a]
  7324.             if PedIsValid(ped) and ped ~= gPlayer then
  7325.               local x,y,z = PlayerGetPosXYZ()
  7326.               local x1,y1,z1 = PedGetPosXYZ(ped)
  7327.               if nfe[1] ~= nil and nfe[2] ~= nil and nfe[3] ~= nil then
  7328.                 -- Input:
  7329.                 if math.abs(x - x1) + math.abs(y - y1) + math.abs(z - z1) < nfe[3] then
  7330.                   --table.insert(nearPlayerPed,ped)
  7331.                   if not PedIsPlaying(ped,nfe[1],true) and PedGetHealth(ped) > 1 then
  7332.                     PedSetActionNode(ped,nfe[1],nfe[2])
  7333.                   end
  7334.                 else
  7335.                   if PedIsPlaying(ped,nfe[1],true) then
  7336.                     if PedGetHealth(ped) > 1 then
  7337.                       PedSetActionNode(ped,"/Global","Act/Globals.act")
  7338.                     else
  7339.                       PedPlayHitReaction(ped)
  7340.                     end
  7341.                   end
  7342.                 end
  7343.               end
  7344.             end
  7345.           end
  7346.         end
  7347.       end
  7348.       -- Faction Editor:
  7349.       if replaceFightingStyle then
  7350.         for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  7351.           for n = 1,table.getn(replaceStyle) do
  7352.             -- Replace Style:
  7353.             if PedIsValid(ped) and ped ~= gPlayer and replaceStyle[n].style ~= "nil" then
  7354.               if replaceStyle[n].faction == 0 then
  7355.                 if PedIsPlaying(ped,"/Global/Authority",true) and PedGetFaction(ped,0) then
  7356.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7357.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7358.                 end
  7359.               elseif replaceStyle[n].faction == 1 then
  7360.                 if PedIsPlaying(ped,"/Global/N_Striker_A",true) or PedIsPlaying(ped,"/Global/N_Striker_B",true) or PedIsPlaying(ped,"/Global/N_Ranged_A",true) and PedGetFaction(ped,1) then
  7361.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7362.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7363.                 end
  7364.               elseif replaceStyle[n].faction == 2 or PedIsModel(ped,JocksID) then
  7365.                 if PedIsPlaying(ped,"/Global/J_Striker_A",true) or PedIsPlaying(ped,"/Global/J_Melee_A",true) or PedIsPlaying(ped,"/Global/J_Grappler_A",true) and PedGetFaction(ped,2) then
  7366.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7367.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7368.                 end
  7369.               elseif replaceStyle[n].faction == 3 or PedIsModel(ped,DropoutID) then
  7370.                 if PedIsPlaying(ped,"/Global/DO_Striker_A",true) or PedIsPlaying(ped,"/Global/DO_Melee_A",true) or PedIsPlaying(ped,"/Global/DO_Grappler_A",true) and PedGetFaction(ped,3) then
  7371.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7372.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7373.                 end
  7374.               elseif replaceStyle[n].faction == 4 or PedIsModel(ped,JocksID) then
  7375.                 if PedIsPlaying(ped,"/Global/G_Striker_A",true) or PedIsPlaying(ped,"/Global/G_Melee_A",true) or PedIsPlaying(ped,"/Global/G_Grappler_A",true) and PedGetFaction(ped,4) then
  7376.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7377.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7378.                 end
  7379.               elseif replaceStyle[n].faction == 5 or PedIsModel(ped,PrepiesID) then
  7380.                 if PedIsPlaying(ped,"/Global/P_Striker_A",true) or PedIsPlaying(ped,"/Global/P_Striker_B",true) or PedIsPlaying(ped,"/Global/P_Grappler_A",true) and PedGetFaction(ped,5) then
  7381.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7382.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7383.                 end
  7384.               elseif replaceStyle[n].faction == 6 then
  7385.                 if PedIsPlaying(ped,"/Global/GS_Male_A",true) or PedIsPlaying(ped,"/Global/GS_Fat_A",true) or PedIsPlaying(ped,"/Global/GS_Female_A",true) and PedGetFaction(ped,6) then
  7386.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7387.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7388.                 end
  7389.               elseif replaceStyle[n].faction == 7 then
  7390.                 if PedIsPlaying(ped,"/Global/Authority",true) and PedGetFaction(ped,7) then
  7391.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7392.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7393.                 end
  7394.               elseif replaceStyle[n].faction == 8 then
  7395.                 if PedIsPlaying(ped,"/Global/Authority",true) or PedIsPlaying(ped,"/Global/TE_Female_A",true) or PedIsPlaying(ped,"/Global/TE_Secretary",true) and PedGetFaction(ped,8) then
  7396.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7397.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7398.                 end
  7399.               elseif replaceStyle[n].faction == 9 then
  7400.                 if PedIsPlaying(ped,"/Global/CV_Male_A",true) and PedGetFaction(ped,9) then
  7401.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7402.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7403.                 end
  7404.               elseif replaceStyle[n].faction == 10 then
  7405.                 if PedIsPlaying(ped,"/Global/Authority",true) or PedIsPlaying(ped,"/Global/CV_Male_A",true) or PedIsPlaying(ped,"/Global/GS_Male_A",true) and PedGetFaction(ped,10) then
  7406.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7407.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7408.                 end
  7409.               elseif replaceStyle[n].faction == 11 or PedIsModel(ped,BulliesID) then
  7410.                 if PedIsPlaying(ped,"/Global/B_Striker_A",true) and PedGetFaction(ped,11) then
  7411.                   PedSetActionNode(ped,"/Global/Player","Act/Anim/Player.act")
  7412.                   PedSetActionTree(ped,"/Global/"..replaceStyle[n].style,"Act/Anim/"..replaceStyle[n].style..".act")
  7413.                 end
  7414.               end
  7415.             end
  7416.           end
  7417.         end
  7418.       end
  7419.       if ReplaceFactionModel then
  7420.         for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  7421.           if PedIsValid(ped) and ped ~= gPlayer or ped ~= Player2 then
  7422.             local DF = DetectFaction
  7423.             local DM = FactionModel
  7424.             for DFMS = 1,table.getn(DM) do
  7425.               for d = 2,8 do
  7426.                 if DM[DFMS][d] ~= "nil" then
  7427.                   if PedIsModel(ped,NerdID) or PedGetFaction(ped,1) then
  7428.                     PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7429.                   end
  7430.                   if PedIsModel(ped,DropoutID) or PedGetFaction(ped,3) then
  7431.                    PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7432.                   end
  7433.                   if PedIsModel(ped,GreasersID) or PedGetFaction(ped,4) then
  7434.                     PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7435.                   end
  7436.                   if PedIsModel(ped,PrepiesID) or PedGetFaction(ped,5) then
  7437.                     PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7438.                   end
  7439.                   if PedIsModel(ped,JocksID) or PedGetFaction(ped,2) then
  7440.                     PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7441.                   end
  7442.                   if PedIsModel(ped,BulliesID) or PedGetFaction(ped,11) then
  7443.                     PedSwapModel(ped,DM[DFMS][math.random(2,8)])
  7444.                   end
  7445.                 end
  7446.               end
  7447.             end
  7448.           end
  7449.         end
  7450.       end
  7451.       -- Burn with colour:
  7452.       if burn1 == 1 then
  7453.         EffectSetGymnFireOn(true)
  7454.       end
  7455.       -- Burn (just effect):
  7456.       if burn2 == 1 then
  7457.         EffectSetGymnFireAlpha(true)
  7458.       end
  7459.       -- Control Player:
  7460.       if playerControl then
  7461.         PlayerSetControl(1)
  7462.       end
  7463.       -- Max Punishment Points:
  7464.       if PlayerGetPunishmentPoints() > mapp then
  7465.         -- mapp = MaxPunishmentPoints
  7466.         PlayerSetPunishmentPoints(mapp)
  7467.       end
  7468.       -- Min Punishment Points:
  7469.       if PlayerGetPunishmentPoints() < mipp then
  7470.         -- mipp = MinPunishmentPoints
  7471.         PlayerSetMinPunishmentPoints(mipp)
  7472.         PlayerSetPunishmentPoints(mipp)
  7473.       end
  7474.       -- Game Speed:
  7475.       if GameSpeed then
  7476.         -- "GameSpeed" variable just looping before "for" cause this'll not work if you use "for" after "while" section.
  7477.         for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  7478.           if playerGameSpeedEffect == 0 then
  7479.             if PedIsValid(ped) and ped ~= gPlayer then
  7480.               GameSetPedStat(ped,20,gameSpeed)
  7481.             end
  7482.           else
  7483.             if PedIsValid(ped) then
  7484.               GameSetPedStat(ped,20,gameSpeed)
  7485.             end
  7486.           end
  7487.           if PedIsValid(ped) and PedIsInAnyVehicle(ped) then
  7488.             local v_speed = gameSpeed * 1.2 / 100
  7489.             if playerGameSpeedEffect == 0 then
  7490.               if ped ~= gPlayer then
  7491.                 if v_speed > 1 then
  7492.                   VehicleSetAccelerationMult(PedGetLastVehicle(ped),v_speed)
  7493.                 else
  7494.                   VehicleSetAccelerationMult(PedGetLastVehicle(ped),0)
  7495.                 end
  7496.               end
  7497.             else
  7498.               if v_speed > 1 then
  7499.                 VehicleSetAccelerationMult(PedGetLastVehicle(ped),v_speed)
  7500.               else
  7501.                 VehicleSetAccelerationMult(PedGetLastVehicle(ped),0)
  7502.                 VehicleStop(PedGetLastVehicle(ped))
  7503.               end
  7504.             end
  7505.           end
  7506.         end
  7507.       end
  7508.       if fightingSystem then
  7509.         for i,pedFS in {PedFindInAreaXYZ(0,0,0,9999999)} do
  7510.           if PedIsValid(pedFS) and pedFS ~= gPlayer and pedFS ~= gPlayerAllies then
  7511.             if pedRun then
  7512.               PedSetFlag(pedFS,77,true)
  7513.             elseif not pedRun then
  7514.               PedSetFlag(pedFS,77,false)
  7515.             elseif pedDFB then
  7516.               PedSetFlag(pedFS,108,true)
  7517.             elseif not pedDFB then
  7518.               PedSetFlag(pedFS,108,false)
  7519.             elseif pedAEO then
  7520.               PedSetFlag(pedFS,33,true)
  7521.             elseif not pedAEO then
  7522.               PedSetFlag(pedFS,33,false)
  7523.             end
  7524.             if shutUp then
  7525.               PedSetFlag(pedFS,129,true)
  7526.               SoundStopCurrentSpeechEvent(pedFS)
  7527.             elseif not shutUp then
  7528.               PedSetFlag(pedFS,129,false)
  7529.             end
  7530.             if kissAllGirls then
  7531.               if PedIsFemale(pedFS) then
  7532.                 PedSetFlag(pedFS,84,true)
  7533.               end
  7534.             elseif not kissAllGirls then
  7535.               if PedIsFemale(pedFS) then
  7536.                 PedSetFlag(pedFS,84,false)
  7537.               end
  7538.             end
  7539.             if kissAllBoys then
  7540.               if not PedIsFemale(pedFS) then
  7541.                 PedSetFlag(pedFS,84,true)
  7542.               end
  7543.             elseif not kissAllBoys then
  7544.               if not PedIsFemale(pedFS) then
  7545.                 PedSetFlag(pedFS,84,false)
  7546.               end
  7547.             end
  7548.           end
  7549.         end
  7550.       end
  7551.       -- No Punishments:
  7552.       if noPunishment == 1 then
  7553.         DisablePunishmentSystem(true)
  7554.         PedSetPunishmentPoints(gPlayer,0)
  7555.         shared.gGirlsDormWarning = false
  7556.       end
  7557.       -- Infinite Ammo:
  7558.       if inAmmo == 1 then
  7559.         PedSetFlag(gPlayer,24,true)
  7560.         if PedGetWeapon(gPlayer) ~= -1 and IsButtonBeingReleased(12,0) then
  7561.           GiveAmmoToPlayer(PedGetWeapon(gPlayer),50,false)
  7562.         end
  7563.       end
  7564.       -- Infinite Carnival Tickets:
  7565.       if inTickets == 1 then
  7566.         ItemSetCurrentNum(495,9999)
  7567.       end
  7568.       -- Freeze Time:
  7569.       if timeFreeze == 1 then
  7570.         PauseGameClock()
  7571.       end
  7572.       -- Infinite Health:
  7573.       if inHealth == 1 then
  7574.         PedSetHealth(gPlayer,500)
  7575.         PedSetMaxHealth(gPlayer,PlayerGetHealth())
  7576.         if PedIsValid(Player2) then
  7577.           PedSetHealth(Player2,500)
  7578.         end
  7579.         if PedIsValid(Player3) then
  7580.           PedSetHealth(Player3,500)
  7581.         end
  7582.         PedSetNoDamageNextFall(gPlayer,true)
  7583.       end
  7584.       -- Infinite Money:
  7585.       if inMoney == 1 then
  7586.         PlayerSetMoney(999999.99)
  7587.       end
  7588.       -- Eagle Eye:
  7589.       if eagleEye == 1 then
  7590.         local x,y,z = PlayerGetPosXYZ()
  7591.         CameraSetXYZ(x,y,z + 15)
  7592.         CameraLookAtXYZ(x,y,z)
  7593.       end
  7594.       -- Far Vision:
  7595.       if farVision == 1 then
  7596.         local x,y,z = PlayerGetPosXYZ()
  7597.         CameraSetXYZ(x + 25,y + 25,z + 15)
  7598.         CameraLookAtXYZ(x,y,z)
  7599.       end
  7600.       -- FPS [BETA]:
  7601.       if fpsCam == 1 then
  7602.       end
  7603.       -- Panoramic:
  7604.       if tps == 1 then
  7605.       end
  7606.       -- Widescreen:
  7607.       if nearPlayer == 1 then
  7608.         CameraSetWidescreen(true)
  7609.       end
  7610.       -- Blinded:
  7611.       if blind == 1 then
  7612.         EffectBlindedbyMud(true)
  7613.       end
  7614.       -- Others:
  7615.       MainATZB() -- Vehicle Sync
  7616.       MainATZC() -- Fighting Style
  7617.       LocalMultiplayerATZ() -- Local Multiplayer Mod
  7618.       -- Frames:
  7619.     end
  7620.     Wait(0)
  7621.   end
  7622. end
  7623.  
  7624. function MovementsScript()
  7625.   while getMovements do
  7626.     --Player1 Movement:
  7627.     if movement ~= "DEFAULT" and not in_other_task then
  7628.       -- DEFAULT = Default Movement from Fighting Style
  7629.       local defkey = PedMePlaying(gPlayer,"DEFAULT_KEY")
  7630.       -- Run Detection:
  7631.       if IsButtonBeingPressed(7,0) then
  7632.         sprintPressed = sprintPressed + 1
  7633.         lastSprint = GetTimer()
  7634.       elseif GetTimer() >= lastSprint + 400 then
  7635.         sprintPressed = 0
  7636.       end
  7637.       -- Sprint Detection:
  7638.       if IsButtonBeingReleased(7,0) then
  7639.         lastRun = GetTimer()
  7640.       end
  7641.       -- Doing Movement:
  7642.       if PlayerIsFree() and not PedGetFlag(gPlayer,2,true) and not PlayerIsInAnyVehicle() then
  7643.         sensitivity = 0.1
  7644.         -- Button Movement Detection [W][A][S][D]:
  7645.         if sensitivity <= math.abs(GetStickValue(16,0)) + math.abs(GetStickValue(17,0)) and not IsButtonPressed(10,0) then
  7646.           -- Sign:
  7647.           moving = true
  7648.           --local treeMoves = PedGetActionTree(gPlayer)
  7649.           -- Moving:
  7650.           if sprintPressed > 1 then
  7651.             if not GreaseMovement() then
  7652.               PedSetActionNode(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/"..movement..".act")
  7653.             else
  7654.               PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/P_Striker_A.act")
  7655.             end
  7656.           elseif IsButtonPressed(7,0) or GetTimer() < lastRun + 200 then
  7657.             PedSetActionNode(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/RunBasic","Act/Anim/"..movement..".act")
  7658.           else
  7659.             PedSetActionNode(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/WalkBasic","Act/Anim/"..movement..".act")
  7660.           end
  7661.           -- Jump:
  7662.           if IsButtonBeingPressed(8,0) then
  7663.             PedSetActionNode(gPlayer,"/Global/Player/JumpActions/Jump", "Act/Anim/Player.act")
  7664.           end
  7665.           -- Grapple while running:
  7666.           if IsButtonBeingPressed(9,0) and PedIsValid(PedGetTargetPed(gPlayer)) then
  7667.             PedSetActionNode(gPlayer,"/Global/Actions/Grapples/RunningTakedown","Act/Globals.act")
  7668.           end
  7669.           -- Running Attacks:
  7670.           if IsButtonBeingPressed(6,0) and PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) then
  7671.             PedSetActionNode(gPlayer,"/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect","Act/Globals.act")
  7672.           elseif IsButtonBeingPressed(6,0) and PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true) then
  7673.             PedSetActionNode(gPlayer,"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
  7674.           end
  7675.           local target = PedGetTargetPed(gPlayer)
  7676.           if PedIsValid(target) and IsButtonPressed(10,0) then
  7677.             if PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/WalkBasic",true) then
  7678.               local t1,t2,t3 = PedGetPosXYZ(target)
  7679.               PedFaceXYZ(gPlayer,t1,t2,t3)
  7680.             end
  7681.           end
  7682.         elseif moving then
  7683.           -- Stoping Player:
  7684.           moving = false
  7685.           PedSetActionNode(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act")
  7686.         end
  7687.       end
  7688.       -- Targeting ped:
  7689.     end
  7690.     -- Player2 Movement:
  7691.     if movement2 ~= "NONE" and PedIsValid(Player2) then
  7692.       -- NONE = Default Movement from Fighting Style
  7693.       local defkey1 = PedMePlaying(Player2,"DEFAULT_KEY")
  7694.       -- Run Detection:
  7695.       if IsButtonBeingPressed(7,1) then
  7696.         sprintPressed1 = sprintPressed1 + 1
  7697.         lastSprint1 = GetTimer()
  7698.       elseif GetTimer() >= lastSprint1 + 400 then
  7699.         sprintPressed1 = 0
  7700.       end
  7701.       -- Sprint Detection:
  7702.       if IsButtonBeingReleased(7,1) then
  7703.         lastRun1 = GetTimer()
  7704.       end
  7705.       -- Doing Movement:
  7706.       if PedIsFree(Player2) and not PedGetFlag(Player2,2,true) then
  7707.         sensitivity1 = 0.1
  7708.         -- Stick Movement [ANALOG]:
  7709.         if sensitivity1 <= math.abs(GetStickValue(16,1)) + math.abs(GetStickValue(17,1)) then
  7710.           -- Sign:
  7711.           moving2 = true
  7712.           --local treeMoves = PedGetActionTree(gPlayer)
  7713.           -- Moving:
  7714.           if sprintPressed1 > 1 then
  7715.             if not GreaseMovement2() then
  7716.               PedSetActionNode(Player2,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/"..movement2..".act")
  7717.             else
  7718.               PedSetActionNode(Player2,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/P_Striker_A.act")
  7719.             end
  7720.           elseif IsButtonPressed(7,1) or GetTimer() < lastRun1 + 200 then
  7721.             PedSetActionNode(Player2,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/RunBasic","Act/Anim/"..movement2..".act")
  7722.           else
  7723.             PedSetActionNode(Player2,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/WalkBasic","Act/Anim/"..movement2..".act")
  7724.           end
  7725.           -- Jump:
  7726.           if IsButtonBeingPressed(8,1) then
  7727.             PedSetActionNode(Player2,"/Global/Player/JumpActions/Jump", "Act/Anim/Player.act")
  7728.           end
  7729.           -- Grapple while running:
  7730.           if IsButtonBeingPressed(9,1) and PedIsValid(PedGetTargetPed(Player2)) then
  7731.             PedSetActionNode(Player2,"/Global/Actions/Grapples/RunningTakedown","Act/Globals.act")
  7732.           end
  7733.           -- Running Attacks:
  7734.           if IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) then
  7735.             PedSetActionNode(Player2,"/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect","Act/Globals.act")
  7736.           elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true) then
  7737.             PedSetActionNode(Player2,"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
  7738.           end
  7739.         elseif moving2 then
  7740.           -- Stoping Player:
  7741.           moving2 = false
  7742.           PedSetActionNode(Player2,"/Global/Player","Act/Anim/Player.act")
  7743.           --PedSetActionNode(gPlayer,"/Global/Player","Act/Player.act")
  7744.         end
  7745.       end
  7746.       -- Targeting ped:
  7747.       if IsButtonPressed(10,1) then
  7748.         local x1,y1,z1 = PedGetPosXYZ(Player2)
  7749.         for i,target1 in {PedFindInAreaXYZ(0,0,0,999999)} do
  7750.           if target1 ~= Player2 then
  7751.             local t1,t2,t3 = PedGetPosXYZ(target1)
  7752.             if math.abs(t1 - x1) + math.abs(t2 - y1) + math.abs(t3 - z1) < 5 then
  7753.               PedLockTarget(Player2,target1)
  7754.             else
  7755.               PedLockTarget(Player2,-1)
  7756.             end
  7757.           end
  7758.         end
  7759.       elseif IsButtonBeingReleased(10,1) then
  7760.         PedLockTarget(Player2,-1)
  7761.       end
  7762.     end
  7763.     -- Suspend script:
  7764.     Wait(0)
  7765.   end
  7766. end
  7767.  
  7768. function RespectRepeater()
  7769.   while myRespect do
  7770.     if myRespect then
  7771.       for f = 0,11 do
  7772.         if GetFactionRespect(f,13) == 100 then
  7773.           if PedGetTypeToTypeAttitude(f,13) ~= 4 then
  7774.             PedSetDefaultTypeToTypeAttitude(f,13,4)
  7775.           end
  7776.         elseif GetFactionRespect(f,13) == 0 then
  7777.           if PedGetTypeToTypeAttitude(f,13) ~= 0 then
  7778.             PedSetDefaultTypeToTypeAttitude(f,13,0)
  7779.           end
  7780.         elseif GetFactionRespect(f,13) ~= 0 or GetFactionRespect(f,13) ~= 100 and GetFactionRespect(f,12) <= 50 then
  7781.           if PedGetTypeToTypeAttitude(f,13) ~= 2 then
  7782.             PedSetDefaultTypeToTypeAttitude(f,13,2)
  7783.           end
  7784.         elseif GetFactionRespect(f,13) ~= 0 or GetFactionRespect(f,13) ~= 100 and GetFactionRespect(f,12) > 51 then
  7785.           if PedGetTypeToTypeAttitude(f,13) ~= 3 then
  7786.             PedSetDefaultTypeToTypeAttitude(f,13,3)
  7787.           end
  7788.         end
  7789.       end
  7790.       for i,v in {PedFindInAreaXYZ(0,0,0,999999)} do
  7791.         for faction = 0,11 do
  7792.           if PedIsValid(v) and PedGetFaction(v,faction) then
  7793.             if GetFactionRespect(PedGetFaction(v),13) == 100 then
  7794.               if PedGetPedToTypeAttitude(v,13) ~= 4 then
  7795.                 PedSetPedToTypeAttitude(v,13,4)
  7796.               end
  7797.               if PedGetEmotionTowardsPed(v,gPlayer) ~= 8 then
  7798.                 PedSetEmotionTowardsPed(v,gPlayer,8)
  7799.               end
  7800.             elseif GetFactionRespect(PedGetFaction(v),13) == 0 then
  7801.               PedSetPedToTypeAttitude(v,13,1)
  7802.               if PedGetPedToTypeAttitude(v,13) ~= 1 then
  7803.                 PedSetPedToTypeAttitude(v,13,1)
  7804.               end
  7805.               if PedGetEmotionTowardsPed(v,gPlayer) ~= 2 then
  7806.                 PedSetEmotionTowardsPed(v,gPlayer,2)
  7807.               end
  7808.             end
  7809.           end
  7810.         end
  7811.       end
  7812.     end
  7813.     Wait(0)
  7814.   end
  7815. end
  7816.  
  7817. function ATZ_Another()
  7818.   -- Hidup (INDONESIAN) = Alive (ENGLISH)
  7819.   local hidup = true
  7820.   S_SetupCore()
  7821.   if hidup then
  7822.     SoundPlay2D("RightBtn")
  7823.     Wait(0)
  7824.     repeat
  7825.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  7826.         SoundPlay2D("NavUp")
  7827.         addSelect = addSelect - 1
  7828.         if not MissionActive() then
  7829.           if addSelect < 1 then addSelect = (size(adds) - 1) end
  7830.         else
  7831.           if addSelect < 1 then addSelect = size(adds) end
  7832.         end
  7833.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  7834.         SoundPlay2D("NavUp")
  7835.         addSelect = addSelect + 1
  7836.         if not MissionActive() then
  7837.           if addSelect > (size(adds) - 1) then addSelect = 1 end
  7838.         else
  7839.           if addSelect > size(adds) then addSelect = 1 end
  7840.         end
  7841.       end
  7842.       if not MissionActive() then
  7843.         if addSelect >= 25 then addSelect = 25 end
  7844.       end
  7845.       if IsButtonBeingPressed(3,0) then
  7846.         if addSelect == 1 then
  7847.           SoundPlay2D("RightBtn")
  7848.           Wait(100)
  7849.           repeat
  7850.             local ped = PedGetTargetPed()
  7851.             if IsButtonBeingPressed(3,0) and PedIsValid(ped) and ped ~= gPlayer then
  7852.               local ped = PedGetTargetPed()
  7853.               local bak_tree = ped_get_action_tree(ped,1)
  7854.               PedSetControllerID(ped,0)
  7855.               PedLockTarget(gPlayer,ped)
  7856.               PedSetActionTree(ped,"/Global/Player","Act/Player.act")
  7857.               PedSetAITree(ped,"/Global/PlayerAI","Act/PlayerAI.act")
  7858.               CameraFollowPed(ped)
  7859.               CameraAllowScriptedChange(true)
  7860.               CameraAllowChange(true)
  7861.               SoundSetAudioFocusCamera(true)
  7862.               in_other_task = true
  7863.               repeat
  7864.                 local defkeyped = PedMePlaying(ped,"DEFAULT_KEY")
  7865.                 if IsButtonBeingPressed(7,0) and defkeyped then
  7866.                   PedSetActionNode(ped,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act")
  7867.                 elseif (IsButtonBeingReleased(7,0) or PedIsDead(ped)) and PedIsPlaying(ped,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act") then
  7868.                   PedSetActionNode(ped,"/Global/Player","Act/Player.act")
  7869.                 end
  7870.                 if IsButtonPressed(10,0) then
  7871.                   for i,v in {PedFindInAreaXYZ(0,0,0,99999)} do
  7872.                     if PedIsValid(v) and v ~= ped then
  7873.                       local x2,y2,z2 = PedGetPosXYZ(v)
  7874.                       local x1,y1,z1 = PedGetPosXYZ(ped)
  7875.                       if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 3 then
  7876.                         PedLockTarget(ped,v)
  7877.                       else
  7878.                         PedLockTarget(ped,-1)
  7879.                       end
  7880.                     end
  7881.                   end
  7882.                 end
  7883.                 import_action_controller(ped,0)
  7884.                 TextPrintString("Control Ped\n[CONTROLLING]",0,1)
  7885.                 TextPrintString("[Back to player ~LOOK_BACK~]",0,2)
  7886.                 Wait(0)
  7887.               until PedIsDead(ped) or IsButtonBeingPressed(14,0)
  7888.               in_other_task = false
  7889.               PedSetControllerID(ped,-1)
  7890.               if PedIsValid(ped) and not PedIsDead(ped) then
  7891.                 PedSetActionTree(ped,"/Global/"..bak_tree,"Act/Anim/"..bak_tree..".act")
  7892.                 PedSetAITree(ped,"/Global/AI","Act/AI/AI.act")
  7893.                 PedMakeAmbient(ped)
  7894.               end
  7895.               PedLockTarget(gPlayer,-1)
  7896.               PlayerSwapModel(saveModel)
  7897.               PlayerStopAllActionControllers()
  7898.               CameraFollowPed(gPlayer)
  7899.               CameraAllowScriptedChange(true)
  7900.               CameraAllowChange(true)
  7901.               CameraReturnToPlayer()
  7902.               PedSetControllerID(gPlayer,0)
  7903.               SoundSetAudioFocusPlayer()
  7904.               --AreaTransitionXYZ(AreaGetVisible(),PlayerGetPosXYZ())
  7905.             end
  7906.             TextPrintString("Control Ped\n\n<"..GetName()..">",0,1)
  7907.             if showText then
  7908.               TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Control]",0,2)
  7909.             end
  7910.             Wait(0)
  7911.           until IsButtonBeingReleased(14,0)
  7912.           SoundPlay2D("WrongBtn")
  7913.         elseif addSelect == 2 then
  7914.           SoundPlay2D("RightBtn")
  7915.           Wait(100)
  7916.           repeat
  7917.             if IsButtonBeingPressed(0,0) then
  7918.               SoundPlay2D("NavUp")
  7919.               vgSelect = vgSelect - 1
  7920.               if vgSelect < 1 then vgSelect = table.getn(vgs) end
  7921.             elseif IsButtonBeingPressed(1,0) then
  7922.               SoundPlay2D("NavUp")
  7923.               vgSelect = vgSelect + 1
  7924.               if vgSelect > table.getn(vgs) then vgSelect = 1 end
  7925.             end
  7926.             if IsButtonBeingPressed(3,0) then
  7927.               local ped = GetTarget()
  7928.               local x,y,z = PlayerGetPosXYZ()
  7929.               if vgSelect == 1 then
  7930.                 Wait(100)
  7931.                 repeat
  7932.                   if IsButtonBeingPressed(0,0) or faster_select(0) then
  7933.                     SoundPlay2D("NavUp")
  7934.                     lmSelect = lmSelect - 1
  7935.                     if lmSelect < 1 then lmSelect = table.getn(lms) end
  7936.                   elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  7937.                     SoundPlay2D("NavUp")
  7938.                     lmSelect = lmSelect + 1
  7939.                     if lmSelect > table.getn(lms) then lmSelect = 1 end
  7940.                   end
  7941.                   if IsButtonBeingPressed(3,0) then
  7942.                     local ped = GetTarget()
  7943.                     local x,y,z = PlayerGetPosXYZ()
  7944.                     if not PedIsValid(Player2) and not PedIsValid(Player3) then
  7945.                       Player2 = PedCreateXYZ(2,x + 2,y + 2,z)
  7946.                       PedSwapModel(Player2,"player")
  7947.                       PedSetActionTree(Player2,"/Global/Player","Act/Anim/Player.act")
  7948.                       PedSetAITree(Player2,"/Global/PlayerAI","Act/PlayerAI.act")
  7949.                       PedSetInfiniteSprint(Player2, true)
  7950.                       PedRecruitAlly(gPlayer,Player2)
  7951.                       PedSetControllerID(Player2,1)
  7952.                       PedSetFaction(Player2, 13)
  7953.                     end
  7954.                   elseif IsButtonBeingPressed(2,0) then
  7955.                     if PedIsValid(Player2) then
  7956.                       PedDelete(Player2)
  7957.                     end
  7958.                     if VehicleIsValid(VehicleForPlayer2) then
  7959.                       VehicleDelete(VehicleForPlayer2)
  7960.                     elseif VehicleIsValid(VehicleForPlayer3) then
  7961.                       VehicleDelete(VehicleForPlayer3)
  7962.                     end
  7963.                   end
  7964.                   TextPrintString("Local Multiplayer Mod\n[Create Player]\n\nPlayer 2: "..Player2Valid().."\nPlayer 3: "..Player3Valid(),0,1)
  7965.                   if showText then
  7966.                     TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit]\n[Delete All ~dup~|~ddown~ Select]",0,2)
  7967.                   end
  7968.                   Wait(0)
  7969.                 until IsButtonBeingReleased(14,0)
  7970.                 SoundPlay2D("WrongBtn")
  7971.               elseif vgSelect == 2 then
  7972.                 Wait(100)
  7973.                 repeat
  7974.                   if IsButtonPressed(0,1) or IsButtonPressed(0,2) then
  7975.                     SoundPlay2D("NavUp")
  7976.                     modelSelect = modelSelect - 1
  7977.                     if modelSelect < 1 then modelSelect = table.getn(models) end
  7978.                   elseif IsButtonPressed(1,1) or IsButtonPressed(1,2) then
  7979.                     SoundPlay2D("NavUp")
  7980.                     modelSelect = modelSelect + 1
  7981.                     if modelSelect > table.getn(models) then modelSelect = 1 end
  7982.                   end
  7983.                   if IsButtonBeingPressed(3,1) then
  7984.                     PedSwapModel(Player2,models[modelSelect].model)
  7985.                     PedSetActionTree(Player2,"/Global/Player","Act/Anim/Player.act")
  7986.                     PedSetAITree(Player2,"/Global/PlayerAI","Act/PlayerAI.act")
  7987.                     PedSetInfiniteSprint(Player2, true)
  7988.                   elseif IsButtonBeingPressed(3,2) then
  7989.                     PedSwapModel(Player3,models[modelSelect].model)
  7990.                     PedSetActionTree(Player3,"/Global/Player","Act/Anim/Player.act")
  7991.                     PedSetAITree(Player3,"/Global/PlayerAI","Act/PlayerAI.act")
  7992.                     PedSetInfiniteSprint(Player3, true)
  7993.                   end
  7994.                   TextPrintString("Local Multiplayer Mod\n[Model Selector]\n\n>"..models[modelSelect].name.."<",0,1)
  7995.                   if showText then
  7996.                     TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  7997.                   end
  7998.                   Wait(0)
  7999.                 until IsButtonBeingReleased(14,0)
  8000.                 SoundPlay2D("WrongBtn")
  8001.               elseif vgSelect == 3 then
  8002.                 Wait(100)
  8003.                 S_SetupMovementClone()
  8004.                 repeat
  8005.                   if IsButtonBeingPressed(0,1) or IsButtonBeingPressed(0,2) then
  8006.                     SoundPlay2D("NavUp")
  8007.                     msc = msc - 1
  8008.                     if msc < 1 then msc = table.getn(smoc) end
  8009.                   elseif IsButtonBeingPressed(1,1) or IsButtonBeingPressed(1,2) then
  8010.                     SoundPlay2D("NavUp")
  8011.                     msc = msc + 1
  8012.                     if msc > table.getn(smoc) then msc = 1 end
  8013.                   end
  8014.                   if IsButtonBeingPressed(3,1) then
  8015.                     movement2 = smoc[msc]
  8016.                     PedSetInfiniteSprint(Player2, true)
  8017.                   elseif IsButtonBeingPressed(3,2) then
  8018.                     movement3 = smoc[msc]
  8019.                     PedSetInfiniteSprint(Player3, true)
  8020.                   end
  8021.                   TextPrintString("Local Multiplayer Mod\n[Movement Style]\n\n>"..smoc[msc].."<",0,1)
  8022.                   if showText then
  8023.                     TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  8024.                   end
  8025.                   Wait(0)
  8026.                 until IsButtonBeingReleased(14,0)
  8027.                 SoundPlay2D("WrongBtn")
  8028.               elseif vgSelect == 4 then
  8029.                 Wait(100)
  8030.                 repeat
  8031.                   if IsButtonBeingPressed(0,0) or faster_select(0) then
  8032.                     SoundPlay2D("NavUp")
  8033.                     cvtSelect = cvtSelect - 1
  8034.                     if cvtSelect < 1 then cvtSelect = size(cvts) end
  8035.                   elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  8036.                     SoundPlay2D("NavUp")
  8037.                     cvtSelect = cvtSelect + 1
  8038.                     if cvtSelect > size(cvts) then cvtSelect = 1 end
  8039.                   end
  8040.                   if IsButtonBeingPressed(3,1) then
  8041.                     local x,y,z = PedGetPosXYZ(Player2)
  8042.                     if VehicleIsValid(VehicleForPlayer2) and PedIsInVehicle(Player2,VehicleForPlayer2) then
  8043.                       PedWarpOutOfCar(Player2,VehicleForPlayer2)
  8044.                       Wait(100)
  8045.                       VehicleDelete(VehicleForPlayer2)
  8046.                     elseif VehicleIsValid(VehicleForPlayer2) and not PedIsInVehicle(Player2,VehicleForPlayer2) then
  8047.                       VehicleDelete(VehicleForPlayer2)
  8048.                     end
  8049.                     VehicleForPlayer2 = VehicleCreateXYZ(cvts[cvtSelect][1],x + 2,y + 2,z)
  8050.                   elseif IsButtonBeingPressed(3,2) then
  8051.                     local x,y,z = PedGetPosXYZ(Player3)
  8052.                     if VehicleIsValid(VehicleForPlayer3) and PedIsInVehicle(Player3,VehicleForPlayer3) then
  8053.                       PedWarpOutOfCar(Player3,VehicleForPlayer3)
  8054.                       Wait(100)
  8055.                       VehicleDelete(VehicleForPlayer3)
  8056.                     elseif VehicleIsValid(VehicleForPlayer3) and not PedIsInVehicle(Player3,VehicleForPlayer3) then
  8057.                       VehicleDelete(VehicleForPlayer3)
  8058.                     end
  8059.                     VehicleForPlayer3 = VehicleCreateXYZ(cvts[cvtSelect][1],x + 2,y + 2,z)
  8060.                   end
  8061.                   TextPrintString("Local Multiplayer Mod\n[Vehicle Selector]\n\n>"..cvts[cvtSelect][2].."<",0,1)
  8062.                   TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  8063.                   Wait(0)
  8064.                 until IsButtonBeingReleased(14,0)
  8065.                 SoundPlay2D("WrongBtn")
  8066.               end
  8067.             end
  8068.             if vgSelect == 1 then
  8069.               TextPrintString("Local Multiplayer Mod\n\n:"..vgs[vgSelect]..":\n"..vgs[vgSelect + 1].."\n"..vgs[vgSelect + 2].."\n"..vgs[vgSelect + 3].."",0,1)
  8070.             elseif vgSelect == 2 then
  8071.               TextPrintString("Local Multiplayer Mod\n\n"..vgs[vgSelect - 1].."\n:"..vgs[vgSelect]..":\n"..vgs[vgSelect + 1].."\n"..vgs[vgSelect + 2].."",0,1)
  8072.             elseif vgSelect == 3 then
  8073.               TextPrintString("Local Multiplayer Mod\n\n"..vgs[vgSelect - 2].."\n"..vgs[vgSelect - 1].."\n:"..vgs[vgSelect]..":\n"..vgs[vgSelect + 1].."",0,1)
  8074.             elseif vgSelect == 4 then
  8075.               TextPrintString("Local Multiplayer Mod\n\n"..vgs[vgSelect - 3].."\n"..vgs[vgSelect - 2].."\n"..vgs[vgSelect - 1].."\n:"..vgs[vgSelect]..":",0,1)
  8076.             end
  8077.             if showText then
  8078.               TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Select]",0,2)
  8079.             end
  8080.             Wait(0)
  8081.           until IsButtonBeingReleased(14,0)
  8082.           SoundPlay2D("WrongBtn")
  8083.         elseif addSelect == 3 then
  8084.           SoundPlay2D("RightBtn")
  8085.           Wait(100)
  8086.           showNode = true
  8087.           repeat
  8088.             local ped = PedGetTargetPed()
  8089.             if not PedIsValid(ped) then
  8090.               ped = gPlayer
  8091.             end
  8092.             if IsButtonBeingPressed(3,0) then
  8093.               showNode = not showNode
  8094.               if showNode then
  8095.                 TextPrintString("Show action nodes",2,2)
  8096.               else
  8097.                 TextPrintString("Don't show action nodes",2,2)
  8098.               end
  8099.             end
  8100.             if showNode then
  8101.               local node,act = PedGetActionNode(ped)
  8102.               TextPrintString(PedGetName(ped)..'\n'..node..'\n'..act,1,2)
  8103.             end
  8104.             Wait(0)
  8105.           until IsButtonBeingReleased(14,0)
  8106.           SoundPlay2D("WrongBtn")
  8107.         elseif addSelect == 4 then
  8108.           SoundPlay2D("RightBtn")
  8109.           Wait(100)
  8110.           repeat
  8111.             local a = AreaGetVisible()
  8112.             local x,y,z = PlayerGetPosXYZ()
  8113.             TextPrintString("Coord Finder\n\nArea: "..a.."\nX: "..x.."\nY: "..y.."\nZ: "..z.."",0,1)
  8114.             Wait(0)
  8115.           until IsButtonBeingReleased(14,0)
  8116.           SoundPlay2D("WrongBtn")
  8117.         elseif addSelect == 5 then
  8118.           SoundPlay2D("RightBtn")
  8119.           Wait(100)
  8120.           repeat
  8121.             local ped = PedGetTargetPed()
  8122.             if IsButtonBeingPressed(3,0) then
  8123.               if PedIsValid(PedGetAllyFollower(gPlayer)) and not PedIsDead(PedGetAllyFollower(gPlayer)) then
  8124.                 PedRecruitAlly(PedGetAllyFollower(gPlayer),ped)
  8125.                 PedGuardPed(ped,gPlayer)
  8126.               elseif not PedIsValid(PedGetAllyFollower(gPlayer)) then
  8127.                 PedRecruitAlly(gPlayer,ped)
  8128.                 PedGuardPed(ped,gPlayer)
  8129.               end
  8130.             end
  8131.             TextPrintString("Recruit Ally\n\n<"..GetName()..">",0,1)
  8132.             if showText then
  8133.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Recruit]",0,2)
  8134.             end
  8135.             Wait(0)
  8136.           until IsButtonBeingReleased(14,0)
  8137.           SoundPlay2D("WrongBtn")
  8138.         elseif addSelect == 6 then
  8139.           SoundPlay2D("RightBtn")
  8140.           Wait(100)
  8141.           repeat
  8142.             local ped = PedGetTargetPed()
  8143.             if IsButtonBeingPressed(3,0) then
  8144.               PedDelete(ped)
  8145.             end
  8146.             TextPrintString("Delete Ped\n\n<"..GetName()..">",0,1)
  8147.             if showText then
  8148.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Delete]",0,2)
  8149.             end
  8150.             Wait(0)
  8151.           until IsButtonBeingReleased(14,0)
  8152.           SoundPlay2D("WrongBtn")
  8153.         elseif addSelect == 7 then
  8154.           SoundPlay2D("RightBtn")
  8155.           Wait(100)
  8156.           repeat
  8157.             if IsButtonBeingPressed(2,0) then
  8158.               BlipRemove(blipPos)
  8159.               posa,posx,posy,posz = AreaGetVisible(),PlayerGetPosXYZ()
  8160.               blipPos = BlipAddXYZ(posx,posy,posz,1,0,10)
  8161.             elseif IsButtonBeingPressed(3,0) then
  8162.               if posa ~= 999 then
  8163.                 AreaTransitionXYZ(posa,posx,posy,posz)
  8164.               end
  8165.             end
  8166.             TextPrintString("Save Position\n\nArea: "..posa.."\nX: "..posx.."\nY: "..posy.."\nZ: "..posz,0,1)
  8167.             if showText then
  8168.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Save Pos ~dup~|~ddown~ Teleport]",0,2)
  8169.             end
  8170.             Wait(0)
  8171.           until IsButtonBeingReleased(14,0)
  8172.           SoundPlay2D("WrongBtn")
  8173.         elseif addSelect == 8 then
  8174.           SoundPlay2D("RightBtn")
  8175.           Wait(100)
  8176.           repeat
  8177.             if IsButtonBeingPressed(3,0) then
  8178.               SoundPlay2D("ButtonUp")
  8179.               AreaSetAllDoorsUnlocked()
  8180.             elseif IsButtonBeingPressed(2,0) then
  8181.               SoundPlay2D("ButtonUp")
  8182.               AreaSetAllDoorsLocked()
  8183.             end
  8184.             TextPrintString("Area Doors\n\nLock All Doors ~dup~\nUnlock All Doors ~ddown~",0,1)
  8185.             if showText then
  8186.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]",0,2)
  8187.             end
  8188.             Wait(0)
  8189.           until IsButtonBeingReleased(14,0)
  8190.           SoundPlay2D("WrongBtn")
  8191.         elseif addSelect == 9 then
  8192.           SoundPlay2D("RightBtn")
  8193.           Wait(100)
  8194.           repeat
  8195.             local ped = GetTarget()
  8196.             TextPrintString("Weapon ID\n\nWeapon ID:\n"..PedGetWeapon(gPlayer),0,1)
  8197.             if showText then
  8198.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Find]",0,2)
  8199.             end
  8200.             Wait(0)
  8201.           until IsButtonBeingReleased(14,0)
  8202.           SoundPlay2D("WrongBtn")
  8203.         elseif addSelect == 10 then
  8204.           SoundPlay2D("RightBtn")
  8205.           Wait(100)
  8206.           repeat
  8207.             if IsButtonBeingPressed(0,0) then
  8208.               SoundPlay2D("NavUp")
  8209.               rtSelect = rtSelect - 1
  8210.               if rtSelect < 1 then rtSelect = table.getn(rts) end
  8211.             elseif IsButtonBeingPressed(1,0) then
  8212.               SoundPlay2D("NavUp")
  8213.               rtSelect = rtSelect + 1
  8214.               if rtSelect > table.getn(rts) then rtSelect = 1 end
  8215.             end
  8216.             if IsButtonBeingPressed(3,0) then
  8217.               if rtSelect == 1 or rtSelect == 2 then
  8218.                 Wait(100)
  8219.                 repeat
  8220.                   if IsButtonBeingPressed(0,0) or faster_select(0) then
  8221.                     SoundPlay2D("NavUp")
  8222.                     ghSelect = ghSelect - 1
  8223.                     if ghSelect < 1 then ghSelect = table.getn(ghs) end
  8224.                   elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  8225.                     SoundPlay2D("NavUp")
  8226.                     ghSelect = ghSelect + 1
  8227.                     if ghSelect > table.getn(ghs) then ghSelect = 1 end
  8228.                   end
  8229.                   if IsButtonBeingPressed(3,0) then
  8230.                     if rtSelect == 1 then
  8231.                       Wait(100)
  8232.                       repeat
  8233.                         if IsButtonBeingPressed(0,0) or faster_select(0) then
  8234.                           SoundPlay2D("NavUp")
  8235.                           vwSelect = vwSelect - 1
  8236.                           if vwSelect < 1 then vwSelect = table.getn(vws) end
  8237.                         elseif IsButtonBeingPressed(1,0) or faster_select(0) then
  8238.                           SoundPlay2D("NavUp")
  8239.                           vwSelect = vwSelect + 1
  8240.                           if vwSelect > table.getn(vws) then vwSelect = 1 end
  8241.                         end
  8242.                         TextPrintString("Collectibles\n["..ghs[ghSelect][2].."]\n\n"..vws[vsSelect],0,1)
  8243.                         TextPrintString("[~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  8244.                         Wait(0)
  8245.                       until IsButtonBeingPressed(3,0)
  8246.                       if vwSelect == 1 then
  8247.                         CollectiblesSetTypeAvailable(ghs[ghSelect][1],true)
  8248.                       elseif vwSelect == 2 then
  8249.                         CollectiblesSetTypeAvailable(ghs[ghSelect][1],false)
  8250.                       end
  8251.                     elseif rtSelect == 2 then
  8252.                       CollectiblesSetAllAsCollected(ghs[ghSelect][1])
  8253.                     end
  8254.                   end
  8255.                   TextPrintString("Collectibles\n[Spawn/Remove]\n\n"..ghs[ghSelect][2],0,1)
  8256.                   if showText then
  8257.                     TextPrintString("[~LOOK_BACK~ Exit|~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  8258.                   end
  8259.                   Wait(0)
  8260.                 until IsButtonBeingPressed(14,0)
  8261.                 SoundPlay2D("WrongBtn")
  8262.               end
  8263.             end
  8264.             TextPrintString("Collectibles\n\n>"..rts[rtSelect].."<",0,1)
  8265.             if showText then
  8266.               TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Select]",0,2)
  8267.             end
  8268.             Wait(0)
  8269.           until IsButtonBeingReleased(14,0)
  8270.           SoundPlay2D("WrongBtn")
  8271.         elseif addSelect == 11 then
  8272.           if autoShot == 1 then
  8273.             TextPrintString("You must turn off Rapid Fire Brockets before entering this menu",2,1)
  8274.             Wait(2000)
  8275.           else
  8276.             SoundPlay2D("RightBtn")
  8277.             Wait(100)
  8278.             repeat
  8279.               if IsButtonBeingPressed(3,0) and rapidGun == 0 then
  8280.                 rapidGun = 1
  8281.               elseif IsButtonBeingPressed(3,0) and rapidGun == 1 then
  8282.                 rapidGun = 0
  8283.               end
  8284.               TextPrintString("Rapid Fire Guns\n\n"..GetGuns(),0,1)
  8285.               Wait(0)
  8286.             until IsButtonBeingReleased(14,0)
  8287.             SoundPlay2D("WrongBtn")
  8288.           end
  8289.         elseif addSelect == 12 then
  8290.           SoundPlay2D("RightBtn")
  8291.           Wait(100)
  8292.           repeat
  8293.             if IsButtonBeingPressed(3,0) and rapidPunch == 0 then
  8294.               rapidPunch = 1
  8295.             elseif IsButtonBeingPressed(3,0) and rapidPunch == 1 then
  8296.               rapidPunch = 0
  8297.             end
  8298.             TextPrintString("Rapid Punchs\n\n"..GetPunchs(),0,1)
  8299.             Wait(0)
  8300.           until IsButtonBeingReleased(14,0)
  8301.           SoundPlay2D("WrongBtn")
  8302.         elseif addSelect == 13 then
  8303.           SoundPlay2D("RightBtn")
  8304.           Wait(100)
  8305.           repeat
  8306.             if IsButtonBeingPressed(0,0) then
  8307.               SoundPlay2D("NavUp")
  8308.               hjSelect = hjSelect - 1
  8309.               if hjSelect < 1 then hjSelect = table.getn(hjs) end
  8310.             elseif IsButtonBeingPressed(1,0) then
  8311.               SoundPlay2D("NavUp")
  8312.               hjSelect = hjSelect + 1
  8313.               if hjSelect > table.getn(hjs) then hjSelect = 1 end
  8314.             end
  8315.             if IsButtonBeingPressed(3,0) then
  8316.               if hjSelect == 1 then
  8317.                 if eagleEye == 0 then
  8318.                   eagleEye = 1
  8319.                 elseif eagleEye == 1 then
  8320.                   eagleEye = 0
  8321.                   CameraReturnToPlayer()
  8322.                 end
  8323.               end
  8324.               if hjSelect == 2 then
  8325.                 if farVision == 0 then
  8326.                   farVision = 1
  8327.                 elseif farVision == 1 then
  8328.                   farVision = 0
  8329.                   CameraReturnToPlayer()
  8330.                 end
  8331.               elseif hjSelect == 3 then
  8332.                 if nearPlayer == 0 then
  8333.                   nearPlayer = 1
  8334.                 elseif nearPlayer == 1 then
  8335.                   nearPlayer = 0
  8336.                   CameraSetWidescreen(false)
  8337.                 end
  8338.               elseif hjSelect == 4 then
  8339.                 FreeCam()
  8340.               elseif hjSelect == 5 then
  8341.                 if fpsCam == 0 then
  8342.                   fpsCam = 1
  8343.                 elseif fpsCam == 1 then
  8344.                   fpsCam = 0
  8345.                   CameraReturnToPlayer()
  8346.                 end
  8347.               elseif hjSelect == 6 then
  8348.                 if tps == 0 then
  8349.                   tps = 1
  8350.                 elseif tps == 1 then
  8351.                   tps = 0
  8352.                   CameraReturnToPlayer()
  8353.                 end
  8354.               end
  8355.             end
  8356.             TextPrintString("Camera Style\n\n"..hjs[hjSelect],0,1)
  8357.             if showText then
  8358.               TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  8359.             end
  8360.             Wait(0)
  8361.           until IsButtonBeingReleased(14,0)
  8362.           SoundPlay2D("WrongBtn")
  8363.         elseif addSelect == 14 then
  8364.           SoundPlay2D("RightBtn")
  8365.           Wait(100)
  8366.           repeat
  8367.             if IsButtonBeingPressed(0,0) or faster_select(0) then
  8368.               SoundPlay2D("NavUp")
  8369.               opSelect = opSelect - 1
  8370.               if opSelect < 1 then opSelect = table.getn(ops) end
  8371.             elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  8372.               SoundPlay2D("NavUp")
  8373.               opSelect = opSelect + 1
  8374.               if opSelect > table.getn(ops) then opSelect = 1 end
  8375.             end
  8376.             if IsButtonBeingPressed(3,0) then
  8377.               if opSelect == 1 then
  8378.                 if blind == 0 then
  8379.                   blind = 1
  8380.                 elseif blind == 1 then
  8381.                   blind = 0
  8382.                   EffectBlindedbyMud(false)
  8383.                 end
  8384.               elseif opSelect == 2 then
  8385.                 if burn1 == 0 then
  8386.                   burn1 = 1
  8387.                 elseif burn1 == 1 then
  8388.                   burn1 = 0
  8389.                   EffectSetGymnFireOn(false)
  8390.                 end
  8391.               elseif opSelect == 3 then
  8392.                 if burn2 == 0 then
  8393.                   burn2 = 1
  8394.                 elseif burn2 == 1 then
  8395.                   burn2 = 0
  8396.                   EffectSetGymnFireAlpha(false)
  8397.                 end
  8398.               end
  8399.             end
  8400.             TextPrintString("Camera Effect\n\n"..ops[opSelect],0,1)
  8401.             Wait(0)
  8402.           until IsButtonBeingReleased(14,0)
  8403.           SoundPlay2D("WrongBtn")
  8404.         elseif addSelect == 15 then
  8405.           SoundPlay2D("RightBtn")
  8406.           Wait(100)
  8407.           repeat
  8408.             if IsButtonBeingPressed(0,0) or faster_select(0) then
  8409.               gameSpeed = gameSpeed - 1
  8410.               if gameSpeed < 0 then
  8411.                 gameSpeed = 0
  8412.               end
  8413.             elseif IsButtonBeingPressed(1,0) or faster_select(0) then
  8414.               gameSpeed = gameSpeed + 1
  8415.               if gameSpeed > 500 then
  8416.                 gameSpeed = 500
  8417.               end
  8418.             end
  8419.             TextPrintString("Game Speed\n\nSpeed: "..gameSpeed,0,1)
  8420.             if showText then
  8421.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  8422.             end
  8423.             Wait(0)
  8424.           until IsButtonBeingReleased(14,0)
  8425.           SoundPlay2D("WrongBtn")
  8426.         elseif addSelect == 16 then
  8427.           PedFinder()
  8428.         elseif addSelect == 17 then
  8429.           DismissAlly()
  8430.         elseif addSelect == 18 then
  8431.           class_editor()
  8432.         elseif addSelect == 19 then
  8433.           PedEditor()
  8434.         elseif addSelect == 20 then
  8435.           FactionEditor()
  8436.         elseif addSelect == 21 then
  8437.           VehicleThief()
  8438.         elseif addSelect == 22 then
  8439.           FreeMoves()
  8440.         elseif addSelect == 23 then
  8441.           cutscene_editor()
  8442.         elseif addSelect == 24 then
  8443.           fight_maker()
  8444.         elseif addSelect == 25 then
  8445.           ped_duplicator()
  8446.         elseif addSelect == 26 then
  8447.           if MissionActive() then
  8448.             skip_current_mission()
  8449.             --SoundPlayMissionEndMusic(true, 10)
  8450.             --MissionSucceed(false,true,true)
  8451.           else
  8452.             get_error(1)
  8453.           end
  8454.         end
  8455.       end
  8456.       if MissionActive() then
  8457.         if addSelect == 1 then
  8458.           TextPrintString("OTHERS MOD\n\n>"..adds[addSelect].."<\n"..adds[addSelect + 1].."\n"..adds[addSelect + 2].."",0,1)
  8459.         elseif addSelect == table.getn(adds) then
  8460.           TextPrintString("OTHERS MOD\n\n"..adds[addSelect - 2].."\n"..adds[addSelect - 1].."\n>"..adds[addSelect].."<",0,1)
  8461.         elseif not (addSelect == table.getn(adds) or addSelect == 1) then
  8462.           TextPrintString("OTHERS MOD\n\n"..adds[addSelect - 1].."\n>"..adds[addSelect].."<\n"..adds[addSelect + 1].."",0,1)
  8463.         end
  8464.       else
  8465.         if addSelect == 1 then
  8466.           TextPrintString("OTHERS MOD\n\n>"..adds[addSelect].."<\n"..adds[addSelect + 1].."\n"..adds[addSelect + 2].."",0,1)
  8467.         elseif addSelect == 25 then
  8468.           TextPrintString("OTHERS MOD\n\n"..adds[addSelect - 2].."\n"..adds[addSelect - 1].."\n>"..adds[addSelect].."<",0,1)
  8469.         elseif not (addSelect == 25 or addSelect == 1) then
  8470.           TextPrintString("OTHERS MOD\n\n"..adds[addSelect - 1].."\n>"..adds[addSelect].."<\n"..adds[addSelect + 1].."",0,1)
  8471.         end
  8472.       end
  8473.       if showText then
  8474.         TextPrintString("[Number: "..addSelect..".]\n[Navigate: ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Open]",0,2)
  8475.       end
  8476.       Wait(0)
  8477.     until IsButtonBeingReleased(14,0)
  8478.     SoundPlay2D("WrongBtn")
  8479.     Wait(100)
  8480.     F_AutoTextPrint()
  8481.   end
  8482. end
  8483.  
  8484. function ATZ_Config()
  8485.   -- Hidup (INDONESIAN) = Alive (ENGLISH)
  8486.   local hidup = true
  8487.   if hidup then
  8488.     SoundPlay2D("RightBtn")
  8489.     Wait(100)
  8490.     repeat
  8491.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  8492.         SoundPlay2D("NavUp")
  8493.         SettingSelect = SettingSelect - 1
  8494.         if SettingSelect < 1 then SettingSelect = table.getn(SettingATZ) end
  8495.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  8496.         SoundPlay2D("NavUp")
  8497.         SettingSelect = SettingSelect + 1
  8498.         if SettingSelect > table.getn(SettingATZ) then SettingSelect = 1 end
  8499.       end
  8500.       if SettingSelect == 1 then
  8501.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[1].."\n>"..UseTarget().."<",999999999,1)
  8502.         if IsButtonBeingReleased(3,0) and useTargetSetting == 0 then
  8503.           SoundPlay2D("ButtonUp")
  8504.           useTargetSetting = 1
  8505.           useTarget = true
  8506.         elseif IsButtonBeingReleased(3,0) and useTargetSetting == 1 then
  8507.           SoundPlay2D("ButtonDown")
  8508.           useTargetSetting = 0
  8509.           useTarget = false
  8510.         end
  8511.       elseif SettingSelect == 2 then
  8512.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[2].."\n>"..GetFreeze().."<",999999999,1)
  8513.         if IsButtonBeingReleased(3,0) and timeFreeze == 1 then
  8514.           timeFreeze = 0
  8515.           UnpauseGameClock()
  8516.         elseif IsButtonBeingReleased(3,0) and timeFreeze == 0 then
  8517.           timeFreeze = 1
  8518.           PauseGameClock()
  8519.         end
  8520.       elseif SettingSelect == 3 then
  8521.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[3].."\n>"..GetHealth().."<",999999999,1)
  8522.         if IsButtonBeingReleased(3,0) and inHealth == 1 then
  8523.           inHealth = 0
  8524.           PedSetNoDamageNextFall(gPlayer,false)
  8525.         elseif IsButtonBeingReleased(3,0) and inHealth == 0 then
  8526.           inHealth = 1
  8527.         end
  8528.       elseif SettingSelect == 4 then
  8529.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[4].."\n>"..UsePoints().."<",999999999,1)
  8530.         if IsButtonBeingReleased(3,0) and noPunishment == 0 then
  8531.           SoundPlay2D("ButtonUp")
  8532.           noPunishment = 1
  8533.           PedSetFlag(gPlayer,117,false)
  8534.         elseif IsButtonBeingReleased(3,0) and noPunishment == 1 then
  8535.           SoundPlay2D("ButtonDown")
  8536.           noPunishment = 0
  8537.           PedSetFlag(gPlayer,117,true)
  8538.           DisablePunishmentSystem(false)
  8539.           shared.gGirlsDormWarning = true
  8540.         end
  8541.       elseif SettingSelect == 5 then
  8542.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[5].."\n>"..GetAmmo().."<",999999999,1)
  8543.         if IsButtonBeingReleased(3,0) and inAmmo == 0 then
  8544.           SoundPlay2D("ButtonUp")
  8545.           inAmmo = 1
  8546.         elseif IsButtonBeingReleased(3,0) and inAmmo == 1 then
  8547.           SoundPlay2D("ButtonDown")
  8548.           inAmmo = 0
  8549.           PedSetFlag(gPlayer,24,false)
  8550.         end
  8551.       elseif SettingSelect == 6 then
  8552.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[6].."\n>"..GetMoney().."<",999999999,1)
  8553.         if IsButtonBeingReleased(3,0) and inMoney == 0 then
  8554.           SoundPlay2D("ButtonUp")
  8555.           inMoney = 1
  8556.         elseif IsButtonBeingReleased(3,0) and inMoney == 1 then
  8557.           SoundPlay2D("ButtonDown")
  8558.           inMoney = 0
  8559.         end
  8560.       elseif SettingSelect == 7 then
  8561.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[7].."\n>"..GetDamage().."<",999999999,1)
  8562.         if IsButtonBeingReleased(3,0) and damageWeapon == 0 then
  8563.           SoundPlay2D("ButtonUp")
  8564.           damageWeapon = 1
  8565.           GameSetPedStat(gPlayer,31,999999)
  8566.         elseif IsButtonBeingReleased(3,0) and damageWeapon == 1 then
  8567.           SoundPlay2D("ButtonDown")
  8568.           damageWeapon = 0
  8569.           GameSetPedStat(gPlayer,31,100)
  8570.         end
  8571.       elseif SettingSelect == 8 then
  8572.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[8].."\n>"..GetAlone().."<",999999999,1)
  8573.         if IsButtonBeingReleased(3,0) and alonePlayer == 0 then
  8574.           SoundPlay2D("ButtonUp")
  8575.           AreaClearSpawners()
  8576.           AreaClearDockers()
  8577.           AreaClearAllPeds()
  8578.           AreaClearPatrolPaths()
  8579.           alonePlayer = 1
  8580.         elseif IsButtonBeingReleased(3,0) and alonePlayer == 1 then
  8581.           SoundPlay2D("ButtonDown")
  8582.           alonePlayer = 0
  8583.           StopPedProduction(false)
  8584.         end
  8585.       elseif SettingSelect == 9 then
  8586.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[9].."\n>"..GetAlly().."<",999999999,1)
  8587.         if IsButtonBeingReleased(3,0) and playerAlly == 0 then
  8588.           SoundPlay2D("ButtonUp")
  8589.           playerAlly = 1
  8590.           PedSetFlag(gPlayer,58,false)
  8591.         elseif IsButtonBeingReleased(3,0) and playerAlly == 1 then
  8592.           SoundPlay2D("ButtonDown")
  8593.           playerAlly = 0
  8594.           PedSetFlag(gPlayer,58,true)
  8595.         end
  8596.       elseif SettingSelect == 10 then
  8597.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[10].."\n>"..UseGravity().."<",999999999,1)
  8598.         if IsButtonBeingReleased(3,0) and gravityPlayer == 0 then
  8599.           SoundPlay2D("ButtonUp")
  8600.           gravityPlayer = 1
  8601.           PedSetEffectedByGravity(gPlayer,false)
  8602.         elseif IsButtonBeingReleased(3,0) and gravityPlayer == 1 then
  8603.           SoundPlay2D("ButtonDown")
  8604.           gravityPlayer = 0
  8605.           PedSetEffectedByGravity(gPlayer,true)
  8606.         end
  8607.       elseif SettingSelect == 11 then
  8608.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[11].."\n>"..GetInv().."<",999999999,1)
  8609.         if IsButtonBeingReleased(3,0) and invPlayer == 0 then
  8610.           SoundPlay2D("ButtonUp")
  8611.           invPlayer = 1
  8612.           PedSetFlag(gPlayer,9,true)
  8613.         elseif IsButtonBeingReleased(3,0) and invPlayer == 1 then
  8614.           SoundPlay2D("ButtonDown")
  8615.           invPlayer = 0
  8616.           PedSetFlag(gPlayer,9,false)
  8617.           PedSetInvulnerable(gPlayer,false)
  8618.         end
  8619.       elseif SettingSelect == 12 then
  8620.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[12].."\n>"..GetClass().."<",999999999,1)
  8621.         if IsButtonBeingReleased(3,0) and classTime == 0 then
  8622.           SoundPlay2D("ButtonUp")
  8623.           classTime = 1
  8624.           myTimerSet = false
  8625.         elseif IsButtonBeingReleased(3,0) and classTime == 1 then
  8626.           SoundPlay2D("ButtonDown")
  8627.           classTime = 0
  8628.           myTimerSet = true
  8629.         end
  8630.       elseif SettingSelect == 13 then
  8631.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[13].."\n>"..GetCo().."<",999999999,1)
  8632.         if IsButtonBeingReleased(3,0) and mapCo == 0 then
  8633.           SoundPlay2D("ButtonUp")
  8634.           mapCo = 1
  8635.           CollectibleOnMapEnable(0,true)
  8636.           CollectibleOnMapEnable(1,true)
  8637.           CollectibleOnMapEnable(2,true)
  8638.           CollectibleOnMapEnable(3,true)
  8639.           CollectibleOnMapEnable(4,true)
  8640.           CollectibleOnMapEnable(5,true)
  8641.         elseif IsButtonBeingReleased(3,0) and mapCo == 1 then
  8642.           SoundPlay2D("ButtonDown")
  8643.           mapCo = 0
  8644.           CollectibleOnMapEnable(0,false)
  8645.           CollectibleOnMapEnable(1,false)
  8646.           CollectibleOnMapEnable(2,false)
  8647.           CollectibleOnMapEnable(3,false)
  8648.           CollectibleOnMapEnable(4,false)
  8649.           CollectibleOnMapEnable(5,false)
  8650.         end
  8651.       elseif SettingSelect == 14 then
  8652.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[14].."\n>"..GetTickets().."<",0,1)
  8653.         if IsButtonBeingReleased(3,0) and inTickets == 0 then
  8654.           SoundPlay2D("ButtonUp")
  8655.           inTickets = 1
  8656.           ItemSetCurrentNum(495,9999)
  8657.         elseif IsButtonBeingReleased(3,0) and inTickets == 1 then
  8658.           SoundPlay2D("ButtonDown")
  8659.           inTickets = 0
  8660.         end
  8661.       elseif SettingSelect == 15 then
  8662.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[15].."\n>"..GetGameSpeed().."<",0,1)
  8663.         if IsButtonBeingReleased(3,0) and playerGameSpeedEffect == 0 then
  8664.           SoundPlay2D("ButtonUp")
  8665.           playerGameSpeedEffect = 1
  8666.         elseif IsButtonBeingReleased(3,0) and playerGameSpeedEffect == 1 then
  8667.           SoundPlay2D("ButtonDown")
  8668.           playerGameSpeedEffect = 0
  8669.           GameSetPedStat(gPlayer,20,100)
  8670.         end
  8671.       elseif SettingSelect == 16 then
  8672.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[16].."\n>"..GetKissGirls().."<",0,1)
  8673.         if IsButtonBeingReleased(3,0) and kissAllGirls then
  8674.           SoundPlay2D("ButtonUp")
  8675.           kissAllGirls = false
  8676.         elseif IsButtonBeingReleased(3,0) and not kissAllGirls then
  8677.           SoundPlay2D("ButtonDown")
  8678.           kissAllGirls = true
  8679.         end
  8680.       elseif SettingSelect == 17 then
  8681.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[17].."\n>"..GetKissBoys().."<",0,1)
  8682.         if IsButtonBeingReleased(3,0) and kissAllBoys then
  8683.           SoundPlay2D("ButtonUp")
  8684.           kissAllBoys = false
  8685.         elseif IsButtonBeingReleased(3,0) and not kissAllBoys then
  8686.           SoundPlay2D("ButtonDown")
  8687.           kissAllBoys = true
  8688.         end
  8689.       elseif SettingSelect == 18 then
  8690.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[18].."\n>"..GetControl().."<",0,1)
  8691.         if IsButtonBeingReleased(3,0) and playerControl then
  8692.           SoundPlay2D("ButtonUp")
  8693.           playerControl = false
  8694.         elseif IsButtonBeingReleased(3,0) and not playerControl then
  8695.           SoundPlay2D("ButtonDown")
  8696.           playerControl = true
  8697.         end
  8698.       elseif SettingSelect == 19 then
  8699.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[19].."\n>"..GetNa().."<",0,1)
  8700.         if IsButtonBeingReleased(3,0) and showText then
  8701.           SoundPlay2D("ButtonUp")
  8702.           showText = false
  8703.         elseif IsButtonBeingReleased(3,0) and not showText then
  8704.           SoundPlay2D("ButtonDown")
  8705.           showText = true
  8706.         end
  8707.       elseif SettingSelect == 20 then
  8708.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[20].."\n>"..GetMenu().."<",0,1)
  8709.         if IsButtonBeingReleased(3,0) then
  8710.           SoundPlay2D("ButtonUp")
  8711.           menu = menu + 1
  8712.           if menu > 6 then
  8713.             menu = 1
  8714.           end
  8715.         end
  8716.       elseif SettingSelect == 21 then
  8717.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[21].."\n>"..GetHidingMenu().."<",0,1)
  8718.         if IsButtonBeingReleased(3,0) then
  8719.           SoundPlay2D("ButtonUp")
  8720.           hideMenu = hideMenu + 1
  8721.           if hideMenu > 2 then
  8722.             hideMenu = 1
  8723.           end
  8724.         end
  8725.       elseif SettingSelect == 22 then
  8726.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[22].."\n>"..fix_model_set().."<",0,1)
  8727.         if IsButtonBeingReleased(3,0) then
  8728.           SoundPlay2D("ButtonUp")
  8729.           fix_model_option = fix_model_option + 1
  8730.           if fix_model_option > 6 then
  8731.             fix_model_option = 1
  8732.           end
  8733.         end
  8734.       elseif SettingSelect == 23 then
  8735.         TextPrintString("(SETTINGS)\n\n"..SettingATZ[23].."\n>"..skip_cuts().."<",0,1)
  8736.         if IsButtonBeingReleased(3,0) then
  8737.           SoundPlay2D("ButtonUp")
  8738.           if skip_cut then
  8739.             skip_cut = false
  8740.           else
  8741.             skip_cut = true
  8742.           end
  8743.         end
  8744.       end
  8745.       if showText then
  8746.         TextPrintString("[Exit ~LOOK_BACK~]\n[Navigate: ~dleft~ or ~dright~]\n[Select: ~ddown~]",0,2)
  8747.       end
  8748.       Wait(0)
  8749.     until IsButtonBeingReleased(14,0)
  8750.     SoundPlay2D("WrongBtn")
  8751.     Wait(100)
  8752.     F_AutoTextPrint()
  8753.   end
  8754. end
  8755.  
  8756. function MainATZB() -- Take the vehicle back.
  8757.   -- PedInRectangle is more easier to take back vehicle rather than PedIsInAreaXYZ
  8758.   if VehicleIsValid(VehicleForPlayer) then
  8759.     local t,g,m = VehicleGetPosXYZ(VehicleForPlayer)
  8760.     local r1 = t + 3
  8761.     local r2 = g + 3
  8762.     local r3 = t - 3
  8763.     local r4 = g - 3
  8764.     if PedInRectangle(gPlayer,r1,r2,r3,r4) then
  8765.       local glvp1 = VehicleForPlayer
  8766.       if VehicleIsModel(glvp1,275) or VehicleIsModel(glvp1,276) or VehicleIsModel(glvp1,277) or VehicleIsModel(glvp1,278) or VehicleIsModel(glvp1,279) or VehicleIsModel(glvp1,280) or VehicleIsModel(glvp1,281) or VehicleIsModel(glvp1,282) or VehicleIsModel(glvp1,283) then
  8767.         if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8768.           PedPutOnBike(gPlayer,VehicleForPlayer)
  8769.         elseif IsButtonBeingPressed(9,0) and PedIsInVehicle(gPlayer,VehicleForPlayer) then
  8770.           PedSetActionNode(gPlayer,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  8771.           Wait(500)
  8772.         end
  8773.       elseif VehicleIsModel(glvp1,284) or VehicleIsModel(glvp1,286) or VehicleIsModel(glvp1,288) or VehicleIsModel(glvp1,289) or VehicleIsModel(glvp1,290) or VehicleIsModel(glvp1,291) or VehicleIsModel(glvp1,292) or VehicleIsModel(glvp1,293) or VehicleIsModel(glvp1,294) or VehicleIsModel(glvp1,295) or VehicleIsModel(glvp1,296) or VehicleIsModel(glvp1,297) then
  8774.         if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8775.           PedWarpIntoCar(gPlayer,VehicleForPlayer)
  8776.         end
  8777.       elseif VehicleIsModel(glvp1,285) or VehicleIsModel(glvp1,287) or VehicleIsModel(glvp1,298) then
  8778.         if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8779.           PedWarpIntoCar(gPlayer,VehicleForPlayer)
  8780.         elseif IsButtonBeingPressed(9,0) and PedIsInVehicle(gPlayer,VehicleForPlayer) then
  8781.           local x,y,z = VehicleGetPosXYZ(VehicleForPlayer)
  8782.           VehicleStop(VehicleForPlayer)
  8783.           PedWarpOutOfCar(gPlayer,VehicleForPlayer)
  8784.           Wait(50)
  8785.           PedSetPosXYZ(gPlayer,x + 2,y + 2,z)
  8786.           Wait(500)
  8787.         end
  8788.       end
  8789.     end
  8790.     if PedIsInVehicle(gPlayer,VehicleForPlayer) then
  8791.       if IsButtonBeingPressed(8,0) then
  8792.         if siren == 0 then
  8793.           VehicleEnableSiren(VehicleForPlayer,true)
  8794.           siren = 1
  8795.         elseif siren == 1 then
  8796.           VehicleEnableSiren(VehicleForPlayer,false)
  8797.           siren = 0
  8798.         end
  8799.       end
  8800.     end
  8801.   end
  8802.   if VehicleIsValid(VehicleForPlayer2) then
  8803.     local a,s,d = VehicleGetPosXYZ(VehicleForPlayer2)
  8804.     local t1 = a + 3
  8805.     local t2 = s + 3
  8806.     local t3 = a - 3
  8807.     local t4 = s - 3
  8808.     if PedInRectangle(Player2,t1,t2,t3,t4) then
  8809.       local glvp2 = VehicleForPlayer2
  8810.       if VehicleIsModel(glvp2,275) or VehicleIsModel(glvp2,276) or VehicleIsModel(glvp2,277) or VehicleIsModel(glvp2,278) or VehicleIsModel(glvp2,279) or VehicleIsModel(glvp2,280) or VehicleIsModel(glvp2,281) or VehicleIsModel(glvp2,282) or VehicleIsModel(glvp2,283) then
  8811.         if IsButtonBeingReleased(9,1) and not PedIsInAnyVehicle(Player2) then
  8812.           PedPutOnBike(Player2,VehicleForPlayer2)
  8813.         elseif IsButtonBeingPressed(9,1) and PedIsInVehicle(Player2,VehicleForPlayer2) then
  8814.           PedSetActionNode(Player2,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  8815.         end
  8816.       elseif VehicleIsModel(glvp2,284) or VehicleIsModel(glvp2,286) or VehicleIsModel(glvp2,288) or VehicleIsModel(glvp2,289) or VehicleIsModel(glvp2,290) or VehicleIsModel(glvp2,291) or VehicleIsModel(glvp2,292) or VehicleIsModel(glvp2,293) or VehicleIsModel(glvp2,294) or VehicleIsModel(glvp2,295) or VehicleIsModel(glvp2,296) or VehicleIsModel(glvp2,297) then
  8817.         if IsButtonBeingReleased(9,1) and not PedIsInAnyVehicle(Player2) then
  8818.           PedWarpIntoCar(Player2,VehicleForPlayer2)
  8819.         end
  8820.       elseif VehicleIsModel(glvp2,285) or VehicleIsModel(glvp2,287) or VehicleIsModel(glvp2,298) then
  8821.         if IsButtonBeingReleased(9,1) and not PedIsInAnyVehicle(Player2) then
  8822.           PedWarpIntoCar(Player2,VehicleForPlayer2)
  8823.         elseif IsButtonBeingPressed(9,1) and PedIsInVehicle(Player2,VehicleForPlayer2) then
  8824.           local x1,y1,z1 = VehicleGetPosXYZ(VehicleForPlayer2)
  8825.           VehicleStop(VehicleForPlayer2)
  8826.           PedWarpOutOfCar(Player2,VehicleForPlayer2)
  8827.           PedSetPosXYZ(gPlayer,x1 + 2,y1 + 2,z1)
  8828.           Wait(100)
  8829.         end
  8830.       end
  8831.     end
  8832.     if PedIsInVehicle(Player2,VehicleForPlayer2) then
  8833.       if IsButtonBeingPressed(8,1) then
  8834.         if siren2 == 0 then
  8835.           VehicleEnableSiren(VehicleForPlayer2,true)
  8836.           siren2 = 1
  8837.         elseif siren2 == 1 then
  8838.           VehicleEnableSiren(VehicleForPlayer2,false)
  8839.           siren2 = 0
  8840.         end
  8841.       end
  8842.     end
  8843.   end
  8844.   for i = 1,table.getn(betak) do
  8845.     if VehicleIsValid(betak[i].v) then
  8846.       local v = betak[i].v
  8847.       local t,g,m = VehicleGetPosXYZ(v)
  8848.       local r1 = t + 3
  8849.       local r2 = g + 3
  8850.       local r3 = t - 3
  8851.       local r4 = g - 3
  8852.       if PedInRectangle(gPlayer,r1,r2,r3,r4) then
  8853.         local glvp1 = v
  8854.         if VehicleIsModel(glvp1,275) or VehicleIsModel(glvp1,276) or VehicleIsModel(glvp1,277) or VehicleIsModel(glvp1,278) or VehicleIsModel(glvp1,279) or VehicleIsModel(glvp1,280) or VehicleIsModel(glvp1,281) or VehicleIsModel(glvp1,282) or VehicleIsModel(glvp1,283) then
  8855.           if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8856.             PedPutOnBike(gPlayer,v)
  8857.           elseif IsButtonBeingPressed(9,0) and PedIsInVehicle(gPlayer,v) then
  8858.             PedSetActionNode(gPlayer,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  8859.             Wait(500)
  8860.           end
  8861.         elseif VehicleIsModel(glvp1,284) or VehicleIsModel(glvp1,286) or VehicleIsModel(glvp1,288) or VehicleIsModel(glvp1,289) or VehicleIsModel(glvp1,290) or VehicleIsModel(glvp1,291) or VehicleIsModel(glvp1,292) or VehicleIsModel(glvp1,293) or VehicleIsModel(glvp1,294) or VehicleIsModel(glvp1,295) or VehicleIsModel(glvp1,296) or VehicleIsModel(glvp1,297) then
  8862.           if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8863.             PedWarpIntoCar(gPlayer,v)
  8864.           end
  8865.         elseif VehicleIsModel(glvp1,285) or VehicleIsModel(glvp1,287) or VehicleIsModel(glvp1,298) then
  8866.           if IsButtonBeingReleased(9,0) and not PlayerIsInAnyVehicle() then
  8867.             PedWarpIntoCar(gPlayer,v)
  8868.           elseif IsButtonBeingPressed(9,0) and PedIsInVehicle(gPlayer,v) then
  8869.             local x,y,z = VehicleGetPosXYZ(v)
  8870.             VehicleStop(v)
  8871.             PedWarpOutOfCar(gPlayer,v)
  8872.             Wait(50)
  8873.             PedSetPosXYZ(gPlayer,x + 2,y + 2,z)
  8874.             Wait(500)
  8875.           end
  8876.         end
  8877.       end
  8878.       if PedIsInVehicle(gPlayer,v) then
  8879.         if IsButtonBeingPressed(8,0) then
  8880.           if siren == 0 then
  8881.             VehicleEnableSiren(v,true)
  8882.             siren = 1
  8883.           elseif siren == 1 then
  8884.             VehicleEnableSiren(v,false)
  8885.             siren = 0
  8886.           end
  8887.         end
  8888.       end
  8889.     end
  8890.   end
  8891. end
  8892.  
  8893. function MainATZC()
  8894.   if not PedIsModel(gPlayer,0) and PedHasWeapon(gPlayer,-1) and saveStyle ~= "Player" then
  8895.     local doAnim = 0
  8896.     local defkey = PedMePlaying(gPlayer,"DEFAULT_KEY")
  8897.     local ped = PedGetTargetPed()
  8898.     if not PedIsFemale(gPlayer) and not IsAdultMale() and not IsPrefect() and not IsOrderly() and not IsTeacherMale() then
  8899.       if defkey then
  8900.         local x1,y1,z1 = PlayerGetPosXYZ()
  8901.         local x2,y2,z2 = PedGetPosXYZ(ped)
  8902.         if IsButtonBeingPressed(9,0) and PedIsValid(ped) then
  8903.           PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
  8904.         elseif PedIsValid(ped) then
  8905.           if PedGetHealth(ped) > 25 then
  8906.             if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 then
  8907.               if IsButtonBeingPressed(8,0) then
  8908.                 PedSetActionNode(gPlayer,"/Global/1_02/TauntOnce","Act/Conv/1_02.act")
  8909.                 SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8910.               end
  8911.             elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  8912.               if IsButtonBeingPressed(8,0) then
  8913.                 ExecuteActionNode(gPlayer,"/Global/Player/Social_Actions/HarassMoves/Shove_Still/Shove","Act/Player.act")
  8914.                 SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8915.               end
  8916.             end
  8917.           elseif PedGetHealth(ped) < 25 then
  8918.             if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  8919.               if IsButtonBeingPressed(8,0) then
  8920.                 PedSetGrappleTarget(gPlayer,ped)
  8921.                 PedSetActionNode(gPlayer,"/Global/Ambient/SocialAnims/SocialHumiliateAttack/AnimLoadTrigger","Act/Anim/Ambient.act")
  8922.               end
  8923.             end
  8924.           end
  8925.         end
  8926.       end
  8927.     elseif (IsStudentFemale() or IsAdultFemale()) and defkey and saveStyle == "GS_Female_A" or saveStyle == "CV_Female_A" then
  8928.       local x1,y1,z1 = PlayerGetPosXYZ()
  8929.       local x2,y2,z2 = PedGetPosXYZ(ped)
  8930.       if IsButtonBeingPressed(9,0) and PedIsFemale(ped) and PedIsValid(ped) then
  8931.         if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  8932.           PedSetGrappleTarget(gPlayer,ped)
  8933.           PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GirlFight/GirlFight_START","act/anim/GS_Female_A.act")
  8934.         end
  8935.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  8936.         if IsButtonBeingPressed(8,0) then
  8937.           PedSetActionNode(gPlayer,"/Global/1_02/TauntOnce","Act/Conv/1_02.act")
  8938.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8939.         end
  8940.       end
  8941.     elseif IsTeacherFemale() and defkey and saveStyle == "TE_Female_A" or saveStyle == "TE_Secretary" then
  8942.       if IsButtonBeingPressed(9,0) and PedIsValid(ped) and PedHasWeapon(gPlayer,-1) then
  8943.         if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  8944.           PedSetGrappleTarget(gPlayer,ped)
  8945.           PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/EarGrab","Act/Globals.act")
  8946.         end
  8947.       end
  8948.     elseif IsAdultMale() and defkey and saveStyle == "GS_Male_A" or saveStyle == "CV_Male_A" then
  8949.       local x1,y1,z1 = PlayerGetPosXYZ()
  8950.       local x2,y2,z2 = PedGetPosXYZ(ped)
  8951.       if IsButtonBeingPressed(9,0) and PedIsValid(ped) and PedHasWeapon(gPlayer,-1) then
  8952.         if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  8953.           PedSetGrappleTarget(gPlayer,ped)
  8954.         end
  8955.         PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Adult_Takedown","Act/Globals.act")
  8956.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 and PedIsValid(ped) then
  8957.         if IsButtonBeingPressed(8,0) then
  8958.           PedSetActionNode(gPlayer,"/Global/Player/Social_Actions/HarassMoves/Shove_Still/Shove","Act/Player.act")
  8959.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8960.         end
  8961.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  8962.         if IsButtonBeingPressed(8,0) then
  8963.           PedSetActionNode(gPlayer,"/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh02","Act/Anim/Ambient.act")
  8964.           SoundPlayAmbientSpeechEvent(gPlayer,"PLAYER_LAUGH_CRUEL")
  8965.         end
  8966.       end
  8967.     elseif (IsPrefect() or IsOrderly() or IsTeacherMale()) and defkey and PlayerHasAuthorityAct()  then
  8968.       local x1,y1,z1 = PlayerGetPosXYZ()
  8969.       local x2,y2,z2 = PedGetPosXYZ(ped)
  8970.       if IsButtonBeingPressed(9,0) and PedIsValid(ped) then
  8971.         PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Tonfa_Impale/TonfaImpale","Act/Globals.act")
  8972.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 and PedIsValid(ped) then
  8973.         if IsButtonBeingPressed(8,0) then
  8974.           PedSetActionNode(gPlayer,"/Global/Player/Social_Actions/HarassMoves/Shove_Still/Shove","Act/Player.act")
  8975.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8976.         end
  8977.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  8978.         if IsButtonBeingPressed(8,0) then
  8979.           PedSetActionNode(gPlayer,"/Global/1_02/TauntOnce","Act/Conv/1_02.act")
  8980.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  8981.         end
  8982.       end
  8983.     end
  8984.     for i = 1,table.getn(strafe) do
  8985.       if IsButtonBeingPressed(15,0) and defkey and not PedGetFlag(gPlayer,2,true) and strafe[i].button ~= 15 then
  8986.         PedSetFlag(gPlayer,2,true)
  8987.       elseif IsButtonBeingPressed(15,0) and PedGetFlag(gPlayer,2,true) then
  8988.         PedSetFlag(gPlayer,2,false)
  8989.       end
  8990.     end
  8991.   elseif not PedIsModel(gPlayer,0) and (saveStyle == "Player" or PedHasWeapon(gPlayer) ~= -1) then
  8992.     local doAnim = 0
  8993.     local defkey = PedMePlaying(gPlayer,"DEFAULT_KEY")
  8994.     local ped = PedGetTargetPed()
  8995.     if not PedIsFemale(gPlayer) and not IsAdultMale() and not IsPrefect() and not IsOrderly() and not IsTeacherMale() then
  8996.       if defkey then
  8997.         local x1,y1,z1 = PlayerGetPosXYZ()
  8998.         local x2,y2,z2 = PedGetPosXYZ(ped)
  8999.         if PedIsValid(ped) then
  9000.           if PedGetHealth(ped) > 25 then
  9001.             if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 then
  9002.               if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT") then
  9003.                 SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9004.               elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9005.                 SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9006.               end
  9007.             elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 then
  9008.               if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT") then
  9009.                 SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9010.               elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9011.                 SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9012.               end
  9013.             end
  9014.           end
  9015.         end
  9016.       end
  9017.     elseif (IsStudentFemale() or IsAdultFemale()) and defkey then
  9018.       local x1,y1,z1 = PlayerGetPosXYZ()
  9019.       local x2,y2,z2 = PedGetPosXYZ(ped)
  9020.       if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  9021.         if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT") then
  9022.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9023.         elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9024.           SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9025.         end
  9026.       end
  9027.     elseif IsAdultMale() and defkey then
  9028.       local x1,y1,z1 = PlayerGetPosXYZ()
  9029.       local x2,y2,z2 = PedGetPosXYZ(ped)
  9030.       if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 and PedIsValid(ped) then
  9031.         if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT") then
  9032.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9033.         elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9034.           SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9035.         end
  9036.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  9037.         if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"PLAYER_LAUGH_CRUEL") then
  9038.           SoundPlayAmbientSpeechEvent(gPlayer,"PLAYER_LAUGH_CRUEL")
  9039.         elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9040.           SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9041.         end
  9042.       end
  9043.     elseif (IsPrefect() or IsOrderly() or IsTeacherMale()) and defkey then
  9044.       local x1,y1,z1 = PlayerGetPosXYZ()
  9045.       local x2,y2,z2 = PedGetPosXYZ(ped)
  9046.       if math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 2 and PedIsValid(ped) then
  9047.         if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT") then
  9048.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9049.         elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9050.           SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9051.         end
  9052.       elseif math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) > 2 and PedIsValid(ped) then
  9053.         if IsButtonBeingPressed(8,0) and not SoundSpeechPlaying(gPlayer,"TAUNT")then
  9054.           SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT")
  9055.         elseif IsButtonBeingPressed(7,0) and not SoundSpeechPlaying(gPlayer,"GREET") then
  9056.           SoundPlayAmbientSpeechEvent(gPlayer,"GREET")
  9057.         end
  9058.       end
  9059.     end
  9060.   end
  9061. end
  9062.  
  9063. function fix_model_set()
  9064.   local fix_model_string = {
  9065.     "Nothing",
  9066.     "Only when clothing manager",
  9067.     "Only when alt tab",
  9068.     "Only when shopping",
  9069.     "When clothing manager and shopping",
  9070.     "Use all setting",
  9071.   }
  9072.   use_fix_model = fix_model_option
  9073.   return fix_model_string[fix_model_option]
  9074. end
  9075.  
  9076. function FreeMoves()
  9077.     local t
  9078.     local on = true
  9079.     local cp,ch = 0,PedGetHeading(gPlayer)
  9080.     local dist = 100
  9081.     local show = "Clear"
  9082.     local fc = false
  9083.     local ix,iy,iz = nil,nil,nil
  9084.     local pause = false
  9085.     local mode = "nil"
  9086.     local stat = "RUN"
  9087.     local ppx,ppy,ppz = 0,0,0
  9088.     local rotation = 0
  9089.     SoundPlay2D("RightBtn")
  9090.     Wait(200)
  9091.     ToggleHUDComponentVisibility(4,false)
  9092.     ToggleHUDComponentVisibility(11,false)
  9093.     ToggleHUDComponentVisibility(0,false)
  9094.     repeat
  9095.         Wait(0)
  9096.         if on then
  9097.             if not PlayerIsInAnyVehicle() then
  9098.                 mode = "PLAYER"
  9099.                 if not pause then
  9100.                     PlayerSetControl(0)
  9101.                     PedSetEffectedByGravity(gPlayer,false)
  9102.                     if not PedIsPlaying(gPlayer,"/Global/1_06/HoboFly",true) then
  9103.                         PedSetActionNode(gPlayer,"/Global/1_06/HoboFly","Act/Conv/1_06.act")
  9104.                     end
  9105.                     if PedIsValid(rat) then
  9106.                         PedDelete(rat)
  9107.                     end
  9108.                     dist = dist + (GetStickValue(0,0)-GetStickValue(1,0))
  9109.                     cp = cp + GetStickValue(19,0)/20
  9110.                     ch = ch + GetStickValue(18,0)/20
  9111.                     local ppx,ppy,ppz = PlayerGetPosXYZ()
  9112.                     local speed = IsButtonPressed(7,0) and 7 or IsButtonPressed(6,0) and 0.05 or 1
  9113.                     local x1,y1 = F_GetForwardDir2D(ch,GetStickValue(17,0)/10*speed)
  9114.                     local x2,y2 = F_GetForwardDir2D(ch+math.pi/2,GetStickValue(16,0)/10*speed)
  9115.                     local z = (GetStickValue(12,0)-GetStickValue(10,0))/10*speed
  9116.                     ppx,ppy,ppz = ppx+x1+x2,ppy+y1+y2,ppz+z
  9117.                     PlayerFaceHeading(ch)
  9118.                     PlayerSetPosSimple(ppx,ppy,ppz)
  9119.                     local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
  9120.                     local setx,sety,setz = ix or ppx+cx,iy or ppy+cy,iz or ppz+cz+1.5
  9121.                     local facex,facey,facez = ix and ix - cx or ppx,iy and iy - cy or ppy,iz and iz - cz or ppz+1.5
  9122.                     CameraSetXYZ(setx,sety,setz,facex,facey,facez)
  9123.                 else
  9124.                     PedSetEffectedByGravity(gPlayer,true)
  9125.                 end
  9126.             elseif PlayerIsInAnyVehicle() then
  9127.                 mode = "VEHICLE"
  9128.                 if not pause then
  9129.                     if not PedIsValid(rat) then
  9130.                         local x,y,z = PlayerGetPosXYZ()
  9131.                         rat = PedCreateXYZ(136,x,y,z + 20)
  9132.                         PedSetControllerID(rat,5)
  9133.                         PedSetEffectedByGravity(rat,false)
  9134.                         PedSetAlpha(rat,0)
  9135.                         PedSetPosXYZ(rat,x,y,z + 5)
  9136.                         rotation = 0
  9137.                         cp,ch = 0,PedGetHeading(rat)
  9138.                     end
  9139.                     PedSetFlag(rat,20,true)
  9140.                     PedSetFlag(rat,23,true)
  9141.                     GameSetPedStat(rat,20,0)
  9142.                     PlayerSetControl(0)
  9143.                     PedSetAsleep(rat,true)
  9144.                     PedSetEffectedByGravity(gPlayer,true)
  9145.                     PedSetEffectedByGravity(rat,false)
  9146.                     for i,p in {PedFindInAreaXYZ(0,0,0,999999)} do
  9147.                         if PedIsValid(p) and p ~= gPlayer then
  9148.                             if PedGetTargetPed(p) == gPlayer then
  9149.                                 local x,y,z = PlayerGetPosXYZ()
  9150.                                 local q,w,e = PedGetPosXYZ(p)
  9151.                                 local Abs = math.abs
  9152.                                 if Abs(x - q) + Abs(y - w) + Abs(z - e) < 25 then
  9153.                                     PedDontCleanup(p)
  9154.                                 else
  9155.                                     PedDelete(p)
  9156.                                 end
  9157.                             end
  9158.                         end
  9159.                     end
  9160.                     dist = dist + (GetStickValue(0,0)-GetStickValue(1,0))
  9161.                     cp = cp + GetStickValue(19,0)/20
  9162.                     ch = ch + GetStickValue(18,0)/20
  9163.                     ppx,ppy,ppz = PedGetPosXYZ(rat)
  9164.                     speed = IsButtonPressed(7,0) and 8 or IsButtonPressed(6,0) and 0.05 or 1
  9165.                     x1,y1 = F_GetForwardDir2D(ch,GetStickValue(17,0)/10*speed)
  9166.                     x2,y2 = F_GetForwardDir2D(ch+math.pi/2,GetStickValue(16,0)/10*speed)
  9167.                     z = (GetStickValue(12,0)-GetStickValue(10,0))/10*speed
  9168.                     ppx,ppy,ppz = ppx+x1+x2,ppy+y1+y2,ppz+z
  9169.          
  9170.                     if bb(2,0) then
  9171.                         rotation = rotation - GetStickValue(2,0)*4.5
  9172.                         if rotation < 0 then rotation = 360 end
  9173.                         if rotation > 360 then rotation = 0 end
  9174.                         VehicleFaceHeading(PedGetLastVehicle(gPlayer),rotation)
  9175.                     end
  9176.          
  9177.                     PedSetPosXYZ(rat,ppx,ppy,ppz)
  9178.                     PedSetPosXYZ(gPlayer,ppx,ppy,ppz - 4.5)
  9179.                     local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
  9180.                     local setx,sety,setz = ix or ppx+cx,iy or ppy+cy,iz or ppz+cz-3
  9181.                     local facex,facey,facez = ix and ix - cx or ppx,iy and iy - cy or ppy,iz and iz - cz or ppz-3
  9182.                     CameraSetXYZ(setx,sety,setz,facex,facey,facez)
  9183.                 else
  9184.                     if PedIsValid(rat) then
  9185.                         PedDelete(rat)
  9186.                     end
  9187.                     PedSetEffectedByGravity(gPlayer,true)
  9188.                 end
  9189.             end
  9190.             if br(3,0) then
  9191.                 if pause then
  9192.                     pause = false
  9193.                     in_other_task = true
  9194.                     stat = "RUN"
  9195.                 else
  9196.                     pause = true
  9197.                     in_other_task = false
  9198.                     stat = "PAUSE"
  9199.                     CameraReturnToPlayer()
  9200.                     PlayerSetControl(1)
  9201.                     if mode == "PLAYER" then
  9202.                         PlayerStopAllActionControllers()
  9203.                     end
  9204.                 end
  9205.                 SoundPlay2D("RightBtn")
  9206.                 Wait(100)
  9207.             end
  9208.             if bp(8,0) and not pause then
  9209.                 if show == "textOne" then
  9210.                     show = "textTwo"
  9211.                 elseif show == "textTwo" then
  9212.                     show = "textThree"
  9213.                 elseif show == "textThree" then
  9214.                     show = "Clear"
  9215.                 else
  9216.                     show = "textOne"
  9217.                 end
  9218.             end
  9219.             if show == "textOne" then
  9220.                 TextPrintString("MODE: "..mode.."\nSTATUS: "..stat,1,2)
  9221.             elseif show == "textTwo" then
  9222.                 TextPrintString("| Pos: "..ppx.." , "..ppy.." , "..ppz.." |\n| Area: "..AreaGetVisible().." |",1,2)
  9223.             elseif show == "textThree" then
  9224.                 if mode == "PLAYER" then
  9225.                     TextPrintString("| Zoom: ~dleft~ or ~dright~ | Height: ~FIRE_WEAPON~ or \r |\n| Pause/Unpause: ~ddown~ | Text: ~JUMP~ |",1,2)
  9226.                 else
  9227.                     TextPrintString("| Zoom: ~dleft~ or ~dright~ | Height: ~FIRE_WEAPON~ or \r |\n| Pause/Unpause: ~ddown~ | Text: ~JUMP~ |\n| Rotate: ~dup~ |",1,2)
  9228.                 end
  9229.             end
  9230.         end
  9231.     until br(14,0) and pause
  9232.     CameraReturnToPlayer()
  9233.     PlayerSetControl(1)
  9234.     PlayerStopAllActionControllers()
  9235.     PedSetEffectedByGravity(gPlayer,true)
  9236.     SoundPlay2D("WrongBtn")
  9237.     ToggleHUDComponentVisibility(4,true)
  9238.     ToggleHUDComponentVisibility(11,true)
  9239.     ToggleHUDComponentVisibility(0,true)
  9240.     Wait(100)
  9241. end
  9242.  
  9243. function FreeCam()
  9244.     kick = false
  9245.     w = 1
  9246.     -- Setup variables:
  9247.     local t
  9248.     local on = false
  9249.     local cp,ch = 0,0
  9250.     local dist = 100
  9251.     local show = false
  9252.     local fc,fcx,fcy,fcz = false
  9253.     on = true
  9254.    
  9255.     free = true
  9256.    
  9257.     loop = true
  9258.    
  9259.     r = 1  
  9260.    
  9261.     SoundPlay2D("RightBtn")
  9262.    
  9263.     ToggleHUDComponentVisibility(4,false)
  9264.     ToggleHUDComponentVisibility(11,false)
  9265.     ToggleHUDComponentVisibility(0,false)
  9266.    
  9267.     in_other_task = true
  9268.    
  9269.     -- Main loop:
  9270.     repeat
  9271.         -- Wait (suspend script):
  9272.         Wait(0)
  9273.         -- Focus on camera:
  9274.         SoundSetAudioFocusCamera()
  9275.         if on then
  9276.             PlayerSetControl(0)
  9277.             dist = dist + (GetStickValue(0,0)-GetStickValue(1,0))
  9278.             cp = cp + GetStickValue(19,0)/20
  9279.             ch = ch + GetStickValue(18,0)/20
  9280.             local px,py,pz = PlayerGetPosXYZ()
  9281.             local speed = IsButtonPressed(7,0) and 7 or IsButtonPressed(6,0) and 0.05 or 1
  9282.             local x1,y1 = F_GetForwardDir2D(ch,GetStickValue(17,0)/10*speed)
  9283.             local x2,y2 = F_GetForwardDir2D(ch+math.pi/2,GetStickValue(16,0)/10*speed)
  9284.             local z = (GetStickValue(12,0)-GetStickValue(10,0))/10*speed
  9285.             if loop and r ~= 5 then
  9286.                 -- Toggle free cam:
  9287.                 fc = not fc
  9288.                 if fc then
  9289.                     -- Initialize free camera:
  9290.                     local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
  9291.                     fcx,fcy,fcz = px+cx,py+cy,pz+cz+1.5
  9292.                     r = 5
  9293.                 else
  9294.                     -- Turn off free camera:
  9295.                     fc,fcx,fcy,fcz = false,nil,nil,nil
  9296.                 end
  9297.             elseif fc then
  9298.                 -- Move free camera:
  9299.                 fcx,fcy,fcz = fcx+x1+x2,fcy+y1+y2,fcz+z
  9300.             else
  9301.                 -- Move player:
  9302.                 px,py,pz = px+x1+x2,py+y1+y2,pz+z
  9303.                
  9304.                 -- Set position:
  9305.                 PlayerFaceHeading(ch)
  9306.                 PlayerSetPosSimple(px,py,pz)
  9307.             end
  9308.            
  9309.             -- Set camera:
  9310.             local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
  9311.             local camx,camy,camz = fcx or px+cx,fcy or py+cy,fcz or pz+cz+1.5
  9312.             local lookx,looky,lookz = fcx and fcx - cx or px,fcy and fcy - cy or py,fcz and fcz - cz or pz+1.5
  9313.             CameraSetXYZ(camx,camy,camz,lookx,looky,lookz)
  9314.         end
  9315.     until IsButtonBeingPressed(14,0)
  9316.     PlayerSetControl(1)
  9317.     SoundSetAudioFocusPlayer()
  9318.     CameraReturnToPlayer()
  9319.     in_other_task = false
  9320.     PlayerStopAllActionControllers()
  9321.     ToggleHUDComponentVisibility(4,true)
  9322.     ToggleHUDComponentVisibility(11,true)
  9323.     ToggleHUDComponentVisibility(0,true)
  9324.     SoundPlay2D("WrongBtn")
  9325.     Wait(100)
  9326. end
  9327.  
  9328. function skip_cuts()
  9329.   if skip_cut then
  9330.     return "ENABLE"
  9331.   else
  9332.     return "DISABLE"
  9333.   end
  9334. end
  9335.  
  9336. function fc_cut()
  9337.   if use_fc_cut then
  9338.     return "ENABLE"
  9339.   else
  9340.     return "DISABLE"
  9341.   end
  9342. end
  9343.  
  9344. function play_cc()
  9345.   able_to_play = false
  9346.   if load_cutscene == "GENERAL" or cuts_audio == "GENERAL" or cuts_audio == "GENERAL" then
  9347.     TextPrintString("ERROR: CUTSCENE DOESN'T EXIST",2,1)
  9348.     Wait(1500)
  9349.     able_to_play = false
  9350.   else
  9351.     able_to_play = true
  9352.   end
  9353.   if able_to_play then
  9354.     S_CutsEdit()
  9355.     if load_cutscene ~= "RANDOM" then
  9356.       LoadCutscene(load_cutscene, false)
  9357.     else
  9358.       LoadCutscene(mof[math.random(3,table.getn(mof))], false)
  9359.     end
  9360.     if cuts_action ~= "RANDOM" then
  9361.       CutSceneSetActionNode(cuts_action)
  9362.     else
  9363.       CutSceneSetActionNode(mof[math.random(3,table.getn(mof))])
  9364.     end
  9365.     if cuts_audio ~= "RANDOM" then
  9366.       LoadCutsceneSound(cuts_audio)
  9367.     else
  9368.       LoadCutsceneSound(mof[math.random(3,table.getn(mof))])
  9369.     end
  9370.     repeat
  9371.       Wait(0)
  9372.     until IsCutsceneLoaded()
  9373.     custome_cuts = true
  9374.   end
  9375. end
  9376.  
  9377. function distance_between_us(ped1,ped2)
  9378.   local x,y,z = PedGetPosXYZ(ped1)
  9379.   local a,b,c = PedGetPosXYZ(ped2)
  9380.   return math.abs(x - a) + math.abs(y - b) + math.abs(z - c) < 2
  9381. end
  9382.  
  9383. function create_ped(n,i,s,x,y,z)
  9384.   n = PedCreateXYZ(i,x + 1,y,z)
  9385.   PedSetActionTree(n,"/Global/"..s,"Act/Anim/"..s..".act")
  9386.   PedSetAITree(n,"/Global/AI","Act/AI/AI.act")
  9387.   PedMakeAmbient(n)
  9388. end
  9389.  
  9390. function get_error(t_time)
  9391.   TextPrintString("ERROR: ACTION FAILED",t_time,1)
  9392.   Wait(t_time*1000)
  9393. end
  9394.  
  9395. function F_GetForwardDir2D(h,dist)
  9396.   return -math.sin(h)*dist,math.cos(h)*dist
  9397. end
  9398.  
  9399. function F_GetForwardDir3D(p,h,dist)
  9400.   return math.cos(p)*-math.sin(h)*dist,math.cos(p)*math.cos(h)*dist,math.sin(p)*dist
  9401. end
  9402.  
  9403. function ped_get_action_tree(ped,mode)
  9404.   S_SetupCore()
  9405.   for option = 1,table.getn(styles) do
  9406.     if mode == 0 then
  9407.       if PedIsPlaying(ped,"/Global/"..styles[option],true) then
  9408.         return styles[option]
  9409.       end
  9410.     elseif mode == 1 then
  9411.       PedStop(ped)
  9412.       if PedIsPlaying(ped,"/Global/"..styles[option],true) then
  9413.         return styles[option]
  9414.       end
  9415.     end
  9416.   end
  9417.   return "Player"
  9418. end
  9419.  
  9420. function create_custom_ped(x,y,z)
  9421.   S_SetupCore()
  9422.   if pedSelect == 1 then
  9423.     custom_ped = PedCreateXYZ(2,x + 2,y + 2,z)
  9424.     PedSwapModel(custom_ped,"player")
  9425.   elseif pedSelect ~= 1 then
  9426.     custom_ped = PedCreateXYZ(pedSelect,x + 2,y + 2,z)
  9427.   end
  9428.   PedSetActionTree(custom_ped,"/Global/"..peds[pedSelect].style,"Act/Anim/"..peds[pedSelect].style..".act")
  9429.   PedSetAITree(custom_ped,"/Global/AI","Act/AI/AI.act")
  9430.   PedSetInfiniteSprint(custom_ped, true)
  9431.   PedDontCleanup(custom_ped)
  9432.   PedMakeAmbient(custom_ped)
  9433.   if fgSelect == 2 then
  9434.     local leader = gPlayer
  9435.     while PedHasAllyFollower(leader) do
  9436.       leader = PedGetAllyFollower(leader)
  9437.       Wait(0)
  9438.     end
  9439.     PedRecruitAlly(leader,custom_ped)
  9440.   elseif fgSelect == 3 then
  9441.     PedAttackPlayer(custom_ped,3)
  9442.   end
  9443.   createPed = createPed + 1
  9444. end
  9445.  
  9446. function ArtClassIsActive()
  9447.   return MissionActiveSpecific("C_ART_1") or MissionActiveSpecific("C_ART_2") or MissionActiveSpecific("C_ART_3") or MissionActiveSpecific("C_ART_4") or MissionActiveSpecific("C_ART_5")
  9448. end
  9449.  
  9450. function PlayerIsInClass()
  9451.   return MissionActiveSpecific("C_English_1") or MissionActiveSpecific("C_English_2") or MissionActiveSpecific("C_English_3") or MissionActiveSpecific("C_English_4") or MissionActiveSpecific("C_English_5") or MissionActiveSpecific("C_ART_1") or MissionActiveSpecific("C_ART_2") or MissionActiveSpecific("C_ART_3") or MissionActiveSpecific("C_ART_4") or MissionActiveSpecific("C_ART_5") or MissionActiveSpecific("C_Math_1") or MissionActiveSpecific("C_Math_2") or MissionActiveSpecific("C_Math_3") or MissionActiveSpecific("C_Math_4") or MissionActiveSpecific("C_Math_5") or MissionActiveSpecific("C_Biology_1") or MissionActiveSpecific("C_Biology_2") or MissionActiveSpecific("C_Biology_3") or MissionActiveSpecific("C_Biology_4") or MissionActiveSpecific("C_Biology_5") or MissionActiveSpecific("C_Geography_1") or MissionActiveSpecific("C_Geography_2") or MissionActiveSpecific("C_Geography_3") or MissionActiveSpecific("C_Geography_4") or MissionActiveSpecific("C_Geography_5")
  9452. end
  9453.  
  9454. function IsTeacherFemale()
  9455.   return PedIsModel(gPlayer,54) or PedIsModel(gPlayer,58) or PedIsModel(gPlayer,59) or PedIsModel(gPlayer,60) or PedIsModel(gPlayer,62) or PedIsModel(gPlayer,63) or PedIsModel(gPlayer,58) or PedIsModel(gPlayer,221)
  9456. end
  9457.  
  9458. function IsAdultFemale()
  9459.   return PedIsModel(gPlayer,78) or PedIsModel(gPlayer,79) or PedIsModel(gPlayer,80) or PedIsModel(gPlayer,81) or PedIsModel(gPlayer,120) or PedIsModel(gPlayer,143) or PedIsModel(gPlayer,191) or PedIsModel(gPlayer,192) or PedIsModel(gPlayer,193)
  9460. end
  9461.  
  9462. function IsStudentFemale()
  9463.   return PedIsModel(gPlayer,2) or PedIsModel(gPlayer,3) or PedIsModel(gPlayer,14) or PedIsModel(gPlayer,25) or PedIsModel(gPlayer,38) or PedIsModel(gPlayer,39) or PedIsModel(gPlayer,48) or PedIsModel(gPlayer,67) or PedIsModel(gPlayer,90) or PedIsModel(gPlayer,93) or PedIsModel(gPlayer,94) or PedIsModel(gPlayer,95) or PedIsModel(gPlayer,96) or PedIsModel(gPlayer,166) or PedIsModel(gPlayer,167) or PedIsModel(gPlayer,175) or PedIsModel(gPlayer,180) or PedIsModel(gPlayer,181) or PedIsModel(gPlayer,182) or PedIsModel(gPlayer,230)
  9464. end
  9465.  
  9466. function IsAdultMale()
  9467.   return PedIsModel(gPlayer,56) or PedIsModel(gPlayer,76) or PedIsModel(gPlayer,77) or PedIsModel(gPlayer,84) or PedIsModel(gPlayer,86) or PedIsModel(gPlayer,89) or PedIsModel(gPlayer,100) or PedIsModel(gPlayer,101) or PedIsModel(gPlayer,103) or PedIsModel(gPlayer,104) or PedIsModel(gPlayer,105) or PedIsModel(gPlayer,108) or PedIsModel(gPlayer,113) or PedIsModel(gPlayer,114) or PedIsModel(gPlayer,115) or PedIsModel(gPlayer,116) or PedIsModel(gPlayer,123) or PedIsModel(gPlayer,124) or PedIsModel(gPlayer,127) or PedIsModel(gPlayer,128) or PedIsModel(gPlayer,144) or PedIsModel(gPlayer,148) or PedIsModel(gPlayer,149) or PedIsModel(gPlayer,152) or PedIsModel(gPlayer,156) or PedIsModel(gPlayer,187) or PedIsModel(gPlayer,190) or PedIsModel(gPlayer,194) or PedIsModel(gPlayer,195) or PedIsModel(gPlayer,222) or PedIsModel(gPlayer,223) or PedIsModel(gPlayer,237) or PedIsModel(gPlayer,236) or PedIsModel(gPlayer,252) or PedIsModel(gPlayer,253) or PedIsModel(gPlayer,254)
  9468. end
  9469.  
  9470. function IsPrefect()
  9471.   return PedIsModel(gPlayer,49) or PedIsModel(gPlayer,50) or PedIsModel(gPlayer,51) or PedIsModel(gPlayer,52)
  9472. end
  9473.  
  9474. function IsOrderly()
  9475.   return PedIsModel(gPlayer,53) or PedIsModel(gPlayer,158)
  9476. end
  9477.  
  9478. function IsTeacherMale()
  9479.   return PedIsModel(gPlayer,55) or PedIsModel(gPlayer,56) or PedIsModel(gPlayer,57) or PedIsModel(gPlayer,61) or PedIsModel(gPlayer,64) or PedIsModel(gPlayer,65) or PedIsModel(gPlayer,229) or PedIsModel(gPlayer,248) or PedIsModel(gPlayer,249)
  9480. end
  9481.  
  9482. function PlayerHasAuthorityAct()
  9483.   return saveStyle == "Authority" or saveStyle == "LE_Orderly_A"
  9484. end
  9485.  
  9486. function ped_set_custom_tree(ped,style)
  9487.   if style == "3_05_Norton" then
  9488.     if not PedHasWeapon(ped,324) then
  9489.       PedSetWeapon(ped,324,1)
  9490.     end
  9491.     while not PedHasWeapon(ped,324) do
  9492.       Wait(0)
  9493.     end
  9494.     PedSetActionTree(ped,"/Global/Norton","Act/Anim/"..style..".act")
  9495.   else
  9496.     PedSetActionTree(ped,"/Global/"..style,"Act/Anim/"..style..".act")
  9497.   end
  9498. end
  9499.  
  9500. function WaitUntil(b,c)
  9501.   while not IsButtonBeingReleased(b,c) do
  9502.     Wait(0)
  9503.   end
  9504. end
  9505.  
  9506. function AreaSetAllDoorsUnlocked()
  9507.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorDoorL, false)
  9508.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorDoorL, false)
  9509.   AreaSetDoorLocked(TRIGGER._DT_iSafeDrop_DoorL, false)
  9510.   AreaSetDoorLocked(TRIGGER._5_03_Control_Room_Door, false)
  9511.   AreaSetDoorLocked(TRIGGER._DT_TINDUST_CHEMEX_DOOR, false)
  9512.   AreaSetDoorLocked(TRIGGER._DT_Observatory, false)
  9513.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, false)
  9514.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, false)
  9515.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, false)
  9516.   AreaSetDoorLocked(TRIGGER._DT_classr2_doorL, false)
  9517.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, false)
  9518.   AreaSetDoorLocked(TRIGGER._3_S11_Path1_Door1, false)
  9519.   AreaSetDoorLocked(TRIGGER._3_S11_Path1_Door3, false)
  9520.   AreaSetDoorLocked(TRIGGER._3_S11_Path2_Door1, false)
  9521.   AreaSetDoorLocked(TRIGGER._3_S11_Path2_Door2, false)
  9522.   AreaSetDoorLocked(TRIGGER._5_03_Rec_Room, false)
  9523.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room1, false)
  9524.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room2, false)
  9525.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room3, false)
  9526.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, false)
  9527.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, false)
  9528.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_SIDE_EXIT, false)
  9529.   AreaSetDoorLocked(TRIGGER._DT_ischool_RoofDoor, false)
  9530.   AreaSetDoorLocked(TRIGGER._DT_ischool_RoofDoor, false)
  9531.   AreaSetDoorLocked(TRIGGER._DT_ischool_Staff, false)
  9532.   AreaSetDoorLocked(TRIGGER._DT_ischool_Staff, false)
  9533.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_BIO, false)
  9534.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_BIO, false)
  9535.   AreaSetDoorLocked(TRIGGER._DT_iSafeDrop_DoorL, false)
  9536.   AreaSetDoorLocked(TRIGGER._DT_tind_SafeDrop, false)
  9537.   AreaSetDoorLocked(TRIGGER._DT_tschool_SafeJock, false)
  9538.   AreaSetDoorLocked(TRIGGER._DT_iSafeGrsr_DoorL, false)
  9539.   AreaSetDoorLocked(TRIGGER._DT_tpoor_SafeGreaser, false)
  9540.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, false)
  9541.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, false)
  9542.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorBalc, false)
  9543.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, false)
  9544.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, false)
  9545.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, false)
  9546.   AreaSetDoorLocked(TRIGGER._DT_ischool_Door01, false)
  9547.   AreaSetDoorLocked(TRIGGER._DT_ischool_Door01, false)
  9548.   AreaSetDoorLocked(TRIGGER._DT_Janitor_SchoolExit, false)
  9549.   AreaSetDoorLocked(TRIGGER._DT_Janitor_MainExit, false)
  9550.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, false)
  9551.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_SIDE_EXIT, false)
  9552.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, false)
  9553.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, false)
  9554.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, false)
  9555.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, false)
  9556.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, false)
  9557.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_CHEM, false)
  9558.   AreaSetDoorLocked(TRIGGER._DT_ischool_Janitor, false)
  9559.   AreaSetDoorLocked(TRIGGER._DT_ischool_PrincipalDoorL, false)
  9560.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, false)
  9561.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, false)
  9562.   AreaSetDoorLocked(TRIGGER._DT_Tenement_Window, false)
  9563.   AreaSetDoorLocked(TRIGGER._DT_Tenement_Window, false)
  9564.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, false)
  9565.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, false)
  9566.   AreaSetDoorLocked(TRIGGER._DT_iSafeNerd_DoorL, false)
  9567.   AreaSetDoorLocked(TRIGGER._DT_iSafeNerd_DoorL, false)
  9568.   AreaSetDoorLocked(TRIGGER._5_03_Control_Orderly_Path, false)
  9569.   AreaSetDoorLocked(TRIGGER._3_S11_Asylum_Gate_Warning, false)
  9570.   AreaSetDoorLocked(TRIGGER._3_S11_Asylum_Gate_Warning2, false)
  9571.   AreaSetDoorLocked(TRIGGER._ASYLUM_FRONT_GATE_DOOR, false)
  9572.   AreaSetDoorLocked(TRIGGER._ASYLUM_FRONT_DOOR_R, false)
  9573.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, false)
  9574.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, false)
  9575.   AreaSetDoorLocked(TRIGGER._5_B_DEBUG_STAGE4, false)
  9576.   AreaSetDoorLocked(TRIGGER._5_B_EDGARMOVETO, false)
  9577.   AreaSetDoorLocked(TRIGGER._ChemPlantLower, false)
  9578.   AreaSetDoorLocked(TRIGGER._ChemPlantStairTunnel, false)
  9579.   AreaSetDoorLocked(TRIGGER._DT_TSCHOOL_ROOFDOOR, false)
  9580.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_ROOFDOOR, false)
  9581.   AreaSetDoorLocked(TRIGGER._ISCHOOL_DOOR25, false)
  9582.   AreaSetDoorLocked(TRIGGER._DT_gym_doorL,false)
  9583. end
  9584.  
  9585. function RESET_ALL_SETTINGS()
  9586. Version = "- 1.0 BETA -"
  9587. size = table.getn
  9588. useTarget = true
  9589. useTargetSetting = 1
  9590. timeFreeze = 0
  9591. noPunishment = 0
  9592. inAmmo = 0
  9593. valueHealth = 100
  9594. propCreate = 0
  9595. damageWeapon = 0
  9596. inHealth = 0
  9597. inMoney = 0
  9598. volAudio = 1
  9599. valueSpeed = 100
  9600. unhideMenu = 0
  9601. alonePlayer = 0
  9602. playerPoint = 0
  9603. playerAlly = 1
  9604. gravityPlayer = 0
  9605. classTime = 0
  9606. classGrade = 1
  9607. invPlayer = 0
  9608. initTime = 0
  9609. mapCo = 0
  9610. useOutfit = 0
  9611. createPed = 0
  9612. createPlayer = 0
  9613. cght = 0
  9614. controlID = 0
  9615. posa,posx,posy,posz = 999,999,999,999
  9616. siren = 0
  9617. siren2 = 0
  9618. siren3 = 0
  9619. inTickets = 0
  9620. saveModel = "player"
  9621. saveStyle = "Player"
  9622. autoShot = 0
  9623. rapidGun = 0
  9624. rapidPunch = 0
  9625. RepeatMain = 0
  9626. clothSelector = 0
  9627. eagleEye = 0
  9628. farVision = 0
  9629. nearPlayer = 0
  9630. blind = 0
  9631. burn1,burn2 = 0,0
  9632. playerGameSpeedEffect = 0
  9633. addSelect = 1
  9634. vgSelect = 1
  9635. hjSelect = 1
  9636. opSelect = 1
  9637. ghSelect = 1
  9638. vdSelect = 1
  9639. bnSelect = 1
  9640. asSelect = 1
  9641. uiSelect = 1
  9642. vwSelect = 1
  9643. rtSelect = 1
  9644. ewSelect = 1
  9645. gySelect = 1
  9646. zSelect = 1
  9647. zaSelect = 1
  9648. cgSelect = 1
  9649. xSelect = 1
  9650. kSelect = 1
  9651. cSelect = 1
  9652. modelSelect = 1
  9653. pedSelect = 1
  9654. fgSelect = 2
  9655. xfSelect = 1
  9656. xsSelect = 1
  9657. styleSelect = 1
  9658. frtSelect = 1
  9659. cbSelect = 1
  9660. cvSelect = 1
  9661. cvbSelect = 1
  9662. cwSelect = 1
  9663. modeSelect = 1
  9664. cwrSelect = 1 -- Outfit Selector select
  9665. cvtSelect = 1 -- Vehicle Selector select
  9666. frSelect = 1 -- Hair Selector select
  9667. speechSelect = 1 -- Speech Select
  9668. gameSpeed = 100 -- Game Speed
  9669. pedGrab = 1 -- Ped Grab select
  9670. vGrab = 1 -- Vehicle Grab (unused)
  9671. fors = 1 -- Special Select
  9672. vsrt = 1 -- Vehicle Thief
  9673. pedGetGrabed = {} -- unused
  9674. cl = 1 -- Class Editor select
  9675. myTimerSet = true -- Toggle custom timer
  9676. mcts = 100 -- Math Class Timer
  9677. bcts = 100 -- Biology Class Timer
  9678. ects = 100 -- English Class Timer
  9679. gcts = 100 -- Geography Class Timer
  9680. acpss = 0.5 -- Art Class Player Speed
  9681. acmes = 1 -- Art Class Enemies Speed
  9682. ecacs = false -- unused
  9683. bcacs = false -- unused
  9684. gcacs = false -- unused
  9685. mcacs = false -- unused
  9686. artClass = 1 -- Art Class Toggle
  9687. otherClass = 1 -- Another Class toggle
  9688. aets = 20 -- Art Enemies Timer
  9689. aeds = 25 -- Art Enemies Debris Count
  9690. acrs = 5 -- Art Class Radius
  9691. pun = 1 -- Punishment Selector select
  9692. mapp = 300 -- Max Punishment Points
  9693. mipp = 0 -- Minimum Punishment Points
  9694. maxPoints = 0 -- Max Points
  9695. minPoints = 0 -- Min Points
  9696. cut = 1 -- Cutscene Selector select
  9697. it = 1 -- Item Selector select
  9698. allowArtSetting = 0 -- unused
  9699. pe = 1 -- Ped Editor
  9700. stses = 1 -- "strafe selection" select
  9701. kissAllGirls = false -- Toggle Kiss All Girls
  9702. kissAllBoys = false -- Toggle Kiss All Boys
  9703. pedRun = false -- Tonggle Ped Run
  9704. pedDFB = false -- Toggle Ped Dont Fight Back
  9705. pedAEO = false -- Toggle Ped Attack Each Other
  9706. fs = 1 -- Fighting System select
  9707. shutUp = false -- Tonggle Ped Voice
  9708. st = 1 -- Strafe Selector select
  9709. sq = 1 --  unused
  9710. button1 = 0 -- unused
  9711. fpsCam = 0 -- unused
  9712. tps = 0 -- unused
  9713. freeCam = false -- Toggle Free camera
  9714. sprintPressed = 0 -- Sprint detection
  9715. lastSprint = GetTimer()
  9716. lastRun = GetTimer()
  9717. sprintPressed1 = 0 -- Sprint detection
  9718. lastSprint1 = GetTimer()
  9719. lastRun1 = GetTimer()
  9720. fas = 1 -- faction selector select
  9721. ss = 1 -- Strafe Selector?
  9722. ms = 1 -- Movement Style select
  9723. playerControl = false -- Toggle Always Control Player
  9724. strafe = {} -- Animation storage
  9725. strafeAnim = {} -- Animation storafe (for anim detection)
  9726. slb = 1 -- Strafe select
  9727. pcs = 1 -- Pickup Selector select
  9728. table.insert(strafe,{anim = "nil",act = "nil",button = nil}) -- Don't let strafe empty
  9729. table.insert(strafeAnim,{anim = "nil",act = "nil",playing = "nil",mode = "nil",button = "nil"}) -- Don't let strafe empty
  9730. grabAnim,grabAct = "nil","nil" -- Grab animation
  9731. mountAnim,mountAct = "nil","nil" -- Mount animation
  9732. bugSelect = 1 -- Bug detection select
  9733. GameSpeed = false -- Toggle Game Speed
  9734. myRespect = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9735. fightingSystem = true -- NOTE: DON'T EDIT THIS
  9736. savedStrafe = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9737. FixBugs = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9738. ActiveScripts = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9739. ActiveScripts2 = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9740. getMovements = true -- NOTE: DON'T CHANGE THIS VARIABLE
  9741. moving = false -- Movement moving detection
  9742. moving2 = false
  9743. moving3 = false
  9744. strafingStyle = false
  9745. strafing = false -- Movement strafing detection
  9746. showText = false -- Navigate control text
  9747. MainMenuType = "NEW_MENU" -- Main Menu style (SCROLL_5,SCROLL_3,STANDARD,BASIC_BIG_SIZE,BASIC_SMALL_SIZE)
  9748. movement = "DEFAULT"
  9749. movement2 = "DEFAULT"
  9750. movement3 = "DEFAULT"
  9751. msc = 1
  9752. menu = 1
  9753. hidingMenu = "AUTO" -- MANUAL or AUTO
  9754. AutoShowingTextAfterExitingSubMenu = false
  9755. hideMenu = 1
  9756. ssms = 1
  9757. ibbp = IsButtonBeingPressed
  9758. ibbr = IsButtonBeingReleased
  9759. replaceFightingStyle = true
  9760. replaceStyle = {}
  9761. sels = 1
  9762. createdPed = {}
  9763. ReplaceFactionModel = true
  9764. DetectFaction = {}
  9765. FactionModel = {}
  9766. ReplacedModel = true
  9767. modelInsert = {}
  9768. --TextTimer = 3
  9769. NerdID = {3,4,5,6,7,8,9,10,11}
  9770. BulliesID = {75,85,99,102,145,146,147}
  9771. JocksID = {12,13,14,15,16,17,18,19,20}
  9772. PrepiesID = {30,31,32,33,34,35,36,37,38,40}
  9773. GreasersID = {21,22,23,24,25,26,27,28,29}
  9774. DropoutID = {41,42,43,44,45,46,47,48,91,2}
  9775. table.insert(DetectFaction,{faction = nil})
  9776. table.insert(FactionModel,{"nil","nil","nil","nil","nil","nil","nil","nil","nil","nil"})
  9777. table.insert(replaceStyle,{faction = nil,style = "nil"})
  9778. vrst = 1
  9779. sivs = 1
  9780. br = IsButtonBeingReleased
  9781. bp = IsButtonBeingPressed
  9782. bb = IsButtonPressed
  9783. betak = {}
  9784. table.insert(betak,{v = "nil"})
  9785. nearPlayerEffect = {}
  9786. nearPlayerPed = {}
  9787. NearPlayer = false
  9788. StrafeButton = {}
  9789. effect = {}
  9790. clear = false
  9791. waitSSpud = GetTimer()
  9792. waitSpud = GetTimer()
  9793. waitB = GetTimer()
  9794. waitPunch = GetTimer()
  9795. untilStrafe = false
  9796. waitArea = GetTimer()
  9797. timerArea = 0
  9798. restoreArea = false
  9799. nextCombo = true
  9800. cWait = GetTimer()
  9801. speedMult = 1
  9802. gPlayerAllies = {
  9803.   "fPlayer2",
  9804.   "fPlayer3",
  9805.   "fPlayer4",
  9806.   "fPlayer5",
  9807.   "fPlayer6",
  9808.   "fPlayer7",
  9809.   "fPlayer8",
  9810.   "fPlayer9",
  9811.   "fPlayer10",
  9812.   "fPlayer11",
  9813. }
  9814. t = 2
  9815. cp,ch = 0,PedGetHeading(gPlayer)
  9816. speedMult = 1
  9817. cpF,chF = 0,PedGetHeading(gPlayer)
  9818. distF = 0
  9819. fcF = false
  9820. ixF,iyF,izF = nil,nil,nil
  9821. cpT,chT = 0,PedGetHeading(gPlayer)
  9822. distT = 140
  9823. fcT = false
  9824. ixT,iyT,izT = nil,nil,nil
  9825. fix_model_option = 6
  9826. use_fix_model = 5
  9827. use_fc_cut = false
  9828. skip_cut = false
  9829. cut_stop = false
  9830. custome_cuts = false
  9831. edit_xml = false
  9832. spa,spx,spy,spz = 0,0,0,0
  9833. cen = 1
  9834. ces = 1
  9835. cec = 1
  9836. ceo = 1
  9837. load_cutscene = "GENERAL"
  9838. cuts_action = "GENERAL"
  9839. cuts_audio = "GENERAL"
  9840. cuts_edit = true
  9841. wait_sling = GetTimer()
  9842. ped_cr = {}
  9843. treat_ped = true
  9844. ped_mix = {}
  9845. use_ped_mix = true
  9846. cls = 1
  9847. until_move = false
  9848. pg = 1
  9849. pt = 1
  9850. ped_strafes = {}
  9851. in_other_task = false
  9852. sc = 1
  9853. cwt = 1
  9854. end
  9855.  
  9856. function AreaSetAllDoorsLocked()
  9857.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorDoorL, true)
  9858.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorDoorL, true)
  9859.   AreaSetDoorLocked(TRIGGER._DT_iSafeDrop_DoorL, true)
  9860.   AreaSetDoorLocked(TRIGGER._5_03_Control_Room_Door, true)
  9861.   AreaSetDoorLocked(TRIGGER._DT_TINDUST_CHEMEX_DOOR, true)
  9862.   AreaSetDoorLocked(TRIGGER._DT_Observatory, true)
  9863.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, true)
  9864.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, true)
  9865.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, true)
  9866.   AreaSetDoorLocked(TRIGGER._DT_classr2_doorL, true)
  9867.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, true)
  9868.   AreaSetDoorLocked(TRIGGER._3_S11_Path1_Door1, true)
  9869.   AreaSetDoorLocked(TRIGGER._3_S11_Path1_Door3, true)
  9870.   AreaSetDoorLocked(TRIGGER._3_S11_Path2_Door1, true)
  9871.   AreaSetDoorLocked(TRIGGER._3_S11_Path2_Door2, true)
  9872.   AreaSetDoorLocked(TRIGGER._5_03_Rec_Room, true)
  9873.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room1, true)
  9874.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room2, true)
  9875.   AreaSetDoorLocked(TRIGGER._5_03_Patient_Room3, true)
  9876.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, true)
  9877.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, true)
  9878.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_SIDE_EXIT, true)
  9879.   AreaSetDoorLocked(TRIGGER._DT_ischool_RoofDoor, true)
  9880.   AreaSetDoorLocked(TRIGGER._DT_ischool_RoofDoor, true)
  9881.   AreaSetDoorLocked(TRIGGER._DT_ischool_Staff, true)
  9882.   AreaSetDoorLocked(TRIGGER._DT_ischool_Staff, true)
  9883.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_BIO,true)
  9884.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_BIO,true)
  9885.   AreaSetDoorLocked(TRIGGER._DT_iSafeDrop_DoorL, true)
  9886.   AreaSetDoorLocked(TRIGGER._DT_tind_SafeDrop, true)
  9887.   AreaSetDoorLocked(TRIGGER._DT_tschool_SafeJock, true)
  9888.   AreaSetDoorLocked(TRIGGER._DT_iSafeGrsr_DoorL, true)
  9889.   AreaSetDoorLocked(TRIGGER._DT_tpoor_SafeGreaser, true)
  9890.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, true)
  9891.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, true)
  9892.   AreaSetDoorLocked(TRIGGER._DT_ischool_AuditorBalc, true)
  9893.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, true)
  9894.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, true)
  9895.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, true)
  9896.   AreaSetDoorLocked(TRIGGER._DT_ischool_Door01, true)
  9897.   AreaSetDoorLocked(TRIGGER._DT_ischool_Door01, true)
  9898.   AreaSetDoorLocked(TRIGGER._DT_Janitor_SchoolExit, true)
  9899.   AreaSetDoorLocked(TRIGGER._DT_Janitor_MainExit, true)
  9900.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_FRONT_DOOR, true)
  9901.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_SIDE_EXIT, true)
  9902.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, true)
  9903.   AreaSetDoorLocked(TRIGGER._DT_classr_doorL, true)
  9904.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, true)
  9905.   AreaSetDoorLocked(TRIGGER._DT_ChemPlant_DoorL, true)
  9906.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, true)
  9907.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_CHEM, true)
  9908.   AreaSetDoorLocked(TRIGGER._DT_ischool_Janitor, true)
  9909.   AreaSetDoorLocked(TRIGGER._DT_ischool_PrincipalDoorL, true)
  9910.   AreaSetDoorLocked(TRIGGER._DT_ischool_Classroom, true)
  9911.   AreaSetDoorLocked(TRIGGER._DT_ischool_Art, true)
  9912.   AreaSetDoorLocked(TRIGGER._DT_Tenement_Window, true)
  9913.   AreaSetDoorLocked(TRIGGER._DT_Tenement_Window, true)
  9914.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, true)
  9915.   AreaSetDoorLocked(TRIGGER._DT_ASYLUM_BACK_EXIT, true)
  9916.   AreaSetDoorLocked(TRIGGER._DT_iSafeNerd_DoorL, true)
  9917.   AreaSetDoorLocked(TRIGGER._DT_iSafeNerd_DoorL, true)
  9918.   AreaSetDoorLocked(TRIGGER._5_03_Control_Orderly_Path, true)
  9919.   AreaSetDoorLocked(TRIGGER._3_S11_Asylum_Gate_Warning, true)
  9920.   AreaSetDoorLocked(TRIGGER._3_S11_Asylum_Gate_Warning2, true)
  9921.   AreaSetDoorLocked(TRIGGER._ASYLUM_FRONT_GATE_DOOR, true)
  9922.   AreaSetDoorLocked(TRIGGER._ASYLUM_FRONT_DOOR_R, true)
  9923.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, true)
  9924.   AreaSetDoorLocked(TRIGGER._DT_tschool_SchoolSideDoorL, true)
  9925.   AreaSetDoorLocked(TRIGGER._5_B_DEBUG_STAGE4, true)
  9926.   AreaSetDoorLocked(TRIGGER._5_B_EDGARMOVETO, true)
  9927.   AreaSetDoorLocked(TRIGGER._ChemPlantLower, true)
  9928.   AreaSetDoorLocked(TRIGGER._ChemPlantStairTunnel, true)
  9929.   AreaSetDoorLocked(TRIGGER._DT_TSCHOOL_ROOFDOOR, true)
  9930.   AreaSetDoorLocked(TRIGGER._DT_ISCHOOL_ROOFDOOR, true)
  9931.   AreaSetDoorLocked(TRIGGER._ISCHOOL_DOOR25, true)
  9932.   AreaSetDoorLocked(TRIGGER._DT_gym_doorL,true)
  9933. end
  9934.  
  9935. function L_LoadAllAnim()
  9936.   LoadAnimationGroup("Authority")
  9937.   LoadAnimationGroup("Boxing")
  9938.   LoadAnimationGroup("B_Striker")
  9939.   LoadAnimationGroup("CV_Female")
  9940.   LoadAnimationGroup("CV_Male")
  9941.   LoadAnimationGroup("DO_Edgar")
  9942.   LoadAnimationGroup("DO_Grap")
  9943.   LoadAnimationGroup("DO_StrikeCombo")
  9944.   LoadAnimationGroup("DO_Striker")
  9945.   LoadAnimationGroup("F_Adult")
  9946.   LoadAnimationGroup("F_BULLY")
  9947.   LoadAnimationGroup("F_Crazy")
  9948.   LoadAnimationGroup("F_Douts")
  9949.   LoadAnimationGroup("F_Girls")
  9950.   LoadAnimationGroup("F_Greas")
  9951.   LoadAnimationGroup("F_Jocks")
  9952.   LoadAnimationGroup("F_Nerds")
  9953.   LoadAnimationGroup("F_OldPeds")
  9954.   LoadAnimationGroup("F_Pref")
  9955.   LoadAnimationGroup("F_Preps")
  9956.   LoadAnimationGroup("G_Grappler")
  9957.   LoadAnimationGroup("G_Johnny")
  9958.   LoadAnimationGroup("G_Striker")
  9959.   LoadAnimationGroup("Grap")
  9960.   LoadAnimationGroup("J_Damon")
  9961.   LoadAnimationGroup("J_Grappler")
  9962.   LoadAnimationGroup("J_Melee")
  9963.   LoadAnimationGroup("J_Ranged")
  9964.   LoadAnimationGroup("J_Striker")
  9965.   LoadAnimationGroup("LE_Orderly")
  9966.   LoadAnimationGroup("Nemesis")
  9967.   LoadAnimationGroup("N_Ranged")
  9968.   LoadAnimationGroup("N_Striker")
  9969.   LoadAnimationGroup("N_Striker_A")
  9970.   LoadAnimationGroup("N_Striker_B")
  9971.   LoadAnimationGroup("P_Grappler")
  9972.   LoadAnimationGroup("P_Striker")
  9973.   LoadAnimationGroup("PunchBag")
  9974.   LoadAnimationGroup("Qped")
  9975.   LoadAnimationGroup("Rat_Ped")
  9976.   LoadAnimationGroup("Russell")
  9977.   LoadAnimationGroup("Russell_Pbomb")
  9978.   LoadAnimationGroup("Straf_Dout")
  9979.   LoadAnimationGroup("Straf_Fat")
  9980.   LoadAnimationGroup("Straf_Female")
  9981.   LoadAnimationGroup("Straf_Male")
  9982.   LoadAnimationGroup("Straf_Nerd")
  9983.   LoadAnimationGroup("Straf_Prep")
  9984.   LoadAnimationGroup("Straf_Savage")
  9985.   LoadAnimationGroup("Straf_Wrest")
  9986.   LoadAnimationGroup("TE_Female")
  9987.   LoadAnimationGroup("1_02BYourSchool")
  9988.   LoadAnimationGroup("1_02_MeetWithGary")
  9989.   LoadAnimationGroup("1_03The Setup")
  9990.   LoadAnimationGroup("1_04TheSlingshot")
  9991.   LoadAnimationGroup("1_06ALittleHelp")
  9992.   LoadAnimationGroup("1_07_SaveBucky")
  9993.   LoadAnimationGroup("1_07_Sk8Board")
  9994.   LoadAnimationGroup("1_08ThatBitch")
  9995.   LoadAnimationGroup("1_08_MandPuke")
  9996.   LoadAnimationGroup("1_09_Candidate")
  9997.   LoadAnimationGroup("1_10Betrayal")
  9998.   LoadAnimationGroup("1_11B_HeBigPrank")
  9999.   LoadAnimationGroup("1_G1_TheDiary")
  10000.   LoadAnimationGroup("1_S01HatVsGall")
  10001.   LoadAnimationGroup("2_01LastMinuteShop")
  10002.   LoadAnimationGroup("2_02ComicKlepto")
  10003.   LoadAnimationGroup("2_05TadsHouse")
  10004.   LoadAnimationGroup("2_06MovieTickets")
  10005.   LoadAnimationGroup("2_07BeachRumble")
  10006.   LoadAnimationGroup("2_08WeedKiller")
  10007.   LoadAnimationGroup("2_4RichAreaRace")
  10008.   LoadAnimationGroup("2_G2CarnivalDate")
  10009.   LoadAnimationGroup("2_G2_GiftExchange")
  10010.   LoadAnimationGroup("2_R03PaperRoute")
  10011.   LoadAnimationGroup("2_S02CharSheets")
  10012.   LoadAnimationGroup("2_S04CharSheets")
  10013.   LoadAnimationGroup("2_S05_CooksCrush")
  10014.   LoadAnimationGroup("2_S06PantyRaid")
  10015.   LoadAnimationGroup("3_01JealousJohnny")
  10016.   LoadAnimationGroup("3_04WrongPtTown")
  10017.   LoadAnimationGroup("3_05TheTenements")
  10018.   LoadAnimationGroup("3_BFightJohnnyV")
  10019.   LoadAnimationGroup("3_G3")
  10020.   LoadAnimationGroup("3_R05ChemicalDeliv")
  10021.   LoadAnimationGroup("3_R08RaceLeague")
  10022.   LoadAnimationGroup("3_S03CheatinTime")
  10023.   LoadAnimationGroup("4_01Paparazzi")
  10024.   LoadAnimationGroup("4_04_FunhouseFun")
  10025.   LoadAnimationGroup("4_06BigGame")
  10026.   LoadAnimationGroup("4_B2_JockBossBattle")
  10027.   LoadAnimationGroup("5_01Grp")
  10028.   LoadAnimationGroup("5_01Rats")
  10029.   LoadAnimationGroup("5_02PrVandalized")
  10030.   LoadAnimationGroup("5_05Zoe")
  10031.   LoadAnimationGroup("5_09MakingAMark")
  10032.   LoadAnimationGroup("6B_PARA")
  10033.   LoadAnimationGroup("AGymLght")
  10034.   LoadAnimationGroup("Ambient")
  10035.   LoadAnimationGroup("Ambient2")
  10036.   LoadAnimationGroup("Ambient3")
  10037.   LoadAnimationGroup("ANIBBALL")
  10038.   LoadAnimationGroup("AniBroom")
  10039.   LoadAnimationGroup("AniDice")
  10040.   LoadAnimationGroup("AniFooty")
  10041.   LoadAnimationGroup("AniGlobe")
  10042.   LoadAnimationGroup("AnimSave")
  10043.   LoadAnimationGroup("AniPillo")
  10044.   LoadAnimationGroup("ARC3D")
  10045.   LoadAnimationGroup("Area_Asylum")
  10046.   LoadAnimationGroup("Area_Funhouse")
  10047.   LoadAnimationGroup("Area_GirlsDorm")
  10048.   LoadAnimationGroup("Area_Infirmary")
  10049.   LoadAnimationGroup("Area_School")
  10050.   LoadAnimationGroup("Area_Tenements")
  10051.   LoadAnimationGroup("Armor")
  10052.   LoadAnimationGroup("AsyBars")
  10053.   LoadAnimationGroup("AsyDoorB")
  10054.   LoadAnimationGroup("AsyDoors")
  10055.   LoadAnimationGroup("AsyGate")
  10056.   LoadAnimationGroup("AsyLever")
  10057.   LoadAnimationGroup("AsySwtch")
  10058.   LoadAnimationGroup("AtcPlank")
  10059.   LoadAnimationGroup("Authority")
  10060.   LoadAnimationGroup("BANANA")
  10061.   LoadAnimationGroup("barelLad")
  10062.   LoadAnimationGroup("BarrGate")
  10063.   LoadAnimationGroup("BATON")
  10064.   LoadAnimationGroup("BBALL_21")
  10065.   LoadAnimationGroup("bbgun")
  10066.   LoadAnimationGroup("BCatcher")
  10067.   LoadAnimationGroup("BdrDoorL")
  10068.   LoadAnimationGroup("BeardLady")
  10069.   LoadAnimationGroup("Bike")
  10070.   LoadAnimationGroup("BikeGar")
  10071.   LoadAnimationGroup("BoldRoll")
  10072.   LoadAnimationGroup("BoltCutt")
  10073.   LoadAnimationGroup("Boxing")
  10074.   LoadAnimationGroup("BoxRopes")
  10075.   LoadAnimationGroup("BRDoor")
  10076.   LoadAnimationGroup("BrkSwtch")
  10077.   LoadAnimationGroup("BROCKETL")
  10078.   LoadAnimationGroup("BRSwitch")
  10079.   LoadAnimationGroup("BusDoors")
  10080.   LoadAnimationGroup("Butcher")
  10081.   LoadAnimationGroup("BXPBag")
  10082.   LoadAnimationGroup("B_Striker")
  10083.   LoadAnimationGroup("CarnCurt")
  10084.   LoadAnimationGroup("CARNI01")
  10085.   LoadAnimationGroup("carnies")
  10086.   LoadAnimationGroup("Car_Ham")
  10087.   LoadAnimationGroup("Cavalier")
  10088.   LoadAnimationGroup("Cheer_Cool1")
  10089.   LoadAnimationGroup("Cheer_Cool2")
  10090.   LoadAnimationGroup("Cheer_Cool3")
  10091.   LoadAnimationGroup("Cheer_Gen1")
  10092.   LoadAnimationGroup("Cheer_Gen2")
  10093.   LoadAnimationGroup("Cheer_Gen3")
  10094.   LoadAnimationGroup("Cheer_Girl1")
  10095.   LoadAnimationGroup("Cheer_Girl2")
  10096.   LoadAnimationGroup("Cheer_Girl3")
  10097.   LoadAnimationGroup("Cheer_Girl4")
  10098.   LoadAnimationGroup("Cheer_Nerd1")
  10099.   LoadAnimationGroup("Cheer_Nerd2")
  10100.   LoadAnimationGroup("Cheer_Nerd3")
  10101.   LoadAnimationGroup("Cheer_Posh1")
  10102.   LoadAnimationGroup("Cheer_Posh2")
  10103.   LoadAnimationGroup("Cheer_Posh3")
  10104.   LoadAnimationGroup("Chem_Set")
  10105.   LoadAnimationGroup("ChLead_Idle")
  10106.   LoadAnimationGroup("CLadderA")
  10107.   LoadAnimationGroup("CnGate")
  10108.   LoadAnimationGroup("Coaster")
  10109.   LoadAnimationGroup("COPBIKE")
  10110.   LoadAnimationGroup("Cop_Frisk")
  10111.   LoadAnimationGroup("CV_Female")
  10112.   LoadAnimationGroup("CV_Male")
  10113.   LoadAnimationGroup("C_Wrestling")
  10114.   LoadAnimationGroup("DartBrd")
  10115.   LoadAnimationGroup("DartCab")
  10116.   LoadAnimationGroup("DodgeBall")
  10117.   LoadAnimationGroup("DodgeBall2")
  10118.   LoadAnimationGroup("DoorStr1")
  10119.   LoadAnimationGroup("DO_Edgar")
  10120.   LoadAnimationGroup("DO_Grap")
  10121.   LoadAnimationGroup("DO_StrikeCombo")
  10122.   LoadAnimationGroup("DO_Striker")
  10123.   LoadAnimationGroup("DRBrace")
  10124.   LoadAnimationGroup("Drumming")
  10125.   LoadAnimationGroup("DuffBag")
  10126.   LoadAnimationGroup("DunkBttn")
  10127.   LoadAnimationGroup("DunkSeat")
  10128.   LoadAnimationGroup("Earnest")
  10129.   LoadAnimationGroup("EnglishClass")
  10130.   LoadAnimationGroup("ErrandCrab")
  10131.   LoadAnimationGroup("Errand_BUS")
  10132.   LoadAnimationGroup("Errand_IND")
  10133.   LoadAnimationGroup("Errand_RIC")
  10134.   LoadAnimationGroup("Errand_SCH")
  10135.   LoadAnimationGroup("ESCDoorL")
  10136.   LoadAnimationGroup("ESCDoorR")
  10137.   LoadAnimationGroup("ExtWind")
  10138.   LoadAnimationGroup("FDoor")
  10139.   LoadAnimationGroup("FDoorB")
  10140.   LoadAnimationGroup("FDoorC")
  10141.   LoadAnimationGroup("Ferris")
  10142.   LoadAnimationGroup("FGhost")
  10143.   LoadAnimationGroup("FGoblin")
  10144.   LoadAnimationGroup("FlagA")
  10145.   LoadAnimationGroup("FLbBook")
  10146.   LoadAnimationGroup("FlbLader")
  10147.   LoadAnimationGroup("FLbPaint")
  10148.   LoadAnimationGroup("FLbTable")
  10149.   LoadAnimationGroup("FMCntrl")
  10150.   LoadAnimationGroup("FMDoor")
  10151.   LoadAnimationGroup("FMTrapDr")
  10152.   LoadAnimationGroup("FMTrapSw")
  10153.   LoadAnimationGroup("FortTell")
  10154.   LoadAnimationGroup("funCart")
  10155.   LoadAnimationGroup("funCurtn")
  10156.   LoadAnimationGroup("funMiner")
  10157.   LoadAnimationGroup("funRocks")
  10158.   LoadAnimationGroup("FunTeeth")
  10159.   LoadAnimationGroup("FXTestG")
  10160.   LoadAnimationGroup("F_Adult")
  10161.   LoadAnimationGroup("F_BULLY")
  10162.   LoadAnimationGroup("F_Crazy")
  10163.   LoadAnimationGroup("F_Douts")
  10164.   LoadAnimationGroup("F_Girls")
  10165.   LoadAnimationGroup("F_Greas")
  10166.   LoadAnimationGroup("F_Jocks")
  10167.   LoadAnimationGroup("F_Nerds")
  10168.   LoadAnimationGroup("F_OldPeds")
  10169.   LoadAnimationGroup("F_Pref")
  10170.   LoadAnimationGroup("F_Preps")
  10171.   LoadAnimationGroup("GarbCanA")
  10172.   LoadAnimationGroup("GatCool")
  10173.   LoadAnimationGroup("GEN_SOCIAL")
  10174.   LoadAnimationGroup("Gfight")
  10175.   LoadAnimationGroup("GhostDrs")
  10176.   LoadAnimationGroup("Gift")
  10177.   LoadAnimationGroup("Go_Cart")
  10178.   LoadAnimationGroup("Grap")
  10179.   LoadAnimationGroup("GymHoop")
  10180.   LoadAnimationGroup("GymWLad")
  10181.   LoadAnimationGroup("G_Grappler")
  10182.   LoadAnimationGroup("G_Johnny")
  10183.   LoadAnimationGroup("G_Striker")
  10184.   LoadAnimationGroup("Halloween")
  10185.   LoadAnimationGroup("HallWind")
  10186.   LoadAnimationGroup("Hang_Jock")
  10187.   LoadAnimationGroup("Hang_Moshing")
  10188.   LoadAnimationGroup("Hang_Talking")
  10189.   LoadAnimationGroup("Hang_Workout")
  10190.   LoadAnimationGroup("Hobos")
  10191.   LoadAnimationGroup("Hobo_Cheer")
  10192.   LoadAnimationGroup("HSdinger")
  10193.   LoadAnimationGroup("HUMIL_4-10_B")
  10194.   LoadAnimationGroup("HUMIL_4-10_C")
  10195.   LoadAnimationGroup("HUMIL_5-8F_A")
  10196.   LoadAnimationGroup("HUMIL_5-8F_B")
  10197.   LoadAnimationGroup("HUMIL_5-8V4-10")
  10198.   LoadAnimationGroup("HUMIL_5-8V6-1")
  10199.   LoadAnimationGroup("HUMIL_5-8VPLY")
  10200.   LoadAnimationGroup("HUMIL_5-8_A")
  10201.   LoadAnimationGroup("HUMIL_5-8_B")
  10202.   LoadAnimationGroup("HUMIL_5-8_C")
  10203.   LoadAnimationGroup("HUMIL_6-1V4-10")
  10204.   LoadAnimationGroup("HUMIL_6-1V6-1")
  10205.   LoadAnimationGroup("HUMIL_6-1VPLY")
  10206.   LoadAnimationGroup("HUMIL_6-1_A")
  10207.   LoadAnimationGroup("HUMIL_6-1_B")
  10208.   LoadAnimationGroup("HUMIL_6-1_C")
  10209.   LoadAnimationGroup("HUMIL_6-5V4-10")
  10210.   LoadAnimationGroup("HUMIL_6-5V6-1")
  10211.   LoadAnimationGroup("HUMIL_6-5VPLY")
  10212.   LoadAnimationGroup("HUMIL_6-5_A")
  10213.   LoadAnimationGroup("HUMIL_6-5_B")
  10214.   LoadAnimationGroup("HUMIL_6-5_C")
  10215.   LoadAnimationGroup("IDLE_AUTH_A")
  10216.   LoadAnimationGroup("IDLE_AUTH_B")
  10217.   LoadAnimationGroup("IDLE_AUTH_C")
  10218.   LoadAnimationGroup("IDLE_AUTH_D")
  10219.   LoadAnimationGroup("IDLE_BULLY_A")
  10220.   LoadAnimationGroup("IDLE_BULLY_B")
  10221.   LoadAnimationGroup("IDLE_BULLY_C")
  10222.   LoadAnimationGroup("IDLE_BULLY_D")
  10223.   LoadAnimationGroup("IDLE_CIVF_A")
  10224.   LoadAnimationGroup("IDLE_CIVF_B")
  10225.   LoadAnimationGroup("IDLE_CIVF_C")
  10226.   LoadAnimationGroup("IDLE_CIVM_A")
  10227.   LoadAnimationGroup("IDLE_CIVM_B")
  10228.   LoadAnimationGroup("IDLE_CIVM_C")
  10229.   LoadAnimationGroup("IDLE_DOUT_A")
  10230.   LoadAnimationGroup("IDLE_DOUT_B")
  10231.   LoadAnimationGroup("IDLE_DOUT_C")
  10232.   LoadAnimationGroup("IDLE_DOUT_D")
  10233.   LoadAnimationGroup("IDLE_FATG_A")
  10234.   LoadAnimationGroup("IDLE_FATG_B")
  10235.   LoadAnimationGroup("IDLE_FATG_C")
  10236.   LoadAnimationGroup("IDLE_FAT_A")
  10237.   LoadAnimationGroup("IDLE_FAT_B")
  10238.   LoadAnimationGroup("IDLE_FAT_C")
  10239.   LoadAnimationGroup("IDLE_GREAS_A")
  10240.   LoadAnimationGroup("IDLE_GREAS_B")
  10241.   LoadAnimationGroup("IDLE_GREAS_C")
  10242.   LoadAnimationGroup("IDLE_GREAS_D")
  10243.   LoadAnimationGroup("IDLE_GSF_A")
  10244.   LoadAnimationGroup("IDLE_GSF_B")
  10245.   LoadAnimationGroup("IDLE_GSF_C")
  10246.   LoadAnimationGroup("IDLE_GSM_A")
  10247.   LoadAnimationGroup("IDLE_GSM_B")
  10248.   LoadAnimationGroup("IDLE_GSM_C")
  10249.   LoadAnimationGroup("IDLE_JOCK_A")
  10250.   LoadAnimationGroup("IDLE_JOCK_B")
  10251.   LoadAnimationGroup("IDLE_JOCK_C")
  10252.   LoadAnimationGroup("IDLE_JOCK_D")
  10253.   LoadAnimationGroup("IDLE_NERD_A")
  10254.   LoadAnimationGroup("IDLE_NERD_B")
  10255.   LoadAnimationGroup("IDLE_NERD_C")
  10256.   LoadAnimationGroup("IDLE_NERD_D")
  10257.   LoadAnimationGroup("IDLE_NGIRL")
  10258.   LoadAnimationGroup("IDLE_PREP_A")
  10259.   LoadAnimationGroup("IDLE_PREP_B")
  10260.   LoadAnimationGroup("IDLE_PREP_C")
  10261.   LoadAnimationGroup("IDLE_PREP_D")
  10262.   LoadAnimationGroup("IDLE_SEXY_A")
  10263.   LoadAnimationGroup("IDLE_SEXY_B")
  10264.   LoadAnimationGroup("IDLE_SEXY_C")
  10265.   LoadAnimationGroup("INDgateC")
  10266.   LoadAnimationGroup("JPhoto")
  10267.   LoadAnimationGroup("JunkCarA")
  10268.   LoadAnimationGroup("JV_Asylum")
  10269.   LoadAnimationGroup("J_Damon")
  10270.   LoadAnimationGroup("J_Grappler")
  10271.   LoadAnimationGroup("J_Melee")
  10272.   LoadAnimationGroup("J_Ranged")
  10273.   LoadAnimationGroup("J_Striker")
  10274.   LoadAnimationGroup("KISS1")
  10275.   LoadAnimationGroup("KISS2")
  10276.   LoadAnimationGroup("KISS3")
  10277.   LoadAnimationGroup("KISS4")
  10278.   LoadAnimationGroup("KissAdult")
  10279.   LoadAnimationGroup("KISSB")
  10280.   LoadAnimationGroup("KISSF")
  10281.   LoadAnimationGroup("LckrGymA")
  10282.   LoadAnimationGroup("LE_Officer")
  10283.   LoadAnimationGroup("LE_Orderly")
  10284.   LoadAnimationGroup("Mermaid")
  10285.   LoadAnimationGroup("MG_Craps")
  10286.   LoadAnimationGroup("MINIBIKE")
  10287.   LoadAnimationGroup("MINICHEM")
  10288.   LoadAnimationGroup("MINIDARTS")
  10289.   LoadAnimationGroup("MINIDunk")
  10290.   LoadAnimationGroup("MINIGraf")
  10291.   LoadAnimationGroup("MINIHACKY")
  10292.   LoadAnimationGroup("MINI_Arm")
  10293.   LoadAnimationGroup("MINI_BallToss")
  10294.   LoadAnimationGroup("MINI_Lock")
  10295.   LoadAnimationGroup("MINI_React")
  10296.   LoadAnimationGroup("Miracle")
  10297.   LoadAnimationGroup("MOWER")
  10298.   LoadAnimationGroup("MPostA")
  10299.   LoadAnimationGroup("N2B Dishonerable")
  10300.   LoadAnimationGroup("Nemesis")
  10301.   LoadAnimationGroup("nerdBar1")
  10302.   LoadAnimationGroup("NIS_0_00A")
  10303.   LoadAnimationGroup("NIS_1_02")
  10304.   LoadAnimationGroup("NIS_1_02B")
  10305.   LoadAnimationGroup("NIS_1_03")
  10306.   LoadAnimationGroup("NIS_1_04")
  10307.   LoadAnimationGroup("NIS_1_05")
  10308.   LoadAnimationGroup("NIS_1_07")
  10309.   LoadAnimationGroup("NIS_1_08_1")
  10310.   LoadAnimationGroup("NIS_1_09")
  10311.   LoadAnimationGroup("NIS_1_11")
  10312.   LoadAnimationGroup("NIS_2_01")
  10313.   LoadAnimationGroup("NIS_2_03")
  10314.   LoadAnimationGroup("NIS_2_04")
  10315.   LoadAnimationGroup("NIS_2_06_1")
  10316.   LoadAnimationGroup("NIS_2_B")
  10317.   LoadAnimationGroup("NIS_2_S04")
  10318.   LoadAnimationGroup("NIS_3_01")
  10319.   LoadAnimationGroup("NIS_3_02")
  10320.   LoadAnimationGroup("NIS_3_04")
  10321.   LoadAnimationGroup("NIS_3_05")
  10322.   LoadAnimationGroup("NIS_3_06")
  10323.   LoadAnimationGroup("NIS_3_08")
  10324.   LoadAnimationGroup("NIS_3_11")
  10325.   LoadAnimationGroup("NIS_3_B")
  10326.   LoadAnimationGroup("NIS_3_G3")
  10327.   LoadAnimationGroup("NIS_3_R09_D")
  10328.   LoadAnimationGroup("NIS_3_R09_G")
  10329.   LoadAnimationGroup("NIS_3_R09_J")
  10330.   LoadAnimationGroup("NIS_3_R09_N")
  10331.   LoadAnimationGroup("NIS_3_R09_P")
  10332.   LoadAnimationGroup("NIS_3_S03")
  10333.   LoadAnimationGroup("NIS_3_S03_B")
  10334.   LoadAnimationGroup("NIS_3_S11")
  10335.   LoadAnimationGroup("NIS_4_01")
  10336.   LoadAnimationGroup("NIS_4_05")
  10337.   LoadAnimationGroup("NIS_4_06")
  10338.   LoadAnimationGroup("NIS_4_B2")
  10339.   LoadAnimationGroup("NIS_5_01")
  10340.   LoadAnimationGroup("NIS_5_02")
  10341.   LoadAnimationGroup("NIS_5_03")
  10342.   LoadAnimationGroup("NIS_5_04")
  10343.   LoadAnimationGroup("NIS_5_05")
  10344.   LoadAnimationGroup("NIS_5_07")
  10345.   LoadAnimationGroup("NIS_5_G5")
  10346.   LoadAnimationGroup("NIS_6_02")
  10347.   LoadAnimationGroup("NIS_6_03")
  10348.   LoadAnimationGroup("NLock01A")
  10349.   LoadAnimationGroup("NPC_Adult")
  10350.   LoadAnimationGroup("NPC_AggroTaunt")
  10351.   LoadAnimationGroup("NPC_Chat_1")
  10352.   LoadAnimationGroup("NPC_Chat_2")
  10353.   LoadAnimationGroup("NPC_Chat_F")
  10354.   LoadAnimationGroup("NPC_Cheering")
  10355.   LoadAnimationGroup("NPC_Love")
  10356.   LoadAnimationGroup("NPC_Mascot")
  10357.   LoadAnimationGroup("NPC_NeedsResolving")
  10358.   LoadAnimationGroup("NPC_Principal")
  10359.   LoadAnimationGroup("NPC_Shopping")
  10360.   LoadAnimationGroup("NPC_Spectator")
  10361.   LoadAnimationGroup("N_Ranged")
  10362.   LoadAnimationGroup("N_Striker")
  10363.   LoadAnimationGroup("N_Striker_A")
  10364.   LoadAnimationGroup("N_Striker_B")
  10365.   LoadAnimationGroup("ObsDoor")
  10366.   LoadAnimationGroup("OBSMotor")
  10367.   LoadAnimationGroup("ObsPtf_1")
  10368.   LoadAnimationGroup("ObsPtf_2")
  10369.   LoadAnimationGroup("Pageant")
  10370.   LoadAnimationGroup("PedCoaster")
  10371.   LoadAnimationGroup("Player_Tired")
  10372.   LoadAnimationGroup("Player_VTired")
  10373.   LoadAnimationGroup("POI_Booktease")
  10374.   LoadAnimationGroup("POI_Cafeteria")
  10375.   LoadAnimationGroup("POI_ChLead")
  10376.   LoadAnimationGroup("POI_Gen")
  10377.   LoadAnimationGroup("POI_Smoking")
  10378.   LoadAnimationGroup("POI_Telloff")
  10379.   LoadAnimationGroup("POI_WarmHands")
  10380.   LoadAnimationGroup("POI_Worker")
  10381.   LoadAnimationGroup("PortaPoo")
  10382.   LoadAnimationGroup("PrepDoor")
  10383.   LoadAnimationGroup("PunchBag")
  10384.   LoadAnimationGroup("pxHoop")
  10385.   LoadAnimationGroup("pxLad10M")
  10386.   LoadAnimationGroup("Px_Arcade")
  10387.   LoadAnimationGroup("Px_Bed")
  10388.   LoadAnimationGroup("Px_Fountain")
  10389.   LoadAnimationGroup("Px_Garb")
  10390.   LoadAnimationGroup("Px_Gen")
  10391.   LoadAnimationGroup("Px_Ladr")
  10392.   LoadAnimationGroup("Px_Rail")
  10393.   LoadAnimationGroup("Px_RedButton")
  10394.   LoadAnimationGroup("Px_Sink")
  10395.   LoadAnimationGroup("Px_Tlet")
  10396.   LoadAnimationGroup("Px_Tree")
  10397.   LoadAnimationGroup("P_Grappler")
  10398.   LoadAnimationGroup("P_Striker")
  10399.   LoadAnimationGroup("QPed")
  10400.   LoadAnimationGroup("RAT_PED")
  10401.   LoadAnimationGroup("Reeper")
  10402.   LoadAnimationGroup("RMailbox")
  10403.   LoadAnimationGroup("Russell")
  10404.   LoadAnimationGroup("Russell_PBomb")
  10405.   LoadAnimationGroup("Santa_Lap")
  10406.   LoadAnimationGroup("SAUTH_A")
  10407.   LoadAnimationGroup("SAUTH_F")
  10408.   LoadAnimationGroup("SAUTH_U")
  10409.   LoadAnimationGroup("SAUTH_X")
  10410.   LoadAnimationGroup("SBarels1")
  10411.   LoadAnimationGroup("SBULL_A")
  10412.   LoadAnimationGroup("SBULL_F")
  10413.   LoadAnimationGroup("SBULL_S")
  10414.   LoadAnimationGroup("SBULL_U")
  10415.   LoadAnimationGroup("SBULL_X")
  10416.   LoadAnimationGroup("Scaffold")
  10417.   LoadAnimationGroup("SCbanpil")
  10418.   LoadAnimationGroup("SCBell")
  10419.   LoadAnimationGroup("SCDoor")
  10420.   LoadAnimationGroup("ScGate")
  10421.   LoadAnimationGroup("SCgrdoor")
  10422.   LoadAnimationGroup("scObsDr")
  10423.   LoadAnimationGroup("ScoolBus")
  10424.   LoadAnimationGroup("SCOOTER")
  10425.   LoadAnimationGroup("SecDoorL")
  10426.   LoadAnimationGroup("SecDoorR")
  10427.   LoadAnimationGroup("Sedan")
  10428.   LoadAnimationGroup("ShopBike")
  10429.   LoadAnimationGroup("SHUMIL_01")
  10430.   LoadAnimationGroup("SHWR")
  10431.   LoadAnimationGroup("SIAMESE")
  10432.   LoadAnimationGroup("Siamese2")
  10433.   LoadAnimationGroup("Sitting_Boys")
  10434.   LoadAnimationGroup("SK8Board")
  10435.   LoadAnimationGroup("Skateboard")
  10436.   LoadAnimationGroup("SkeltonMan")
  10437.   LoadAnimationGroup("Slingsh")
  10438.   LoadAnimationGroup("SNERD_A")
  10439.   LoadAnimationGroup("SNERD_F")
  10440.   LoadAnimationGroup("SNERD_I")
  10441.   LoadAnimationGroup("SNERD_S")
  10442.   LoadAnimationGroup("SNGIRLS")
  10443.   LoadAnimationGroup("SNGIRL_D")
  10444.   LoadAnimationGroup("SNGIRL_F")
  10445.   LoadAnimationGroup("SnowBlob")
  10446.   LoadAnimationGroup("SnowMND")
  10447.   LoadAnimationGroup("SnowWall")
  10448.   LoadAnimationGroup("SOLD_A")
  10449.   LoadAnimationGroup("SOLD_F")
  10450.   LoadAnimationGroup("SOLD_I")
  10451.   LoadAnimationGroup("SOLD_S")
  10452.   LoadAnimationGroup("SPLAY_A")
  10453.   LoadAnimationGroup("SPLAY_B")
  10454.   LoadAnimationGroup("SprayCan")
  10455.   LoadAnimationGroup("SpudG")
  10456.   LoadAnimationGroup("Squid")
  10457.   LoadAnimationGroup("StalDoor")
  10458.   LoadAnimationGroup("Straf_Dout")
  10459.   LoadAnimationGroup("Straf_Fat")
  10460.   LoadAnimationGroup("Straf_Female")
  10461.   LoadAnimationGroup("Straf_Male")
  10462.   LoadAnimationGroup("Straf_Nerd")
  10463.   LoadAnimationGroup("Straf_Prep")
  10464.   LoadAnimationGroup("Straf_Savage")
  10465.   LoadAnimationGroup("Straf_Wrest")
  10466.   LoadAnimationGroup("TE_Female")
  10467.   LoadAnimationGroup("TrackSW")
  10468.   LoadAnimationGroup("TreeFall")
  10469.   LoadAnimationGroup("Truck")
  10470.   LoadAnimationGroup("Try_Clothes")
  10471.   LoadAnimationGroup("Umbrella")
  10472.   LoadAnimationGroup("VFlytrap")
  10473.   LoadAnimationGroup("V_Bike")
  10474.   LoadAnimationGroup("V_Bike_Races")
  10475.   LoadAnimationGroup("V_COPBIKE")
  10476.   LoadAnimationGroup("V_SCOOTER")
  10477.   LoadAnimationGroup("WPCannon")
  10478.   LoadAnimationGroup("WPSheldB")
  10479.   LoadAnimationGroup("WPShield")
  10480.   LoadAnimationGroup("WPTurret")
  10481.   LoadAnimationGroup("W_BBall")
  10482.   LoadAnimationGroup("W_BBallBat")
  10483.   LoadAnimationGroup("W_BRocket")
  10484.   LoadAnimationGroup("W_Camera")
  10485.   LoadAnimationGroup("W_CherryBomb")
  10486.   LoadAnimationGroup("W_CHShield")
  10487.   LoadAnimationGroup("W_FlashLight")
  10488.   LoadAnimationGroup("W_Fountain")
  10489.   LoadAnimationGroup("W_Itchpowder")
  10490.   LoadAnimationGroup("W_JBroom")
  10491.   LoadAnimationGroup("W_Lid")
  10492.   LoadAnimationGroup("W_PooBag")
  10493.   LoadAnimationGroup("W_PRANK")
  10494.   LoadAnimationGroup("W_Slingshot")
  10495.   LoadAnimationGroup("W_Snowball")
  10496.   LoadAnimationGroup("W_snowshwl")
  10497.   LoadAnimationGroup("W_SprayCan")
  10498.   LoadAnimationGroup("W_SpudGun")
  10499.   LoadAnimationGroup("W_Stick")
  10500.   LoadAnimationGroup("W_Thrown")
  10501.   LoadAnimationGroup("W_wtrpipe")
  10502. end
  10503.  
  10504. -------------------------------------SM_PROCCESSOR-------------------------------------
  10505.  
  10506. local dead = false -- Change to "true" if you want the selector menu is not active when pressing button select.
  10507.  
  10508. function ATZ_Model()
  10509.   if not dead then
  10510.     S_SetupCore()
  10511.     SoundPlay2D("RightBtn")
  10512.     repeat
  10513.       if IsButtonBeingPressed(0,0) then
  10514.       -- Previous select
  10515.         SoundPlay2D("NavUp")
  10516.         modelSelect = modelSelect - 1
  10517.         if modelSelect < 1 then modelSelect = size(models) end
  10518.       elseif IsButtonBeingPressed(1,0) then
  10519.       -- Next select
  10520.         SoundPlay2D("NavUp")
  10521.         modelSelect = modelSelect + 1
  10522.         if modelSelect > size(models) then modelSelect = 1 end
  10523.       end
  10524.       if IsButtonPressed(0,0) and IsButtonPressed(7,0) then
  10525.       -- Previous select
  10526.         SoundPlay2D("ButtonDown")
  10527.         modelSelect = modelSelect - 1
  10528.         if modelSelect < 1 then modelSelect = size(models) end
  10529.       elseif IsButtonPressed(1,0) and IsButtonPressed(7,0) then
  10530.       -- Next select
  10531.         SoundPlay2D("ButtonUp")
  10532.         modelSelect = modelSelect + 1
  10533.         if modelSelect > size(models) then modelSelect = 1 end
  10534.       end
  10535.       if IsButtonBeingPressed(3,0) then
  10536.         -- PlateBreakLarge
  10537.         bug_detected = false
  10538.         if use_fix_model == 6 and bugged_mission_running() then
  10539.           local ran_time = math.random(1,2)
  10540.           TextPrintString("Not Supported\n\n\nSee Read Me.txt for more",ran_time,1)
  10541.           Wait(ran_time*1000)
  10542.           bug_detected = true
  10543.         end
  10544.         SoundPlay2D("ButtonUp")
  10545.         chapterBefore = ChapterGet()
  10546.         changeChapter = false
  10547.         mode = {
  10548.           "Summer",
  10549.           "Winter",
  10550.         }
  10551.         repeat
  10552.           if IsButtonBeingPressed(0,0) then
  10553.             SoundPlay2D("NavUp")
  10554.             fors = fors - 1
  10555.             if fors < 1 then fors = size(to) end
  10556.           elseif IsButtonBeingPressed(1,0) then
  10557.             SoundPlay2D("NavUp")
  10558.             fors = fors + 1
  10559.             if fors > size(to) then fors = 1 end
  10560.           end
  10561.           if IsButtonBeingPressed(13,0) then
  10562.             modeSelect = modeSelect + 1
  10563.             if modeSelect > 2 then modeSelect = 1 end
  10564.           elseif IsButtonBeingPressed(11,0) then
  10565.             modeSelect = modeSelect - 1
  10566.             if modeSelect < 1 then modeSelect = 2 end
  10567.           end
  10568.           PedSetWeapon(gPlayer,-1)
  10569.           TextPrintString("MODEL SELECTOR\n["..models[modelSelect].name.."]\n\nSet to: "..to[fors].."\n\nMode: "..mode[modeSelect],0,1)
  10570.           if showText then
  10571.             TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  10572.           end
  10573.           Wait(0)
  10574.         until IsButtonBeingPressed(3,0) or bug_detected or IsButtonBeingPressed(14,0)
  10575.         SoundPlay2D("ButtonUp")
  10576.         if IsButtonBeingPressed(3,0) then
  10577.           WaitUntil(3,0)
  10578.           if mode[modeSelect] == "Winter" then
  10579.             if ChapterGet() ~= 2 then
  10580.               chapterBefore = ChapterGet()
  10581.               Wait(10)
  10582.               ChapterSet(2)
  10583.               changeChapter = true
  10584.             end
  10585.           elseif mode[modeSelect] == "Summer" then
  10586.             if ChapterGet() == 2 then
  10587.               chapterBefore = ChapterGet()
  10588.               Wait(10)
  10589.               ChapterSet(1)
  10590.               changeChapter = true
  10591.             end
  10592.           end
  10593.           if fors == 1 then
  10594.             PlayerSwapModel(models[modelSelect].model)
  10595.             PedSetActionTree(gPlayer,"/Global/"..models[modelSelect].style,"Act/Anim/"..models[modelSelect].style..".act")
  10596.             PedSetInfiniteSprint(gPlayer, true)
  10597.             if models[modelSelect].style == "CV_Male_A" then
  10598.               PedSetActionTree(gPlayer,"/Global/GS_Male_A","Act/Anim/GS_Male_A.act")
  10599.             end
  10600.             saveModel = models[modelSelect].model
  10601.             saveStyle = models[modelSelect].style
  10602.           elseif fors == 2 then
  10603.             local ped = GetTarget()
  10604.             PedSwapModel(ped,models[modelSelect].model)
  10605.             PedSetActionTree(ped,"/Global/"..models[modelSelect].style,"Act/Anim/"..models[modelSelect].style..".act")
  10606.             PedSetInfiniteSprint(ped, true)
  10607.           elseif fors == 3 then
  10608.             for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  10609.               if PedIsValid(ped) and not PedIsModel(ped,PlayerGetModelID()) and ped ~= gPlayer then
  10610.                 PedSwapModel(ped,models[modelSelect].model)
  10611.                 PedSetActionTree(ped,"/Global/"..models[modelSelect].style,"Act/Anim/"..models[modelSelect].style..".act")
  10612.                 PedSetInfiniteSprint(ped, true)
  10613.               end
  10614.             end
  10615.           end
  10616.           if changeChapter then
  10617.             ChapterSet(chapterBefore)
  10618.             changeChapter = false
  10619.           end
  10620.         elseif IsButtonBeingPressed(14,0) then
  10621.           WaitUntil(14,0)
  10622.           Wait(math.random(3,50))
  10623.         elseif bug_detected then
  10624.           Wait(math.random(50,100))
  10625.         end
  10626.       end
  10627.       if modelSelect == 1 then
  10628.         TextPrintString("MODEL SELECTOR\n\n:"..models[modelSelect].name..":\n"..models[modelSelect + 1].name.."\n"..models[modelSelect + 2].name.."",1,1)
  10629.       elseif modelSelect == table.getn(models) then
  10630.         TextPrintString("MODEL SELECTOR\n\n"..models[modelSelect - 2].name.."\n"..models[modelSelect - 1].name.."\n:"..models[modelSelect].name..":",1,1)
  10631.       elseif not (modelSelect == 1 or modelSelect == table.getn(models)) then
  10632.         TextPrintString("MODEL SELECTOR\n\n"..models[modelSelect - 1].name.."\n:"..models[modelSelect].name..":\n"..models[modelSelect + 1].name.."",1,1)
  10633.       end
  10634.       if showText then
  10635.         TextPrintString("[Number: "..modelSelect.."]\n[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  10636.       end
  10637.       Wait(0)
  10638.     until IsButtonBeingReleased(14,0)
  10639.     SoundPlay2D("WrongBtn")
  10640.     F_AutoTextPrint()
  10641.   end
  10642. end
  10643.  
  10644. function ATZ_Style()
  10645.   if not dead then
  10646.     S_SetupCore()
  10647.     SoundPlay2D("RightBtn")
  10648.     repeat
  10649.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10650.         SoundPlay2D("NavUp")
  10651.         ss = ss - 1
  10652.         if ss < 1 then ss = size(ssm) end
  10653.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10654.         SoundPlay2D("NavUp")
  10655.         ss = ss + 1
  10656.         if ss > size(ssm) then ss = 1 end
  10657.       elseif IsButtonBeingPressed(3,0) then
  10658.         SoundPlay2D("ButtonDown")
  10659.         Wait(100)
  10660.         if ss == 1 then
  10661.           FightingStyle()
  10662.         else
  10663.           MovementStyle()
  10664.         end
  10665.       end
  10666.       if ss == 1 then
  10667.         TextPrintString("STYLE SELECTOR\n\n>1."..ssm[1].."<\n2."..ssm[2],0,1)
  10668.       else
  10669.         TextPrintString("STYLE SELECTOR\n\n1."..ssm[1].."\n>2."..ssm[2].."<",0,1)
  10670.       end
  10671.       if showText then
  10672.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit: ~LOOK_BACK~|Select: ~ddown~]",0,2)
  10673.       end
  10674.       Wait(0)
  10675.     until IsButtonBeingPressed(14,0)
  10676.     SoundPlay2D("WrongBtn")
  10677.     F_AutoTextPrint()
  10678.   end
  10679. end
  10680.  
  10681. function FightingStyle()
  10682.   if not dead then
  10683.     repeat
  10684.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10685.         SoundPlay2D("NavUp")
  10686.         styleSelect = styleSelect - 1
  10687.         if styleSelect < 1 then styleSelect = size(styles) end
  10688.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10689.         SoundPlay2D("NavUp")
  10690.         styleSelect = styleSelect + 1
  10691.         if styleSelect > size(styles) then styleSelect = 1 end
  10692.       elseif IsButtonBeingPressed(3,0) then
  10693.         SoundPlay2D("ButtonUp")
  10694.         WaitUntil(3,0)
  10695.         repeat
  10696.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  10697.             SoundPlay2D("NavUp")
  10698.             fors = fors - 1
  10699.             if fors < 1 then fors = size(to) end
  10700.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10701.             SoundPlay2D("NavUp")
  10702.             fors = fors + 1
  10703.             if fors > size(to) then fors = 1 end
  10704.           end
  10705.           TextPrintString("STYLE SELECTOR\n["..styles[styleSelect].."]\n\nSet to: "..to[fors],0,1)
  10706.           if showText then
  10707.             TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  10708.           end
  10709.           Wait(0)
  10710.         until IsButtonBeingPressed(3,0)
  10711.         SoundPlay2D("ButtonUp")
  10712.         if fors == 1 then
  10713.           ped_set_custom_tree(gPlayer,styles[styleSelect])
  10714.           --PedSetActionTree(gPlayer,"/Global/"..styles[styleSelect],"Act/Anim/"..styles[styleSelect]..".act")
  10715.           saveStyle = styles[styleSelect]
  10716.         elseif fors == 2 then
  10717.           local ped = GetTarget()
  10718.           ped_set_custom_tree(ped,styles[styleSelect])
  10719.           --PedSetActionTree(ped,"/Global/"..styles[styleSelect],"Act/Anim/"..styles[styleSelect]..".act")
  10720.         elseif fors == 3 then
  10721.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  10722.             if PedIsValid(ped) and ped ~= gPlayer then
  10723.               ped_set_custom_tree(ped,styles[styleSelect])
  10724.               --PedSetActionTree(ped,"/Global/"..styles[styleSelect],"Act/Anim/"..styles[styleSelect]..".act")
  10725.             end
  10726.           end
  10727.         end
  10728.       end
  10729.       if styleSelect == 1 then
  10730.         TextPrintString("STYLE SELECTOR\n1.Fighting Style\n\n>"..styles[styleSelect].."<\n"..styles[styleSelect + 1].."\n"..styles[styleSelect + 2].."",1,1)
  10731.       elseif styleSelect == table.getn(styles) then
  10732.         TextPrintString("STYLE SELECTOR\n1.Fighting Style\n\n"..styles[styleSelect - 2].."\n"..styles[styleSelect - 1].."\n>"..styles[styleSelect].."<",1,1)
  10733.       elseif not (styleSelect == 1 or styleSelect == table.getn(styles)) then
  10734.         TextPrintString("STYLE SELECTOR\n1.Fighting Style\n\n"..styles[styleSelect - 1].."\n>"..styles[styleSelect].."<\n"..styles[styleSelect + 1].."",1,1)
  10735.       end
  10736.       if showText then
  10737.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  10738.       end
  10739.       Wait(0)
  10740.     until IsButtonBeingReleased(14,0)
  10741.     SoundPlay2D("WrongBtn")
  10742.     Wait(100)
  10743.   end
  10744. end
  10745.  
  10746. function ATZ_Weather()
  10747.   if not dead then
  10748.     S_SetupCore()
  10749.     SoundPlay2D("RightBtn")
  10750.     repeat
  10751.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10752.         SoundPlay2D("NavUp")
  10753.         zSelect = zSelect - 1
  10754.         if zSelect < 1 then zSelect = size(zs) end
  10755.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10756.         SoundPlay2D("NavUp")
  10757.         zSelect = zSelect + 1
  10758.         if zSelect > size(zs) then zSelect = 1 end
  10759.       elseif IsButtonBeingPressed(3,0) then
  10760.         if zs[zSelect][2] == "CUSTOM" then
  10761.           WaitUntil(3,0)
  10762.           SoundPlay2D("RightBtn")
  10763.           custom_weather()
  10764.         else
  10765.           WeatherSet(zs[zSelect][1])
  10766.         end
  10767.       end
  10768.       TextPrintString("WEATHER SELECTOR\n\n~dleft~<"..zs[zSelect][2]..">~dright~",0,1)
  10769.       if showText then
  10770.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[~ddown~ Select]",0,2)
  10771.       end
  10772.       Wait(0)
  10773.     until IsButtonBeingReleased(14,0)
  10774.     SoundPlay2D("WrongBtn")
  10775.     F_AutoTextPrint()
  10776.   end
  10777. end
  10778.  
  10779. function ATZ_Chapter()
  10780.   if not dead then
  10781.     S_SetupCore()
  10782.     SoundPlay2D("RightBtn")
  10783.     repeat
  10784.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10785.         SoundPlay2D("NavUp")
  10786.         xSelect = xSelect - 1
  10787.         if xSelect < 1 then xSelect = size(xs) end
  10788.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10789.         SoundPlay2D("NavUp")
  10790.         xSelect = xSelect + 1
  10791.         if xSelect > size(xs) then xSelect = 1 end
  10792.       elseif IsButtonBeingPressed(3,0) then
  10793.         ChapterSet(xs[xSelect][1])
  10794.         if ChapterGet() == 2 then
  10795.           AreaLoadSpecialEntities("Christmas",true)
  10796.         elseif not ChapterGet() == 2 then
  10797.           AreaLoadSpecialEntities("Christmas",false)
  10798.         end
  10799.       end
  10800.       TextPrintString("CHAPTER SELECTOR\n\n~dleft~<"..xs[xSelect][2]..">~dright~",0,1)
  10801.       if showText then
  10802.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[~ddown~ Select]",0,2)
  10803.       end
  10804.       Wait(0)
  10805.     until IsButtonBeingReleased(14,0)
  10806.     SoundPlay2D("WrongBtn")
  10807.     F_AutoTextPrint()
  10808.   end
  10809. end
  10810.  
  10811. function ATZ_Time()
  10812.   if not dead then
  10813.     S_SetupCore()
  10814.     SoundPlay2D("RightBtn")
  10815.     repeat
  10816.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10817.         SoundPlay2D("ButtonUp")
  10818.         ClockSet(ClockGet() - 1)
  10819.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10820.         SoundPlay2D("ButtonUp")
  10821.         ClockSet(ClockGet() + 1)
  10822.       end
  10823.       TextPrintString("TIME SELECTOR\n\n~dleft~<"..ClockGet()..">~dright~",0,1)
  10824.       if showText then
  10825.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]",0,2)
  10826.       end
  10827.       Wait(0)
  10828.     until IsButtonBeingReleased(14,0)
  10829.     SoundPlay2D("WrongBtn")
  10830.     F_AutoTextPrint()
  10831.   end
  10832. end
  10833.  
  10834. function ATZ_Weapon()
  10835.   if not dead then
  10836.     S_SetupCore()
  10837.     SoundPlay2D("RightBtn")
  10838.     repeat
  10839.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10840.         SoundPlay2D("NavUp")
  10841.         cSelect = cSelect - 1
  10842.         if cSelect < 1 then cSelect = size(cs) end
  10843.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10844.         SoundPlay2D("NavUp")
  10845.         cSelect = cSelect + 1
  10846.         if cSelect > size(cs) then cSelect = 1 end
  10847.       elseif IsButtonBeingPressed(3,0) then
  10848.         SoundPlay2D("ButtonUp")
  10849.         repeat
  10850.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  10851.             SoundPlay2D("NavUp")
  10852.             fors = fors - 1
  10853.             if fors < 1 then fors = size(to) end
  10854.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10855.             SoundPlay2D("NavUp")
  10856.             fors = fors + 1
  10857.             if fors > size(to) then fors = 1 end
  10858.           end
  10859.           TextPrintString("WEAPON SELECTOR\n["..cs[cSelect].name.."]\n\nSet to: "..to[fors],0,1)
  10860.           TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  10861.           Wait(0)
  10862.         until IsButtonBeingPressed(3,0)
  10863.         SoundPlay2D("ButtonUp")
  10864.         if fors == 1 then
  10865.           PedSetWeapon(gPlayer,cs[cSelect].model,50)
  10866.         elseif fors == 2 then
  10867.           local ped = GetTarget()
  10868.           PedSetWeapon(ped,cs[cSelect].model,50)
  10869.         elseif fors == 3 then
  10870.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  10871.             if PedIsValid(ped) and ped ~= gPlayer then
  10872.               PedSetWeapon(ped,cs[cSelect].model,50)
  10873.             end
  10874.           end
  10875.         end
  10876.       end
  10877.       if cSelect == 1 then
  10878.         TextPrintString("WEAPON SELECTOR\n\n>"..cs[cSelect].name.."<\n"..cs[cSelect + 1].name.."\n"..cs[cSelect + 2].name.."",0,1)
  10879.       elseif cSelect == table.getn(cs) then
  10880.         TextPrintString("WEAPON SELECTOR\n\n"..cs[cSelect - 2].name.."\n"..cs[cSelect - 1].name.."\n>"..cs[cSelect].name.."<",0,1)
  10881.       elseif not (cSelect == table.getn(cs) or cSelect == 1) then
  10882.         TextPrintString("WEAPON SELECTOR\n\n"..cs[cSelect - 1].name.."\n>"..cs[cSelect].name.."<\n"..cs[cSelect + 1].name.."",0,1)
  10883.       end
  10884.       if showText then
  10885.         TextPrintString("[Number: "..cSelect.."]\n[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  10886.       end
  10887.       Wait(0)
  10888.     until IsButtonBeingReleased(14,0)
  10889.     SoundPlay2D("WrongBtn")
  10890.     F_AutoTextPrint()
  10891.   end
  10892. end
  10893.  
  10894. function ATZ_Pickups()
  10895.   if not dead then
  10896.     S_SetupPickup()
  10897.     SoundPlay2D("RightBtn")
  10898.     repeat
  10899.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10900.         SoundPlay2D("NavUp")
  10901.         pcs = pcs - 1
  10902.         if pcs < 1 then pcs = size(pcss) end
  10903.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10904.         SoundPlay2D("NavUp")
  10905.         pcs = pcs + 1
  10906.         if pcs > size(pcss) then pcs = 1 end
  10907.       elseif IsButtonBeingPressed(3,0) then
  10908.         SoundPlay2D("ButtonUp")
  10909.         local x,y,z = PlayerGetPosXYZ()
  10910.         pickupForPlayer = PickupCreateXYZ(pcss[pcs].model,x + 1,y,z + 1)
  10911.       end
  10912.       if pcs == 1 then
  10913.         TextPrintString("PICKUP SELECTOR\n\n>"..pcss[pcs].name.."<\n"..pcss[pcs + 1].name.."\n"..pcss[pcs + 2].name.."",0,1)
  10914.       elseif pcs == table.getn(pcss) then
  10915.         TextPrintString("PICKUP SELECTOR\n\n"..pcss[pcs - 2].name.."\n"..pcss[pcs - 1].name.."\n>"..pcss[pcs].name.."<",0,1)
  10916.       elseif not (pcs == table.getn(pcss) or pcs == 1) then
  10917.         TextPrintString("PICKUP SELECTOR\n\n"..pcss[pcs - 1].name.."\n>"..pcss[pcs].name.."<\n"..pcss[pcs + 1].name.."",0,1)
  10918.       end
  10919.       if showText then
  10920.         TextPrintString("[Number: "..pcs.."]\n[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  10921.       end
  10922.       Wait(0)
  10923.     until IsButtonBeingReleased(14,0)
  10924.     SoundPlay2D("WrongBtn")
  10925.     F_AutoTextPrint()
  10926.   end
  10927. end
  10928.  
  10929. function ATZ_Respect()
  10930.   if not dead then
  10931.     S_SetupCore()
  10932.     SoundPlay2D("RightBtn")
  10933.     repeat
  10934.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10935.         SoundPlay2D("NavUp")
  10936.         kSelect = kSelect - 1
  10937.         if kSelect < 1 then kSelect = size(ks) end
  10938.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  10939.         SoundPlay2D("NavUp")
  10940.         kSelect = kSelect + 1
  10941.         if kSelect > size(ks) then kSelect = 1 end
  10942.       elseif IsButtonBeingPressed(3,0) then
  10943.         Wait(100)
  10944.         repeat
  10945.           if IsButtonBeingPressed(1,0) or faster_select(1) then
  10946.             SetFactionRespect(ks[kSelect][1],GetFactionRespect(ks[kSelect][1]) + 10)
  10947.             if GetFactionRespect(ks[kSelect][1]) > 100 then
  10948.               SetFactionRespect(ks[kSelect][1],100)
  10949.             end
  10950.             if GetFactionRespect(ks[kSelect][1]) ~= 100 then
  10951.               PedSetTypeToTypeAttitude(ks[kSelect][1],13,tonumber(string.format("%.0f",GetFactionRespect(ks[kSelect][1])/25)))
  10952.             elseif GetFactionRespect(ks[kSelect][1]) == 100 then
  10953.               PedSetTypeToTypeAttitude(ks[kSelect][1],13,4)
  10954.             end
  10955.           elseif IsButtonBeingPressed(0,0) or faster_select(0) then
  10956.             SetFactionRespect(ks[kSelect][1],GetFactionRespect(ks[kSelect][1]) - 10)
  10957.             if GetFactionRespect(ks[kSelect][1]) < 0 then
  10958.               SetFactionRespect(ks[kSelect][1],0)
  10959.             end
  10960.             if GetFactionRespect(ks[kSelect][1]) ~= 0 then
  10961.               PedSetTypeToTypeAttitude(ks[kSelect][1],13,tonumber(string.format("%.0f",GetFactionRespect(ks[kSelect][1])/25)))
  10962.             elseif GetFactionRespect(ks[kSelect][1]) == 0 then
  10963.               PedSetTypeToTypeAttitude(ks[kSelect][1],13,0)
  10964.             end
  10965.           end
  10966.           TextPrintString("RESPECT SELECTOR\n"..ks[kSelect][2].."\n\nRespect: "..GetFactionRespect(ks[kSelect][1]).."",0,1)
  10967.           if showText then
  10968.             TextPrintString("[~ddown~ Exit]\n[Set Value ~dleft~ or ~dright~]",0,2)
  10969.           end
  10970.           Wait(0)
  10971.         until IsButtonBeingPressed(3,0)
  10972.       end
  10973.       if kSelect == 1 then
  10974.         TextPrintString("RESPECT SELECTOR\n\n>"..ks[kSelect][2].."<\n"..ks[kSelect + 1][2].."\n"..ks[kSelect + 2][2].."",0,1)
  10975.       elseif kSelect == table.getn(ks) then
  10976.         TextPrintString("RESPECT SELECTOR\n\n"..ks[kSelect - 2][2].."\n"..ks[kSelect - 1][2].."\n>"..ks[kSelect][2].."<",0,1)
  10977.       elseif not (kSelect == table.getn(ks) or kSelect == 1) then
  10978.         TextPrintString("RESPECT SELECTOR\n\n"..ks[kSelect - 1][2].."\n>"..ks[kSelect][2].."<\n"..ks[kSelect + 1][2].."",0,1)
  10979.       end
  10980.       if showText then
  10981.         TextPrintString("[Respect: "..GetFactionRespect(ks[kSelect][1]).."]\n[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]",0,2)
  10982.       end
  10983.       Wait(0)
  10984.     until IsButtonBeingReleased(14,0)
  10985.     SoundPlay2D("WrongBtn")
  10986.     F_AutoTextPrint()
  10987.   end
  10988. end
  10989.  
  10990. function ATZ_Mission()
  10991.   if not dead then
  10992.     S_SetupCore()
  10993.     SoundPlay2D("RightBtn")
  10994.     repeat
  10995.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  10996.         SoundPlay2D("NavUp")
  10997.         cvSelect = cvSelect - 1
  10998.         if cvSelect < 1 then cvSelect = size(cvs) end
  10999.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11000.         SoundPlay2D("NavUp")
  11001.         cvSelect = cvSelect + 1
  11002.         if cvSelect > size(cvs) then cvSelect = 1 end
  11003.       end
  11004.       if IsButtonBeingPressed(3,0) then
  11005.         SoundPlay2D("ButtonDown")
  11006.         Wait(100)
  11007.         repeat
  11008.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  11009.             SoundPlay2D("NavUp")
  11010.             vdSelect = vdSelect - 1
  11011.             if vdSelect < 1 then vdSelect = size(vds) end
  11012.           elseif IsButtonBeingPressed(1,0) or faster_select(0) then
  11013.             SoundPlay2D("NavUp")
  11014.             vdSelect = vdSelect + 1
  11015.             if vdSelect > size(vds) then vdSelect = 1 end
  11016.           end
  11017.           TextPrintString("MISSION SELECTOR\n"..cvs[cvSelect][2].."\n\n>"..vds[vdSelect].."<",0,1)
  11018.           if showText then
  11019.             TextPrintString("[~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  11020.           end
  11021.           Wait(0)
  11022.         until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  11023.         if IsButtonBeingPressed(3,0) then
  11024.           if vdSelect == 1 then
  11025.             if type(cvs[cvSelect][1]) == "number" then
  11026.               ForceStartMissionIndex(cvs[cvSelect][1])
  11027.             else
  11028.               ForceStartMission(cvs[cvSelect][1])
  11029.             end
  11030.           elseif vdSelect == 2 then
  11031.             if type(cvs[cvSelect][1]) == "string" then
  11032.               if not IsMissionAvailable(cvs[cvSelect][1]) then
  11033.                 ForceMissionAvailable(cvs[cvSelect][1])
  11034.               else
  11035.               end
  11036.             else
  11037.               TextPrintString("THIS MISSION DOESN'T SUPPORTED",1,1)
  11038.               Wait(1000)
  11039.             end
  11040.           elseif vdSelect == 3 then
  11041.             if type(cvs[cvSelect][1]) == "string" then
  11042.               MissionSuccessCountInc(cvs[cvSelect][1])
  11043.             else
  11044.               TextPrintString("THIS MISSION DOESN'T SUPPORTED",1,1)
  11045.               Wait(1000)
  11046.             end
  11047.           end
  11048.         elseif IsButtonBeingPressed(14,0) then
  11049.           Wait(100)
  11050.         end
  11051.       end
  11052.       if cvSelect == 1 then
  11053.         TextPrintString("MISSION SELECTOR\n\n>"..cvs[cvSelect][2].."<\n"..cvs[cvSelect + 1][2].."\n"..cvs[cvSelect + 2][2].."",0,1)
  11054.       elseif cvSelect == table.getn(cvs) then
  11055.         TextPrintString("MISSION SELECTOR\n\n"..cvs[cvSelect - 2][2].."\n"..cvs[cvSelect - 1][2].."\n>"..cvs[cvSelect][2].."<",0,1)
  11056.       elseif not (cvSelect == table.getn(cvs) or cvSelect == 1) then
  11057.         TextPrintString("MISSION SELECTOR\n\n"..cvs[cvSelect - 1][2].."\n>"..cvs[cvSelect][2].."<\n"..cvs[cvSelect + 1][2].."",0,1)
  11058.       end
  11059.       if showText then
  11060.         TextPrintString("[Number: "..cvSelect.."]\n[Navigate: ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  11061.       end
  11062.       Wait(0)
  11063.     until IsButtonBeingReleased(14,0)
  11064.     SoundPlay2D("WrongBtn")
  11065.     F_AutoTextPrint()
  11066.   end
  11067. end
  11068.  
  11069. function ATZ_MGame()
  11070.   if not dead then
  11071.     S_SetupCore()
  11072.     SoundPlay2D("RightBtn")
  11073.     repeat
  11074.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11075.         SoundPlay2D("NavUp")
  11076.         cbSelect = cbSelect - 1
  11077.         if cbSelect < 1 then cbSelect = size(cbs) end
  11078.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11079.         SoundPlay2D("NavUp")
  11080.         cbSelect = cbSelect + 1
  11081.         if cbSelect > size(cbs) then cbSelect = 1 end
  11082.       end
  11083.       if IsButtonBeingPressed(3,0) then
  11084.         SoundPlay2D("ButtonDown")
  11085.         if cbSelect == 20 or cbSelect == 21 or cbSelect == 22 or cbSelect == 23 or cbSelect == 19 then
  11086.           AreaTransitionXYZ(0,216.7,462.6,5.3)
  11087.         end
  11088.         if type(cbs[cbSelect][1]) == "number" then
  11089.           ForceStartMissionIndex(cbs[cbSelect][1])
  11090.         elseif type(cbs[cbSelect][1]) == "string" then
  11091.           ForceStartMission(cbs[cbSelect][1])
  11092.         end
  11093.       end
  11094.       if cbSelect == 1 then
  11095.         TextPrintString("M-GAME SELECTOR\n\n>"..cbs[cbSelect][2].."<\n"..cbs[cbSelect + 1][2].."\n"..cbs[cbSelect + 2][2].."",0,1)
  11096.       elseif cbSelect == table.getn(cbs) then
  11097.         TextPrintString("M-GAME SELECTOR\n\n"..cbs[cbSelect - 2][2].."\n"..cbs[cbSelect - 1][2].."\n>"..cbs[cbSelect][2].."<",0,1)
  11098.       elseif not (cbSelect == table.getn(cbs) or cbSelect == 1) then
  11099.         TextPrintString("M-GAME SELECTOR\n\n"..cbs[cbSelect - 1][2].."\n>"..cbs[cbSelect][2].."<\n"..cbs[cbSelect + 1][2].."",0,1)
  11100.       end
  11101.       if showText then
  11102.         TextPrintString("[Number: "..cbSelect.."]\n[Navigate: ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Start]",0,2)
  11103.       end
  11104.       Wait(0)
  11105.     until IsButtonBeingReleased(14,0)
  11106.     SoundPlay2D("WrongBtn")
  11107.     F_AutoTextPrint()
  11108.   end
  11109. end
  11110.  
  11111. function ATZ_Vehicle()
  11112.   rotation = 0
  11113.   if not dead then
  11114.     S_SetupCore()
  11115.     SoundPlay2D("RightBtn")
  11116.     repeat
  11117.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11118.         SoundPlay2D("NavUp")
  11119.         cvtSelect = cvtSelect - 1
  11120.         if cvtSelect < 1 then cvtSelect = size(cvts) end
  11121.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11122.         SoundPlay2D("NavUp")
  11123.         cvtSelect = cvtSelect + 1
  11124.         if cvtSelect > size(cvts) then cvtSelect = 1 end
  11125.       end
  11126.       if IsButtonBeingPressed(3,0) then
  11127.         while not IsButtonBeingReleased(3,0) do
  11128.           Wait(0)
  11129.         end
  11130.         if VehicleIsValid(VehicleForPlayer) and PedIsInVehicle(gPlayer,VehicleForPlayer) then
  11131.           PedWarpOutOfCar(gPlayer,VehicleForPlayer)
  11132.           Wait(100)
  11133.           VehicleDelete(VehicleForPlayer)
  11134.         elseif VehicleIsValid(VehicleForPlayer) and not PedIsInVehicle(gPlayer,VehicleForPlayer) then
  11135.           VehicleDelete(VehicleForPlayer)
  11136.         end
  11137.         local x,y,z = PlayerGetPosXYZ()
  11138.         VehicleForPlayer = VehicleCreateXYZ(cvts[cvtSelect][1],x + 2,y + 2,z)
  11139.         local ran_color = math.random(0,99)
  11140.         VehicleSetColor(VehicleForPlayer,ran_color)
  11141.         siren = 0
  11142.         cls = ran_color + 1
  11143.         PlayerSetControl(0)
  11144.         vx,vy,vz = VehicleGetPosXYZ(VehicleForPlayer)
  11145.         repeat
  11146.           CameraSetXYZ(x,y,z + 4)
  11147.           CameraLookAtXYZ(vx,vy,vz)
  11148.           CameraAllowChange(false)
  11149.          
  11150.           rotation = rotation - GetStickValue(18,0)*5
  11151.           if rotation < 0 then rotation = 360 end
  11152.           if rotation > 360 then rotation = 0 end
  11153.           VehicleFaceHeading(VehicleForPlayer,rotation)
  11154.          
  11155.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  11156.             cls = cls - 1
  11157.             if cls < 1 then cls = 100 end
  11158.             VehicleSetColor(VehicleForPlayer,cls - 1)
  11159.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11160.             cls = cls + 1
  11161.             if cls > 100 then cls = 1 end
  11162.             VehicleSetColor(VehicleForPlayer,cls - 1)
  11163.           end
  11164.          
  11165.           TextPrintString("VEHICLE COLOR\n\nNumber: "..cls,0,1)
  11166.          
  11167.           Wait(0)
  11168.         until IsButtonBeingPressed(3,0) or IsButtonBeingReleased(14,0) or PedIsHit(gPlayer,2)
  11169.         if IsButtonBeingPressed(3,0) then
  11170.           WaitUntil(3,0)
  11171.           val_speed = 5
  11172.           repeat
  11173.             Wait(0)
  11174.            
  11175.             if IsButtonPressed(0,0) then
  11176.               val_speed = val_speed - 0.1
  11177.               if val_speed < 0 then val_speed = 0 end
  11178.             elseif IsButtonPressed(1,0) then
  11179.               val_speed = val_speed + 0.1
  11180.               if val_speed > 10 then val_speed = 10 end
  11181.             end
  11182.            
  11183.             TextPrintString("VEHICLE SPEED\n\nSpeed: "..string.format("%.0f",val_speed*10).."%",0,1)
  11184.           until IsButtonBeingPressed(3,0) or IsButtonBeingReleased(14,0) or PedIsHit(gPlayer,2)
  11185.           if IsButtonBeingPressed(3,0) then
  11186.             VehicleSetAccelerationMult(VehicleForPlayer,val_speed/5)
  11187.             VehicleSetCruiseSpeed(VehicleForPlayer,val_speed*10/2)
  11188.             CameraAllowChange(true)
  11189.             CameraReturnToPlayer()
  11190.             PlayerSetControl(1)
  11191.           elseif PedIsHit(gPlayer,2) or IsButtonBeingReleased(14,0) then
  11192.             PlayerSetControl(1)
  11193.             CameraAllowChange(true)
  11194.             CameraReturnToPlayer()
  11195.             VehicleDelete(VehicleForPlayer)
  11196.             Wait(100)
  11197.           end
  11198.         elseif PedIsHit(gPlayer,2) or IsButtonBeingReleased(14,0) then
  11199.           PlayerSetControl(1)
  11200.           CameraAllowChange(true)
  11201.           CameraReturnToPlayer()
  11202.           VehicleDelete(VehicleForPlayer)
  11203.           Wait(100)
  11204.         end
  11205.       end
  11206.       if cvtSelect == 1 then
  11207.         TextPrintString("VEHICLE SELECTOR\n\n>"..cvts[cvtSelect][2].."<\n"..cvts[cvtSelect + 1][2].."\n"..cvts[cvtSelect + 2][2].."",0,1)
  11208.       elseif cvtSelect == table.getn(cvts) then
  11209.         TextPrintString("VEHICLE SELECTOR\n\n"..cvts[cvtSelect - 2][2].."\n"..cvts[cvtSelect - 1][2].."\n>"..cvts[cvtSelect][2].."<",0,1)
  11210.       elseif not (cvtSelect == table.getn(cvts) or cvtSelect == 1) then
  11211.         TextPrintString("VEHICLE SELECTOR\n\n"..cvts[cvtSelect - 1][2].."\n>"..cvts[cvtSelect][2].."<\n"..cvts[cvtSelect + 1][2].."",0,1)
  11212.       end
  11213.       if showText then
  11214.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[~ddown~ Select]",0,2)
  11215.       end
  11216.       Wait(0)
  11217.     until IsButtonBeingReleased(14,0)
  11218.     SoundPlay2D("WrongBtn")
  11219.     F_AutoTextPrint()
  11220.   end
  11221. end
  11222.  
  11223. function ATZ_Music()
  11224.   if not dead then
  11225.     S_SetupCore()
  11226.     SoundPlay2D("RightBtn")
  11227.     repeat
  11228.       if IsButtonBeingPressed(0,0) then
  11229.         SoundPlay2D("NavUp")
  11230.         cvbSelect = cvbSelect - 1
  11231.         if cvbSelect < 1 then cvbSelect = size(cvbs) end
  11232.       elseif IsButtonBeingPressed(1,0) then
  11233.         SoundPlay2D("NavUp")
  11234.         cvbSelect = cvbSelect + 1
  11235.         if cvbSelect > size(cvbs) then cvbSelect = 1 end
  11236.       end
  11237.       if IsButtonPressed(0,0) and IsButtonPressed(7,0) then
  11238.         SoundPlay2D("NavUp")
  11239.         cvbSelect = cvbSelect - 1
  11240.         if cvbSelect < 1 then cvbSelect = size(cvbs) end
  11241.       elseif IsButtonPressed(1,0) and IsButtonPressed(7,0) then
  11242.         SoundPlay2D("NavUp")
  11243.         cvbSelect = cvbSelect + 1
  11244.         if cvbSelect > size(cvbs) then cvbSelect = 1 end
  11245.       end
  11246.       if IsButtonBeingPressed(3,0) then
  11247.         SoundPlay2D("ButtonDown")
  11248.         Wait(100)
  11249.         repeat
  11250.           if IsButtonPressed(0,0) then
  11251.             volAudio = volAudio - 0.1
  11252.             if volAudio < 0 then
  11253.               volAudio = 0
  11254.             end
  11255.           elseif IsButtonPressed(1,0) then
  11256.             volAudio = volAudio + 0.1
  11257.             if volAudio > 25 then
  11258.               volAudio = 25
  11259.             end
  11260.           end
  11261.           TextPrintString("MUSIC SELECTOR\nAudio Volume: "..string.format("%.0f",volAudio/0.25),0,1)
  11262.           if showText then
  11263.             TextPrintString("[~ddown~ Play]\n[Navigate ~dleft~ or ~dright~]",0,2)
  11264.           end
  11265.           Wait(0)
  11266.         until IsButtonBeingPressed(3,0)
  11267.         MusicAllowPlayDuringCutscenes(true)
  11268.         SoundPlayStream(cvbs[cvbSelect],volAudio)
  11269.       elseif IsButtonPressed(2,0) then
  11270.         SoundStopStream()
  11271.       end
  11272.       if cvbSelect == 1 then
  11273.         TextPrintString("MUSIC SELECTOR\n\n>"..cvbs[cvbSelect].."<\n"..cvbs[cvbSelect + 1].."\n"..cvbs[cvbSelect + 2].."\n"..cvbSelect,0,1)
  11274.       elseif cvbSelect == table.getn(cvbs) then
  11275.         TextPrintString("MUSIC SELECTOR\n\n"..cvbs[cvbSelect - 2].."\n"..cvbs[cvbSelect - 1].."\n>"..cvbs[cvbSelect].."<\n"..cvbSelect,0,1)
  11276.       elseif not (cvbSelect == 1 or cvbSelect == table.getn(cvbs)) then
  11277.         TextPrintString("MUSIC SELECTOR\n\n"..cvbs[cvbSelect - 1].."\n>"..cvbs[cvbSelect].."<\n"..cvbs[cvbSelect + 1].."\n"..cvbSelect,0,1)
  11278.       end
  11279.       if showText then
  11280.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|Stop ~dup~|Select ~ddown~]",0,2)
  11281.       end
  11282.       Wait(0)
  11283.     until IsButtonBeingReleased(14,0)
  11284.     SoundPlay2D("WrongBtn")
  11285.     F_AutoTextPrint()
  11286.   end
  11287. end
  11288.  
  11289. function ATZ_Speed()
  11290.   if not dead then
  11291.     S_SetupCore()
  11292.     SoundPlay2D("RightBtn")
  11293.     repeat
  11294.       if IsButtonPressed(0,0) then
  11295.         valueSpeed = valueSpeed - 1
  11296.       elseif IsButtonPressed(1,0) then
  11297.         valueSpeed = valueSpeed + 1
  11298.       elseif IsButtonBeingPressed(3,0) then
  11299.         local ped = GetTarget()
  11300.         GameSetPedStat(ped,20,valueSpeed)
  11301.       end
  11302.       if valueSpeed < 0 then
  11303.         valueSpeed = 0
  11304.       end
  11305.       TextPrintString("SPEED SELECTOR\n\n<"..valueSpeed..">",0,1)
  11306.       if showText then
  11307.         TextPrintString("[Set On: "..GetName().."]\n[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11308.       end
  11309.       Wait(0)
  11310.     until IsButtonBeingReleased(14,0)
  11311.     SoundPlay2D("WrongBtn")
  11312.     F_AutoTextPrint()
  11313.   end
  11314. end
  11315.  
  11316. function ATZ_Clothes()
  11317.   if not dead then
  11318.     S_SetupCore()
  11319.     SoundPlay2D("RightBtn")
  11320.     if not PedIsModel(gPlayer,0) then
  11321.       clothSelector = 1
  11322.       PlayerSwapModel("player")
  11323.     end
  11324.     repeat
  11325.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11326.         SoundPlay2D("NavUp")
  11327.         cwSelect = cwSelect - 1
  11328.         if cwSelect < 1 then cwSelect = size(cws) end
  11329.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11330.         SoundPlay2D("NavUp")
  11331.         cwSelect = cwSelect + 1
  11332.         if cwSelect > size(cws) then cwSelect = 1 end
  11333.       end
  11334.       if IsButtonBeingPressed(3,0) and not PlayerIsInAnyVehicle() then
  11335.         ClothingSetPlayer(cws[cwSelect].style,cws[cwSelect].model)
  11336.         ClothingBuildPlayer()
  11337.       elseif IsButtonPressed(2,0) then
  11338.         CameraSetXYZ(PlayerGetPosXYZ())
  11339.         ClothingGivePlayer(cws[cwSelect].model,cws[cwSelect].style)
  11340.       elseif IsButtonBeingReleased(2,0) then
  11341.         CameraReturnToPlayer()
  11342.       end
  11343.       if cwSelect == 1 then
  11344.         TextPrintString("CLOTH SELECTOR\n\n>"..cws[cwSelect].model.."<\n"..cws[cwSelect + 1].model.."\n"..cws[cwSelect + 2].model.."",0,1)
  11345.       elseif cwSelect == table.getn(cws) then
  11346.         TextPrintString("CLOTH SELECTOR\n\n"..cws[cwSelect - 2].model.."\n"..cws[cwSelect - 1].model.."\n>"..cws[cwSelect].model.."<",0,1)
  11347.       elseif not (cwSelect == 1 or cwSelect == table.getn(cws)) then
  11348.         TextPrintString("CLOTH SELECTOR\n\n"..cws[cwSelect - 1].model.."\n>"..cws[cwSelect].model.."<\n"..cws[cwSelect + 1].model.."",0,1)
  11349.       end
  11350.       if showText then
  11351.         TextPrintString("[Number: "..cwSelect.."]\n[Navigate: ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[Give ~dup~|~ddown~ Select]",0,2)
  11352.       end
  11353.       Wait(0)
  11354.     until IsButtonBeingReleased(14,0)
  11355.     if clothSelector == 1 then
  11356.       clothSelector = 0
  11357.       PlayerSwapModel(saveModel) -- Back up model
  11358.       PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  11359.     end
  11360.     SoundPlay2D("WrongBtn")
  11361.     F_AutoTextPrint()
  11362.   end
  11363. end
  11364.  
  11365. function ATZ_Health()
  11366.   if not dead then
  11367.     S_SetupCore()
  11368.     SoundPlay2D("RightBtn")
  11369.     repeat
  11370.       if IsButtonPressed(0,0) then
  11371.         valueHealth = valueHealth - 1
  11372.         if valueHealth < 0 then
  11373.           valueHealth = 0
  11374.         end
  11375.       elseif IsButtonPressed(1,0) then
  11376.         valueHealth = valueHealth + 1
  11377.       elseif IsButtonBeingPressed(3,0) then
  11378.         SoundPlay2D("ButtonUp")
  11379.         repeat
  11380.           if IsButtonBeingPressed(0,0) then
  11381.             SoundPlay2D("NavUp")
  11382.             fors = fors - 1
  11383.             if fors < 1 then fors = size(to) end
  11384.           elseif IsButtonBeingPressed(1,0) then
  11385.             SoundPlay2D("NavUp")
  11386.             fors = fors + 1
  11387.             if fors > size(to) then fors = 1 end
  11388.           end
  11389.           TextPrintString("HEALTH SELECTOR\n["..valueHealth.."]\n\nSet to: "..to[fors],0,1)
  11390.           if showText then
  11391.             TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  11392.           end
  11393.           Wait(0)
  11394.         until IsButtonBeingPressed(3,0)
  11395.         SoundPlay2D("ButtonUp")
  11396.         if fors == 1 then
  11397.           PedSetHealth(gPlayer,valueHealth)
  11398.         elseif fors == 2 then
  11399.           local ped = GetTarget()
  11400.           PedSetHealth(ped,valueHealth)
  11401.         elseif fors == 3 then
  11402.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  11403.             if PedIsValid(ped) and not PedIsModel(ped,PlayerGetModelID()) and ped ~= gPlayer then
  11404.               PedSetHealth(ped,valueHealth)
  11405.             end
  11406.           end
  11407.         end
  11408.       end
  11409.       TextPrintString("HEALTH SELECTOR\n\n~dleft~<"..valueHealth..">~dright~",0,1)
  11410.       if showText then
  11411.         TextPrintString("[Set On: "..GetName().."]\n[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11412.       end
  11413.       Wait(0)
  11414.     until IsButtonBeingReleased(14,0)
  11415.     SoundPlay2D("WrongBtn")
  11416.     F_AutoTextPrint()
  11417.   end
  11418. end
  11419.  
  11420. function ATZ_Area()
  11421.   if not dead then
  11422.     S_SetupCore()
  11423.     SoundPlay2D("RightBtn")
  11424.     repeat
  11425.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11426.         SoundPlay2D("NavUp")
  11427.         cgSelect = cgSelect - 1
  11428.         if cgSelect < 1 then cgSelect = size(cgs) end
  11429.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11430.         SoundPlay2D("NavUp")
  11431.         cgSelect = cgSelect + 1
  11432.         if cgSelect > size(cgs) then cgSelect = 1 end
  11433.       elseif IsButtonBeingPressed(3,0) then
  11434.         if cgs[cgSelect][5] == "CUSTOM PLACE" then
  11435.           custom_place()
  11436.         else
  11437.           AreaForceLoadAreaByAreaTransition(true)
  11438.           AreaTransitionXYZ(cgs[cgSelect][1],cgs[cgSelect][2],cgs[cgSelect][3],cgs[cgSelect][4])
  11439.           AreaForceLoadAreaByAreaTransition(false)
  11440.         end
  11441.       end
  11442.       if cgSelect == 1 then
  11443.         TextPrintString("AREA SELECTOR\n\n:"..cgs[cgSelect][5]..":\n"..cgs[cgSelect + 1][5].."\n"..cgs[cgSelect + 2][5].."",0,1)
  11444.       elseif cgSelect == table.getn(cgs) then
  11445.         TextPrintString("AREA SELECTOR\n\n"..cgs[cgSelect - 2][5].."\n"..cgs[cgSelect - 1][5].."\n:"..cgs[cgSelect][5]..":",0,1)
  11446.       elseif not (cgSelect == table.getn(cgs) or cgSelect == 1) then
  11447.         TextPrintString("AREA SELECTOR\n\n"..cgs[cgSelect - 1][5].."\n:"..cgs[cgSelect][5]..":\n"..cgs[cgSelect + 1][5].."",0,1)
  11448.       end
  11449.       if showText then
  11450.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[~ddown~ Select]",0,2)
  11451.       end
  11452.       Wait(0)
  11453.     until IsButtonBeingReleased(14,0)
  11454.     SoundPlay2D("WrongBtn")
  11455.     F_AutoTextPrint()
  11456.   end
  11457. end
  11458.  
  11459. function ATZ_Prop()
  11460.   if not dead then
  11461.     S_SetupCore()
  11462.     S_SetupProp()
  11463.     SoundPlay2D("RightBtn")
  11464.     repeat
  11465.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11466.         SoundPlay2D("NavUp")
  11467.         asSelect = asSelect - 1
  11468.         if asSelect < 1 then asSelect = size(ass) end
  11469.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11470.         SoundPlay2D("NavUp")
  11471.         asSelect = asSelect + 1
  11472.         if asSelect > size(ass) then asSelect = 1 end
  11473.       elseif IsButtonBeingPressed(3,0) then
  11474.         Wait(100)
  11475.         if asSelect == 2 then
  11476.           repeat
  11477.             if IsButtonBeingPressed(0,0) or faster_select(0) then
  11478.               SoundPlay2D("NavUp")
  11479.               xfSelect = xfSelect - 1
  11480.               if xfSelect < 1 then xfSelect = size(xfs) end
  11481.             elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11482.               SoundPlay2D("NavUp")
  11483.               xfSelect = xfSelect + 1
  11484.               if xfSelect > size(xfs) then xfSelect = 1 end
  11485.             elseif IsButtonBeingPressed(3,0) and xfSelect ~= 7 then
  11486.               local a,s,d = PlayerGetPosXYZ()
  11487.               DeletePersistentEntity(PropForPlayer)
  11488.               PropForPlayer = CreatePersistentEntity(xfs[xfSelect],a + 1,s + 1,d,0,AreaGetVisible())
  11489.             elseif IsButtonBeingPressed(3,0) and xfSelect == 7 then
  11490.               local a,s,d = PlayerGetPosXYZ()
  11491.               DeletePersistentEntity(PropForPlayer)
  11492.               Turret = CreatePersistentEntity("WPTurret",a + 1,s + 1,d,0,AreaGetVisible())
  11493.               PropForPlayer = CreatePersistentEntity(xfs[xfSelect],a + 1,s + 1,d + 0.75,0,AreaGetVisible())
  11494.             elseif IsButtonBeingPressed(2,0) then
  11495.               DeletePersistentEntity(PropForPlayer)
  11496.             end
  11497.             if xfSelect == 1 then
  11498.               TextPrintString("PROP SELECTOR\n2.Normal Prop\n\n>"..xfs[xfSelect].."<\n"..xfs[xfSelect + 1].."\n"..xfs[xfSelect + 2].."",0,1)
  11499.             elseif xfSelect == table.getn(xfs) then
  11500.               TextPrintString("PROP SELECTOR\n2.Normal Prop\n\n"..xfs[xfSelect - 2].."\n"..xfs[xfSelect - 1].."\n>"..xfs[xfSelect].."<",0,1)
  11501.             elseif not (xfSelect == table.getn(xfs) or xfSelect == 1) then
  11502.               TextPrintString("PROP SELECTOR\n2.Normal Prop\n\n"..xfs[xfSelect - 1].."\n>"..xfs[xfSelect].."<\n"..xfs[xfSelect + 1].."",0,1)
  11503.             end
  11504.             if showText then
  11505.               TextPrintString("[Navigate: ~dleft~ or ~dright~|Delete ~dup~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11506.             end
  11507.             Wait(0)
  11508.           until IsButtonBeingReleased(14,0)
  11509.           SoundPlay2D("WrongBtn")
  11510.           Wait(100)
  11511.         elseif asSelect == 1 then
  11512.           repeat
  11513.             if IsButtonBeingPressed(0,0) or faster_select(0) then
  11514.               SoundPlay2D("NavUp")
  11515.               xsSelect = xsSelect - 1
  11516.               if xsSelect < 1 then xsSelect = size(xss) end
  11517.             elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11518.               SoundPlay2D("NavUp")
  11519.               xsSelect = xsSelect + 1
  11520.               if xsSelect > size(xss) then xsSelect = 1 end
  11521.             end
  11522.             if IsButtonBeingPressed(3,0) then
  11523.               Wait(100)
  11524.               repeat
  11525.                 if IsButtonBeingPressed(0,0) or faster_select(0) then
  11526.                   SoundPlay2D("NavUp")
  11527.                   uiSelect = uiSelect - 1
  11528.                   if uiSelect < 1 then uiSelect = size(uis) end
  11529.                 elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11530.                   SoundPlay2D("NavUp")
  11531.                   uiSelect = uiSelect + 1
  11532.                   if uiSelect > size(uis) then uiSelect = 1 end
  11533.                 end
  11534.                 TextPrintString("PROP SELECTOR\n1.Special Prop\n["..xss[xsSelect][2].."]\n\n"..uis[uiSelect],0,1)
  11535.                 TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  11536.                 Wait(0)
  11537.               until IsButtonBeingPressed(3,0)
  11538.               if uiSelect == 1 then
  11539.                 AreaLoadSpecialEntities(xss[xsSelect][1],true)
  11540.                 AreaEnsureSpecialEntitiesAreCreated()
  11541.               elseif uiSelect == 2 then
  11542.                 AreaLoadSpecialEntities(xss[xsSelect][1],false)
  11543.                 AreaEnsureSpecialEntitiesAreCreated()
  11544.               end
  11545.             end
  11546.             if xsSelect == 1 then
  11547.               TextPrintString("PROP SELECTOR\n1.Special Prop\n\n>"..xss[xsSelect][2].."<\n"..xss[xsSelect + 1][2].."\n"..xss[xsSelect + 2][2].."",0,1)
  11548.             elseif xsSelect == table.getn(xss) then
  11549.               TextPrintString("PROP SELECTOR\n1.Special Prop\n\n"..xss[xsSelect - 2][2].."\n"..xss[xsSelect - 1][2].."\n>"..xss[xsSelect][2].."<",0,1)
  11550.             elseif not (xsSelect == table.getn(xss) or xsSelect == 1) then
  11551.               TextPrintString("PROP SELECTOR\n1.Special Prop\n\n"..xss[xsSelect - 1][2].."\n>"..xss[xsSelect][2].."<\n"..xss[xsSelect + 1][2].."",0,1)
  11552.             end
  11553.             if showText then
  11554.               TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11555.             end
  11556.             Wait(0)
  11557.           until IsButtonBeingReleased(14,0)
  11558.           SoundPlay2D("WrongBtn")
  11559.           Wait(100)
  11560.         end
  11561.       end
  11562.       if asSelect == 1 then
  11563.         TextPrintString("PROP SELECTOR\n\n>"..ass[asSelect].."<\n"..ass[asSelect + 1],0,1)
  11564.       elseif asSelect == 2 then
  11565.         TextPrintString("PROP SELECTOR\n\n"..ass[asSelect - 1].."\n>"..ass[asSelect].."<",0,1)
  11566.       end
  11567.       if showText then
  11568.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11569.       end
  11570.       Wait(0)
  11571.     until IsButtonBeingReleased(14,0)
  11572.     SoundPlay2D("WrongBtn")
  11573.     F_AutoTextPrint()
  11574.   end
  11575. end
  11576.  
  11577. function ATZ_Punishment()
  11578.   if not dead then
  11579.     S_SetupCore()
  11580.     SoundPlay2D("RightBtn")
  11581.     repeat
  11582.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11583.         pun = pun - 1
  11584.         if pun < 1 then
  11585.           pun = 1
  11586.         end
  11587.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11588.         pun = pun + 1
  11589.         if pun > table.getn(iz) then
  11590.           pun = table.getn(iz)
  11591.         end
  11592.       end
  11593.       if IsButtonBeingPressed(3,0) then
  11594.         Wait(100)
  11595.         if pun == 1 then
  11596.           SelectPunishment()
  11597.         elseif pun == 2 then
  11598.           MinPunishment()
  11599.         elseif pun == 3 then
  11600.           MaxPunishment()
  11601.         end
  11602.       end
  11603.       TextPrintString("PUNISHMENT SELECTOR\n\n"..iz[pun],0,1)
  11604.       if showText then
  11605.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  11606.       end
  11607.       Wait(0)
  11608.     until IsButtonBeingPressed(14,0)
  11609.     SoundPlay2D("WrongBtn")
  11610.     F_AutoTextPrint()
  11611.   end
  11612. end
  11613.  
  11614. function MinPunishment()
  11615.   if not dead then
  11616.     S_SetupCore()
  11617.     SoundPlay2D("RightBtn")
  11618.     repeat
  11619.       if IsButtonPressed(0,0) then
  11620.         mipp = mipp - 1
  11621.         if mipp < 0 then
  11622.           mipp = 0
  11623.         end
  11624.       elseif IsButtonPressed(1,0) then
  11625.         mipp = mipp + 1
  11626.         if mipp > 300 then
  11627.           mipp = 300
  11628.         end
  11629.       elseif IsButtonBeingPressed(3,0) then
  11630.         SoundPlay2D("ButtonUp")
  11631.         minPoints = mipp
  11632.       end
  11633.       TextPrintString("MIN PUNISHMENT POINTS\n\n~dleft~<"..mipp..">~dright~",0,1)
  11634.       if showText then
  11635.         TextPrintString("[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11636.       end
  11637.       Wait(0)
  11638.     until IsButtonBeingReleased(14,0)
  11639.     SoundPlay2D("WrongBtn")
  11640.     Wait(100)
  11641.   end
  11642. end
  11643.  
  11644. function MaxPunishment()
  11645.   if not dead then
  11646.     S_SetupCore()
  11647.     SoundPlay2D("RightBtn")
  11648.     repeat
  11649.       if IsButtonPressed(0,0) then
  11650.         mapp = mapp - 1
  11651.         if mapp < 0 then
  11652.           mapp = 0
  11653.         end
  11654.       elseif IsButtonPressed(1,0) then
  11655.         mapp = mapp + 1
  11656.         if mapp > 300 then
  11657.           mapp = 300
  11658.         end
  11659.       elseif IsButtonBeingPressed(3,0) then
  11660.         SoundPlay2D("ButtonUp")
  11661.         maxPoints = mapp
  11662.       end
  11663.       TextPrintString("MAX PUNISHMENT POINTS\n\n~dleft~<"..mapp..">~dright~",0,1)
  11664.       if showText then
  11665.         TextPrintString("[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11666.       end
  11667.       Wait(0)
  11668.     until IsButtonBeingReleased(14,0)
  11669.     SoundPlay2D("WrongBtn")
  11670.     Wait(100)
  11671.   end
  11672. end
  11673.    
  11674. function SelectPunishment()
  11675.   if not dead then
  11676.     S_SetupCore()
  11677.     SoundPlay2D("RightBtn")
  11678.     repeat
  11679.       if IsButtonPressed(0,0) then
  11680.         playerPoint = playerPoint - 1
  11681.         if playerPoint < 0 then
  11682.           playerPoint = 0
  11683.         end
  11684.       elseif IsButtonPressed(1,0) then
  11685.         playerPoint = playerPoint + 1
  11686.         if playerPoint > 300 then
  11687.           playerPoint = 300
  11688.         end
  11689.       elseif IsButtonBeingPressed(3,0) then
  11690.         SoundPlay2D("ButtonUp")
  11691.         repeat
  11692.           if IsButtonBeingPressed(0,0) then
  11693.             SoundPlay2D("NavUp")
  11694.             fors = fors - 1
  11695.             if fors < 1 then fors = size(to) end
  11696.           elseif IsButtonBeingPressed(1,0) then
  11697.             SoundPlay2D("NavUp")
  11698.             fors = fors + 1
  11699.             if fors > size(to) then fors = 1 end
  11700.           end
  11701.           TextPrintString("SELECT PUNISHMENT POINTS\n["..playerPoint.."]\n\nSet to: "..to[fors],0,1)
  11702.           if showText then
  11703.             TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  11704.           end
  11705.           Wait(0)
  11706.         until IsButtonBeingPressed(3,0)
  11707.         SoundPlay2D("ButtonUp")
  11708.         if fors == 1 then
  11709.           PedSetPunishmentPoints(gPlayer,playerPoint)
  11710.         elseif fors == 2 then
  11711.           local ped = GetTarget()
  11712.           PedSetPunishmentPoints(ped,playerPoint)
  11713.         elseif fors == 3 then
  11714.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  11715.             if PedIsValid(ped) and not PedIsModel(ped,PlayerGetModelID()) and ped ~= gPlayer then
  11716.               PedSetPunishmentPoints(ped,playerPoint)
  11717.             end
  11718.           end
  11719.         end
  11720.       end
  11721.       TextPrintString("SELECT PUNISHMENT POINTS\n\n~dleft~<"..playerPoint..">~dright~",0,1)
  11722.       if showText then
  11723.         TextPrintString("[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11724.       end
  11725.       Wait(0)
  11726.     until IsButtonBeingReleased(14,0)
  11727.     SoundPlay2D("WrongBtn")
  11728.     Wait(100)
  11729.   end
  11730. end
  11731.  
  11732. function ATZ_Money()
  11733.   if not dead then
  11734.     S_SetupCore()
  11735.     SoundPlay2D("RightBtn")
  11736.     local moneyXs = PedGetMoney(GetTarget())
  11737.     repeat
  11738.       moneyXs = PedGetMoney(GetTarget())
  11739.       if IsButtonPressed(0,0) then
  11740.         moneyXs = moneyXs - 1
  11741.       elseif IsButtonPressed(1,0) then
  11742.         moneyXs = moneyXs + 1
  11743.       elseif IsButtonBeingPressed(3,0) then
  11744.         PedSetMoney(GetTarget(),moneyXs)
  11745.       end
  11746.       TextPrintString("MONEY SELECTOR\n\n~dleft~<"..moneyXs..">~dleft~",0,1)
  11747.       if showText then
  11748.         TextPrintString("[Set To: "..GetName().."|Money: "..PedGetMoney(GetTarget()).."]\n[Set Value: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  11749.       end
  11750.       Wait(0)
  11751.     until IsButtonBeingReleased(14,0)
  11752.     SoundPlay2D("WrongBtn")
  11753.     F_AutoTextPrint()
  11754.   end
  11755. end
  11756.  
  11757. function ATZ_Outfit()
  11758.   if not dead then
  11759.     S_SetupCore()
  11760.     SoundPlay2D("RightBtn")
  11761.     if not PedIsModel(gPlayer,0) then
  11762.       clothSelector = 1
  11763.       PlayerSwapModel("player")
  11764.     end
  11765.     repeat
  11766.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11767.         SoundPlay2D("NavUp")
  11768.         cwrSelect = cwrSelect - 1
  11769.         if cwrSelect < 1 then cwrSelect = size(cwrs) end
  11770.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11771.         SoundPlay2D("NavUp")
  11772.         cwrSelect = cwrSelect + 1
  11773.         if cwrSelect > size(cwrs) then cwrSelect = 1 end
  11774.       end
  11775.       if IsButtonBeingPressed(3,0) and not PlayerIsInAnyVehicle() then
  11776.         ClothingSetPlayerOutfit(cwrs[cwrSelect][1])
  11777.         ClothingBuildPlayer()
  11778.       elseif IsButtonBeingPressed(3,0) and PlayerIsInAnyVehicle() then
  11779.         TextPrintString("OUTFIT SELECTOR\n\nYou can't change clothes in vehicle",3,1)
  11780.         Wait(math.random(3000))
  11781.       end
  11782.       if IsButtonBeingPressed(2,0) then
  11783.         ClothingGivePlayerOutfit(cwrs[cwrSelect][1])
  11784.       end
  11785.       if cwrSelect == 1 then
  11786.         TextPrintString("OUTFIT SELECTOR\n\n>"..cwrs[cwrSelect][2].."<\n"..cwrs[cwrSelect + 1][2].."\n"..cwrs[cwrSelect + 2][2].."",0,1)
  11787.       elseif cwrSelect == table.getn(cwrs) then
  11788.         TextPrintString("OUTFIT SELECTOR\n\n"..cwrs[cwrSelect - 2][2].."\n"..cwrs[cwrSelect - 1][2].."\n>"..cwrs[cwrSelect][2].."<",0,1)
  11789.       elseif not (cwrSelect == 1 or cwrSelect == table.getn(cwrs)) then
  11790.         TextPrintString("OUTFIT SELECTOR\n\n"..cwrs[cwrSelect - 1][2].."\n>"..cwrs[cwrSelect][2].."<\n"..cwrs[cwrSelect + 1][2].."",0,1)
  11791.       end
  11792.       if showText then
  11793.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[Give ~dup~|~ddown~ Set]",0,2)
  11794.       end
  11795.       Wait(0)
  11796.     until IsButtonBeingReleased(14,0)
  11797.     SoundPlay2D("WrongBtn")
  11798.     if clothSelector == 1 then
  11799.       clothSelector = 0
  11800.       PlayerSwapModel(saveModel) -- Back up model
  11801.       PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  11802.     end
  11803.     F_AutoTextPrint()
  11804.   end
  11805. end
  11806.  
  11807. function ATZ_Hair()
  11808.   if not dead then
  11809.     S_SetupCore()
  11810.     SoundPlay2D("RightBtn")
  11811.     if not PedIsModel(gPlayer,0) then
  11812.       clothSelector = 1
  11813.       PlayerSwapModel("player")
  11814.     end
  11815.     repeat
  11816.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11817.         SoundPlay2D("NavUp")
  11818.         frSelect = frSelect - 1
  11819.         if frSelect < 1 then frSelect = size(frs) end
  11820.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11821.         SoundPlay2D("NavUp")
  11822.         frSelect = frSelect + 1
  11823.         if frSelect > size(frs) then frSelect = 1 end
  11824.       end
  11825.       if IsButtonBeingPressed(3,0) then
  11826.         ClothingSetPlayersHair(frs[frSelect])
  11827.         ClothingBuildPlayer()
  11828.       end
  11829.       if frSelect == 1 then
  11830.         TextPrintString("HAIR SELECTOR\n\n>"..frs[frSelect].."<\n"..frs[frSelect + 1].."\n"..frs[frSelect + 2].."",0,1)
  11831.       elseif frSelect == table.getn(frs) then
  11832.         TextPrintString("HAIR SELECTOR\n\n"..frs[frSelect - 2].."\n"..frs[frSelect - 1].."\n>"..frs[frSelect].."<",0,1)
  11833.       elseif not (frSelect == 1 or frSelect == table.getn(frs)) then
  11834.         TextPrintString("HAIR SELECTOR\n\n"..frs[frSelect - 1].."\n>"..frs[frSelect].."<\n"..frs[frSelect + 1].."",0,1)
  11835.       end
  11836.       if showText then
  11837.         TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~LOOK_BACK~ Exiting the menu]\n[~ddown~ Play]",0,2)
  11838.       end
  11839.       Wait(0)
  11840.     until IsButtonBeingReleased(14,0)
  11841.     SoundPlay2D("WrongBtn")
  11842.     if clothSelector == 1 then
  11843.       clothSelector = 0
  11844.       PlayerSwapModel(saveModel) -- Back up model
  11845.       PedSetActionTree(gPlayer,"/Global/"..saveStyle,"Act/Anim/"..saveStyle..".act") -- Back up fighting style
  11846.     end
  11847.     F_AutoTextPrint()
  11848.   end
  11849. end
  11850.  
  11851. function ATZ_Class()
  11852.   if not dead then
  11853.     S_SetupCore()
  11854.     SoundPlay2D("RightBtn")
  11855.     repeat
  11856.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11857.         SoundPlay2D("NavUp")
  11858.         frtSelect = frtSelect - 1
  11859.         if frtSelect < 1 then frtSelect = size(frts) end
  11860.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11861.         SoundPlay2D("NavUp")
  11862.         frtSelect = frtSelect + 1
  11863.         if frtSelect > size(frts) then frtSelect = 1 end
  11864.       end
  11865.       if IsButtonBeingPressed(3,0) then
  11866.         SoundPlay2D("ButtonDown")
  11867.         Wait(100)
  11868.         repeat
  11869.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  11870.             SoundPlay2D("NavUp")
  11871.             vdSelect = vdSelect - 1
  11872.             if vdSelect < 1 then vdSelect = size(vds) end
  11873.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11874.             SoundPlay2D("NavUp")
  11875.             vdSelect = vdSelect + 1
  11876.             if vdSelect > 3 then vdSelect = 1 end
  11877.           end
  11878.           TextPrintString("CLASS SELECTOR\n"..frts[frtSelect][2].."\n\n>"..vds[vdSelect].."<",0,1)
  11879.           if showText then
  11880.             TextPrintString("[~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  11881.           end
  11882.           Wait(0)
  11883.         until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  11884.         if IsButtonBeingPressed(3,0) then
  11885.           if vdSelect == 1 then
  11886.             if type(frts[frtSelect][1]) == "string" then
  11887.               ForceStartMission(frts[frtSelect][1])
  11888.             else
  11889.               ForceStartMissionIndex(frts[frtSelect][1])
  11890.             end
  11891.           elseif vdSelect == 2 then
  11892.             if IsMissionAvailable(frts[frtSelect][1]) then
  11893.             else
  11894.               ForceMissionAvailable(frts[frtSelect][1])
  11895.             end
  11896.           elseif vdSelect == 3 then
  11897.             MissionForceCompleted(frts[frtSelect][1])
  11898.           end
  11899.         elseif IsButtonBeingPressed(14,0) then
  11900.           Wait(100)
  11901.         end
  11902.       end
  11903.       if frtSelect == 1 then
  11904.         TextPrintString("CLASS SELECTOR\n\n>"..frts[frtSelect][2].."<\n"..frts[frtSelect + 1][2].."\n"..frts[frtSelect + 2][2].."",0,1)
  11905.       elseif frtSelect == table.getn(frts) then
  11906.         TextPrintString("CLASS SELECTOR\n\n"..frts[frtSelect - 2][2].."\n"..frts[frtSelect - 1][2].."\n>"..frts[frtSelect][2].."<",0,1)
  11907.       elseif not (frtSelect == table.getn(frts) or frtSelect == 1) then
  11908.         TextPrintString("CLASS SELECTOR\n\n"..frts[frtSelect - 1][2].."\n>"..frts[frtSelect][2].."<\n"..frts[frtSelect + 1][2].."",0,1)
  11909.       end
  11910.       if showText then
  11911.         TextPrintString("[Number: "..frtSelect.."]\n[Navigate: ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  11912.       end
  11913.       Wait(0)
  11914.     until IsButtonBeingReleased(14,0)
  11915.     SoundPlay2D("WrongBtn")
  11916.     F_AutoTextPrint()
  11917.   end
  11918. end
  11919.  
  11920. function ATZ_Grade()
  11921.   if not dead then
  11922.     S_SetupCore()
  11923.     SoundPlay2D("RightBtn")
  11924.     repeat
  11925.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11926.         SoundPlay2D("NavUp")
  11927.         zaSelect = zaSelect - 1
  11928.         if zaSelect < 1 then zaSelect = size(zas) end
  11929.         classGrade = 1
  11930.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11931.         SoundPlay2D("NavUp")
  11932.         zaSelect = zaSelect + 1
  11933.         if zaSelect > size(zas) then zaSelect = 1 end
  11934.         classGrade = 1
  11935.       end
  11936.       if IsButtonBeingPressed(3,0) then
  11937.         SoundPlay2D("ButtonUp")
  11938.         Wait(100)
  11939.         repeat
  11940.           if IsButtonBeingPressed(1,0) or faster_select(1) then
  11941.             classGrade = classGrade + 1
  11942.             if classGrade > 5 then
  11943.               classGrade = 5
  11944.             end
  11945.           elseif IsButtonBeingPressed(0,0) or faster_select(0) then
  11946.             classGrade = classGrade - 1
  11947.             if classGrade < 0 then
  11948.               classGrade = 0
  11949.             end
  11950.           end
  11951.           TextPrintString("GRADE SELECTOR\nClass: "..zas[zaSelect][2].."\n\nGrade: "..classGrade,0,1)
  11952.           if showText then
  11953.             TextPrintString("[~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  11954.           end
  11955.           Wait(0)
  11956.         until IsButtonBeingPressed(3,0)
  11957.         PlayerSetGrade(zas[zaSelect][1],classGrade)
  11958.         classGrade = 1
  11959.       end
  11960.       TextPrintString("GRADE SELECTOR\n\n>"..zaSelect.."."..zas[zaSelect][2].."<",0,1)
  11961.       if showText then
  11962.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  11963.       end
  11964.       Wait(0)
  11965.     until IsButtonBeingReleased(14,0)
  11966.     SoundPlay2D("WrongBtn")
  11967.     F_AutoTextPrint()
  11968.   end
  11969. end
  11970.  
  11971. function ATZ_Ped()
  11972.   if not dead then
  11973.     S_SetupCore()
  11974.     SoundPlay2D("RightBtn")
  11975.     repeat
  11976.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  11977.         SoundPlay2D("NavUp")
  11978.         pedSelect = pedSelect - 1
  11979.         if pedSelect < 1 then pedSelect = size(peds) end
  11980.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11981.         SoundPlay2D("NavUp")
  11982.         pedSelect = pedSelect + 1
  11983.         if pedSelect > size(peds) then pedSelect = 1 end
  11984.       end
  11985.       if IsButtonBeingPressed(3,0) then
  11986.         SoundPlay2D("ButtonUp")
  11987.         Wait(100)
  11988.         repeat
  11989.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  11990.             fgSelect = fgSelect - 1
  11991.             if fgSelect < 1 then fgSelect = size(fgs) end
  11992.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  11993.             fgSelect = fgSelect + 1
  11994.             if fgSelect > size(fgs) then fgSelect = 1 end
  11995.           end
  11996.           TextPrintString("PED SELECTOR\n\nPed Is Your:\n"..fgs[fgSelect].name,0,1)
  11997.           if showText then
  11998.             TextPrintString("[~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  11999.           end
  12000.           Wait(0)
  12001.         until IsButtonBeingPressed(3,0)
  12002.         x,y,z = PlayerGetPosXYZ()
  12003.         create_custom_ped(x,y,z)
  12004.       elseif IsButtonBeingPressed(3,0) and createPed == 18 then
  12005.         TextPrintString("MAXIMUM OF PED COUNT",2,1)
  12006.         Wait(2000)
  12007.       elseif IsButtonBeingPressed(2,0) then
  12008.         if PedIsValid(fPlayer2) then
  12009.           PedDelete(fPlayer2)
  12010.         end
  12011.         if PedIsValid(fPlayer3) then
  12012.           PedDelete(fPlayer3)
  12013.         end
  12014.         if PedIsValid(fPlayer4) then
  12015.           PedDelete(fPlayer4)
  12016.         end
  12017.         if PedIsValid(fPlayer5) then
  12018.           PedDelete(fPlayer5)
  12019.         end
  12020.         if PedIsValid(fPlayer6) then
  12021.           PedDelete(fPlayer6)
  12022.         end
  12023.         if PedIsValid(fPlayer7) then
  12024.           PedDelete(fPlayer7)
  12025.         end
  12026.         if PedIsValid(fPlayer8) then
  12027.           PedDelete(fPlayer8)
  12028.         end
  12029.         if PedIsValid(fPlayer9) then
  12030.           PedDelete(fPlayer9)
  12031.         end
  12032.         if PedIsValid(fPlayer10) then
  12033.           PedDelete(fPlayer10)
  12034.         end
  12035.         if PedIsValid(fPlayer11) then
  12036.           PedDelete(fPlayer11)
  12037.         end
  12038.         if PedIsValid(fPlayer12) then
  12039.           PedDelete(fPlayer12)
  12040.         end
  12041.         if PedIsValid(fPlayer13) then
  12042.           PedDelete(fPlayer13)
  12043.         end
  12044.         if PedIsValid(fPlayer14) then
  12045.           PedDelete(fPlayer14)
  12046.         end
  12047.         if PedIsValid(fPlayer15) then
  12048.           PedDelete(fPlayer15)
  12049.         end
  12050.         if PedIsValid(fPlayer16) then
  12051.           PedDelete(fPlayer16)
  12052.         end
  12053.         if PedIsValid(fPlayer17) then
  12054.           PedDelete(fPlayer17)
  12055.         end
  12056.         if PedIsValid(fPlayer18) then
  12057.           PedDelete(fPlayer18)
  12058.         end
  12059.         if PedIsValid(fPlayer19) then
  12060.           PedDelete(fPlayer19)
  12061.         end
  12062.         if PedIsValid(fPlayer20) then
  12063.           PedDelete(fPlayer20)
  12064.         end
  12065.         if PedIsValid(fPlayer21) then
  12066.           PedDelete(fPlayer21)
  12067.         end
  12068.         createPed = 0
  12069.       end
  12070.       if pedSelect == 1 then
  12071.         TextPrintString("PED SELECTOR\n\n:"..peds[pedSelect].name..":\n"..peds[pedSelect + 1].name.."\n"..peds[pedSelect + 2].name.."",1,1)
  12072.       elseif pedSelect == table.getn(peds) then
  12073.         TextPrintString("PED SELECTOR\n\n"..peds[pedSelect - 2].name.."\n"..peds[pedSelect - 1].name.."\n:"..peds[pedSelect].name..":",1,1)
  12074.       elseif not (pedSelect == 1 or pedSelect == table.getn(peds)) then
  12075.         TextPrintString("PED SELECTOR\n\n"..peds[pedSelect - 1].name.."\n:"..peds[pedSelect].name..":\n"..peds[pedSelect + 1].name.."",1,1)
  12076.       end
  12077.       if showText then
  12078.         TextPrintString("[Number: "..pedSelect.."]\n[Navigate: ~dleft~ or ~dright~|Exit ~LOOK_BACK~]\n[Delete All ~dup~|~ddown~ Select]",1,2)
  12079.       end
  12080.       Wait(0)
  12081.     until IsButtonBeingReleased(14,0)
  12082.     SoundPlay2D("WrongBtn")
  12083.     F_AutoTextPrint()
  12084.   end
  12085. end
  12086.  
  12087. function ATZ_Effect()
  12088.   if not dead then
  12089.     S_SetupCore()
  12090.     SoundPlay2D("RightBtn")
  12091.     repeat
  12092.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12093.         SoundPlay2D("NavUp")
  12094.         gySelect = gySelect - 1
  12095.         if gySelect < 1 then gySelect = size(gys) end
  12096.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12097.         SoundPlay2D("NavUp")
  12098.         gySelect = gySelect + 1
  12099.         if gySelect > size(gys) then gySelect = 1 end
  12100.       end
  12101.       if IsButtonBeingPressed(3,0) then
  12102.         local x,y,z = PlayerGetPosXYZ()
  12103.         na = EffectCreate(gys[gySelect][1],x - 2,y - 2,z)
  12104.         table.insert(effect,na)
  12105.       elseif IsButtonBeingPressed(2,0) then
  12106.         for i = 1,table.getn(effect) do
  12107.           EffectKill(effect[i])
  12108.           while IsButtonBeingPressed(-1,0) do
  12109.             Wait(0)
  12110.           end
  12111.           table.remove(effect,i)
  12112.         end
  12113.       end
  12114.       if gySelect == 1 then
  12115.         TextPrintString("EFFECT SELECTOR\n\n:"..gys[gySelect][2]..":\n"..gys[gySelect + 1][2].."\n"..gys[gySelect + 2][2].."",1,1)
  12116.       elseif gySelect == table.getn(gys) then
  12117.         TextPrintString("EFFECT SELECTOR\n\n"..gys[gySelect - 2][2].."\n"..gys[gySelect - 1][2].."\n:"..gys[gySelect][2]..":",1,1)
  12118.       elseif not (gySelect == 1 or gySelect == table.getn(gys)) then
  12119.         TextPrintString("EFFECT SELECTOR\n\n"..gys[gySelect - 1][2].."\n:"..gys[gySelect][2]..":\n"..gys[gySelect + 1][2].."",1,1)
  12120.       end
  12121.       if showText then
  12122.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  12123.       end
  12124.       Wait(0)
  12125.     until IsButtonBeingReleased(14,0)
  12126.     SoundPlay2D("WrongBtn")
  12127.     F_AutoTextPrint()
  12128.   end
  12129. end
  12130.  
  12131. function ATZ_Anim()
  12132.   if not dead then
  12133.     S_SetupAnim()
  12134.     S_SetupAnimMenu()
  12135.     SoundPlay2D("RightBtn")
  12136.     repeat
  12137.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12138.         SoundPlay2D("NavUp")
  12139.         bnSelect = bnSelect - 1
  12140.         if bnSelect < 1 then bnSelect = size(bns) end
  12141.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12142.         SoundPlay2D("NavUp")
  12143.         bnSelect = bnSelect + 1
  12144.         if bnSelect > size(bns) then bnSelect = 1 end
  12145.       end
  12146.       if IsButtonBeingPressed(3,0) then
  12147.         SoundPlay2D("ButtonUp")
  12148.         WaitUntil(3,0)
  12149.         repeat
  12150.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  12151.             SoundPlay2D("NavUp")
  12152.             sivs = sivs - 1
  12153.             if sivs < 1 then sivs = size(siv) end
  12154.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12155.             SoundPlay2D("NavUp")
  12156.             sivs = sivs + 1
  12157.             if sivs > size(siv) then sivs = 1 end
  12158.           end
  12159.           TextPrintString("ANIM SELECTOR\n\n"..siv[sivs],0,1)
  12160.           if showText then
  12161.             TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  12162.           end
  12163.           Wait(0)
  12164.         until IsButtonBeingPressed(3,0)
  12165.         SoundPlay2D("ButtonUp")
  12166.         if sivs == 1 then
  12167.           if PedIsValid(PedGetTargetPed(gPlayer)) then
  12168.             PedSetActionNode(PedGetTargetPed(gPlayer),bns[bnSelect][2],bns[bnSelect][3])
  12169.           else
  12170.             PedSetActionNode(gPlayer,bns[bnSelect][2],bns[bnSelect][3])
  12171.           end
  12172.         elseif sivs == 2 then
  12173.           for i,p in {PedFindInAreaXYZ(0,0,0,999999)} do
  12174.             if PedIsValid(ped) and ped ~= gPlayer then
  12175.               PedSetActionNode(p,bns[bnSelect][2],bns[bnSelect][3])
  12176.             end
  12177.           end
  12178.         elseif sivs == 3 then
  12179.           WaitUntil(3,0)
  12180.           local radius = 3
  12181.           SoundPlay2D("ButtonUp")
  12182.           repeat
  12183.             if IsButtonBeingPressed(1,0) then
  12184.               radius = radius + 1
  12185.             elseif IsButtonBeingPressed(0,0) then
  12186.               radius = radius - 1
  12187.               if radius < 1 then radius = 1 end
  12188.             end
  12189.             TextPrintString("Radius: "..radius,0,1)
  12190.             Wait(0)
  12191.           until br(3,0)
  12192.           table.insert(nearPlayerEffect,{bns[bnSelect][2],bns[bnSelect][3],radius})
  12193.           NearPlayer = true
  12194.           TextPrintString("ANIM SELECTOR\n\nAdding range effect..",3,1)
  12195.           Wait(math.random(500,3000))
  12196.           SoundPlay2D("ButtonUp")
  12197.         end
  12198.       end
  12199.       if IsButtonBeingPressed(2,0) then
  12200.         for o = 1,table.getn(nearPlayerEffect) do
  12201.           table.remove(nearPlayerEffect,o)
  12202.         end
  12203.         TextPrintString("ANIM SELECTOR\n\nDeleting range effect..",3,1)
  12204.         NearPlayer = false
  12205.         Wait(math.random(500,3000))
  12206.       end
  12207.       if bnSelect == 1 then
  12208.         TextPrintString("ANIM SELECTOR\n\n:"..bns[bnSelect][1]..":\n"..bns[bnSelect + 1][1].."\n"..bns[bnSelect + 2][1].."",1,1)
  12209.       elseif bnSelect == table.getn(bns) then
  12210.         TextPrintString("ANIM SELECTOR\n\n"..bns[bnSelect - 2][1].."\n"..bns[bnSelect - 1][1].."\n:"..bns[bnSelect][1]..":",1,1)
  12211.       elseif not (bnSelect == 1 or bnSelect == table.getn(bns)) then
  12212.         TextPrintString("ANIM SELECTOR\n\n"..bns[bnSelect - 1][1].."\n:"..bns[bnSelect][1]..":\n"..bns[bnSelect + 1][1].."",1,1)
  12213.       end
  12214.       if showText then
  12215.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  12216.       end
  12217.       Wait(0)
  12218.     until IsButtonBeingReleased(14,0)
  12219.     SoundPlay2D("WrongBtn")
  12220.     F_AutoTextPrint()
  12221.   end
  12222. end
  12223.  
  12224. function ATZ_Strafe()
  12225.   if not dead then
  12226.     S_SetupStrafe()
  12227.     SoundPlay2D("RightBtn")
  12228.     repeat
  12229.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12230.         SoundPlay2D("NavUp")
  12231.         st = st - 1
  12232.         if st < 1 then st = size(sts) end
  12233.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12234.         SoundPlay2D("NavUp")
  12235.         st = st + 1
  12236.         if st > size(sts) then st = 1 end
  12237.       end
  12238.       if IsButtonBeingPressed(3,0) then
  12239.         SoundPlay2D("ButtonUp")
  12240.         Wait(100)
  12241.         local selectFinished = false
  12242.         if not (GrappleAnim() or MountAttack()) then
  12243.           StrafeSelection()
  12244.         elseif GrappleAnim() then
  12245.           grabAnim,grabAct = sts[st][2],sts[st][3]
  12246.           TextPrintString("STRAFE SELECTOR\n\nAdding to Grapple moves",3,1)
  12247.           Wait(math.random(500,3000))
  12248.         elseif MountAttack() then
  12249.           mountAnim,mountAct = sts[st][2],sts[st][3]
  12250.           TextPrintString("STRAFE SELECTOR\n\nAdding to Mount attack",3,1)
  12251.           Wait(math.random(500,3000))
  12252.         end
  12253.       end
  12254.       if IsButtonBeingPressed(2,0) then
  12255.         for slb = 1,table.getn(strafe) do
  12256.           table.remove(strafe,slb)
  12257.         end
  12258.         for sld = 1,table.getn(strafeAnim) do
  12259.           table.remove(strafeAnim,sld)
  12260.         end
  12261.         grabAnim,grabAct = "nil","nil"
  12262.         mountAnim,mountAct = "nil","nil"
  12263.         table.insert(strafe,{anim = "nil",act = "nil",button = nil})
  12264.         table.insert(strafeAnim,{anim = "nil",act = "nil",playing = "nil",mode = "replace",button = "nil",id = "nil"})
  12265.         TextPrintString("STRAFE SELECTOR\n\nDeleting stored anim",3,1)
  12266.         Wait(math.random(500,3000))
  12267.       end
  12268.       if st == 1 then
  12269.         TextPrintString("STRAFE SELECTOR\n\n:"..sts[st][1]..":\n"..sts[st + 1][1].."\n"..sts[st + 2][1].."",1,1)
  12270.       elseif st == table.getn(sts) then
  12271.         TextPrintString("STRAFE SELECTOR\n\n"..sts[st - 2][1].."\n"..sts[st - 1][1].."\n:"..sts[st][1]..":",1,1)
  12272.       elseif not (st == 1 or st == table.getn(sts)) then
  12273.         TextPrintString("STRAFE SELECTOR\n\n"..sts[st - 1][1].."\n:"..sts[st][1]..":\n"..sts[st + 1][1].."",1,1)
  12274.       end
  12275.       if showText then
  12276.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~dup~ Clear|~ddown~ Select]",0,2)
  12277.       end
  12278.       Wait(0)
  12279.     until IsButtonBeingReleased(14,0)
  12280.     SoundPlay2D("WrongBtn")
  12281.     F_AutoTextPrint()
  12282.   end
  12283. end
  12284.  
  12285. function ATZ_Speech()
  12286.   if not dead then
  12287.     S_SetupSpeech()
  12288.     SoundPlay2D("RightBtn")
  12289.     repeat
  12290.     if IsButtonBeingPressed(0,0) then
  12291.       SoundPlay2D("NavUp")
  12292.       speechSelect = speechSelect - 1
  12293.       if speechSelect < 1 then speechSelect = size(speech) end
  12294.     elseif IsButtonBeingPressed(1,0) then
  12295.       SoundPlay2D("NavUp")
  12296.       speechSelect = speechSelect + 1
  12297.       if speechSelect > size(speech) then speechSelect = 1 end
  12298.     elseif IsButtonPressed(0,0) and IsButtonPressed(7,0) then
  12299.       SoundPlay2D("ButtonUp")
  12300.       speechSelect = speechSelect - 1
  12301.       if speechSelect < 1 then speechSelect = size(speech) end
  12302.     elseif IsButtonPressed(1,0) and IsButtonPressed(7,0) then
  12303.       SoundPlay2D("ButtonDown")
  12304.       speechSelect = speechSelect + 1
  12305.       if speechSelect > size(speech) then speechSelect = 1 end
  12306.     elseif IsButtonBeingPressed(3,0) then
  12307.       local ped = GetTarget()
  12308.       SoundStopCurrentSpeechEvent(ped)
  12309.       SoundPlayAmbientSpeechEvent(ped,speech[speechSelect])
  12310.     end
  12311.       if speechSelect == 1 then
  12312.         TextPrintString("SPEECH SELECTOR\n\n:"..speech[speechSelect]..":\n"..speech[speechSelect + 1].."\n"..speech[speechSelect + 2].."",1,1)
  12313.       elseif speechSelect == table.getn(speech) then
  12314.         TextPrintString("SPEECH SELECTOR\n\n"..speech[speechSelect - 2].."\n"..speech[speechSelect - 1].."\n:"..speech[speechSelect]..":",1,1)
  12315.       elseif not (speechSelect == 1 or speechSelect == table.getn(speech)) then
  12316.         TextPrintString("SPEECH SELECTOR\n\n"..speech[speechSelect - 1].."\n:"..speech[speechSelect]..":\n"..speech[speechSelect + 1].."",1,1)
  12317.       end
  12318.       if showText then
  12319.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[SetOn: "..GetName().."]\n[~ddown~ Select]",0,2)
  12320.       end
  12321.       Wait(0)
  12322.     until IsButtonBeingReleased(14,0)
  12323.     SoundPlay2D("WrongBtn")
  12324.     F_AutoTextPrint()
  12325.   end
  12326. end
  12327.  
  12328. function ATZ_Cuts()
  12329.   if not dead then
  12330.     S_SetupCutscene()
  12331.     SoundPlay2D("RightBtn")
  12332.     repeat
  12333.     if IsButtonBeingPressed(0,0) then
  12334.       SoundPlay2D("NavUp")
  12335.       cut = cut - 1
  12336.       if cut < 1 then cut = table.getn(cuts) end
  12337.     elseif IsButtonBeingPressed(1,0) then
  12338.       SoundPlay2D("NavUp")
  12339.       cut = cut + 1
  12340.       if cut > table.getn(cuts) then cut = 1 end
  12341.     elseif IsButtonPressed(0,0) and IsButtonPressed(7,0) then
  12342.       SoundPlay2D("ButtonDown")
  12343.       cut = cut - 1
  12344.       if cut < 1 then cut = table.getn(cuts) end
  12345.     elseif IsButtonPressed(1,0) and IsButtonPressed(7,0) then
  12346.       SoundPlay2D("ButtonUp")
  12347.       cut = cut + 1
  12348.       if cut > table.getn(cuts) then cut = 1 end
  12349.     elseif IsButtonBeingPressed(3,0) then
  12350.       PlayCutsceneWithLoad(cuts[cut])
  12351.     end
  12352.       if cut == 1 then
  12353.         TextPrintString("CUTSCENE SELECTOR\n\n:"..cuts[cut]..":\n"..cuts[cut + 1].."\n"..cuts[cut + 2].."",1,1)
  12354.       elseif cut == table.getn(cuts) then
  12355.         TextPrintString("CUTSCENE SELECTOR\n\n"..cuts[cut - 2].."\n"..cuts[cut - 1].."\n:"..cuts[cut]..":",1,1)
  12356.       elseif not (cut == 1 or cut == table.getn(cuts)) then
  12357.         TextPrintString("CUTSCENE SELECTOR\n\n"..cuts[cut - 1].."\n:"..cuts[cut]..":\n"..cuts[cut + 1].."",1,1)
  12358.       end
  12359.       if showText then
  12360.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  12361.       end
  12362.       Wait(0)
  12363.     until IsButtonBeingReleased(14,0)
  12364.     SoundPlay2D("WrongBtn")
  12365.     F_AutoTextPrint()
  12366.   end
  12367. end
  12368.  
  12369. function ATZ_Items()
  12370.   if not dead then
  12371.     S_SetupItem()
  12372.     SoundPlay2D("RightBtn")
  12373.     repeat
  12374.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12375.         SoundPlay2D("NavUp")
  12376.         it = it - 1
  12377.         if it < 1 then it = table.getn(its) end
  12378.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12379.         SoundPlay2D("NavUp")
  12380.         it = it + 1
  12381.         if it > table.getn(its) then it = 1 end
  12382.       end
  12383.       if IsButtonBeingPressed(3,0) then
  12384.         ItemSetCurrentNum(its[it][1],ItemGetCurrentNum(its[it][1]) + 1)
  12385.         print("***Ready Use***")
  12386.       end
  12387.       if it == 1 then
  12388.         TextPrintString("ITEM SELECTOR\n\n:"..its[it][2]..":\n"..its[it + 1][2].."\n"..its[it + 2][2].."",1,1)
  12389.       elseif it == table.getn(its) then
  12390.         TextPrintString("ITEM SELECTOR\n\n"..its[it - 2][2].."\n"..its[it - 1][2].."\n:"..its[it][2]..":",1,1)
  12391.       elseif not (it == 1 or it == table.getn(its)) then
  12392.         TextPrintString("ITEM SELECTOR\n\n"..its[it - 1][2].."\n:"..its[it][2]..":\n"..its[it + 1][2].."",1,1)
  12393.       end
  12394.       if showText then
  12395.         TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  12396.       end
  12397.       Wait(0)
  12398.     until IsButtonBeingReleased(14,0)
  12399.     SoundPlay2D("WrongBtn")
  12400.     F_AutoTextPrint()
  12401.   end
  12402. end
  12403.  
  12404. function ATZ_Factions()
  12405.   if not dead then
  12406.     fac = {
  12407.       "1.Prefects",
  12408.       "2.Nerds",
  12409.       "3.Jocks",
  12410.       "4.Drop out",
  12411.       "5.Greasers",
  12412.       "6.Prep",
  12413.       "7.Students",
  12414.       "8.Police",
  12415.       "9.Teacher",
  12416.       "10.Adult",
  12417.       "11.Shop keeper",
  12418.       "12.Bullies",
  12419.       "13.Dogs",
  12420.       "14.Player",
  12421.     }
  12422.     SoundPlay2D("RightBtn")
  12423.     repeat
  12424.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12425.         SoundPlay2D("NavUp")
  12426.         fas = fas - 1
  12427.         if fas < 1 then fas = size(fac) end
  12428.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12429.         SoundPlay2D("NavUp")
  12430.         fas = fas + 1
  12431.         if fas > size(fac) then fas = 1 end
  12432.       elseif IsButtonBeingPressed(3,0) then
  12433.         SoundPlay2D("ButtonUp")
  12434.         repeat
  12435.           if IsButtonBeingPressed(0,0) or faster_select(0) then
  12436.             SoundPlay2D("NavUp")
  12437.             fors = fors - 1
  12438.             if fors < 1 then fors = size(to) end
  12439.           elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12440.             SoundPlay2D("NavUp")
  12441.             fors = fors + 1
  12442.             if fors > size(to) then fors = 1 end
  12443.           end
  12444.           TextPrintString("FACTION SELECTOR\n["..fac[fas].."]\n\nSet to: "..to[fors],0,1)
  12445.           TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  12446.           Wait(0)
  12447.         until IsButtonBeingPressed(3,0)
  12448.         SoundPlay2D("ButtonUp")
  12449.         if fors == 1 then
  12450.           PedSetFaction(gPlayer,fas - 1)
  12451.         elseif fors == 2 then
  12452.           local ped = GetTarget()
  12453.           PedSetFaction(ped,fas - 1)
  12454.         elseif fors == 3 then
  12455.           for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  12456.             if PedIsValid(ped) and ped ~= gPlayer then
  12457.               PedSetFaction(ped,fas - 1)
  12458.             end
  12459.           end
  12460.         end
  12461.       end
  12462.       if fas == 1 then
  12463.         TextPrintString("FACTION SELECTOR\n\n>"..fac[fas].."<\n"..fac[fas + 1].."\n"..fac[fas + 2].."",0,1)
  12464.       elseif fas == table.getn(fac) then
  12465.         TextPrintString("FACTION SELECTOR\n\n"..fac[fas - 2].."\n"..fac[fas - 1].."\n>"..fac[fas].."<",0,1)
  12466.       elseif not (fas == table.getn(fac) or fas == 1) then
  12467.         TextPrintString("FACTION SELECTOR\n\n"..fac[fas - 1].."\n>"..fac[fas].."<\n"..fac[fas + 1].."",0,1)
  12468.       end
  12469.       if showText then
  12470.         TextPrintString("[Current Faction: "..PedGetFaction(gPlayer).."]\n[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  12471.       end
  12472.       Wait(0)
  12473.     until IsButtonBeingReleased(14,0)
  12474.     SoundPlay2D("WrongBtn")
  12475.   end
  12476. end
  12477.  
  12478. function FactionEditor()
  12479.   Wait(100)
  12480.   SoundPlay2D("RightBtn")
  12481.   fac = {
  12482.     "1.Prefects",
  12483.     "2.Nerds",
  12484.     "3.Jocks",
  12485.     "4.Drop out",
  12486.     "5.Greasers",
  12487.     "6.Prep",
  12488.     "7.Students",
  12489.     "8.Police",
  12490.     "9.Teacher",
  12491.     "10.Adult",
  12492.     "11.Shop keeper",
  12493.     "12.Bullies",
  12494.     "13.Dogs",
  12495.   }
  12496.   S_SetupPedFinder()
  12497.   local mse = 1
  12498.   local f = 1
  12499.   local showText = true
  12500.   repeat
  12501.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  12502.       SoundPlay2D("NavUp")
  12503.       f = f - 1
  12504.       if f < 1 then f = table.getn(fac) end
  12505.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12506.       SoundPlay2D("NavUp")
  12507.       f = f + 1
  12508.       if f > table.getn(fac) then f = 1 end
  12509.     elseif IsButtonBeingPressed(3,0) then
  12510.       SoundPlay2D("ButtonUp")
  12511.       Wait(100)
  12512.       local menuTable = {
  12513.         "1.Ped Model",
  12514.         "2.Fighting Style",
  12515.       }
  12516.       local menuTableSelect = 1
  12517.       repeat
  12518.         if ibbp(0,0) then
  12519.           menuTableSelect = 1
  12520.         elseif ibbp(1,0) then
  12521.           menuTableSelect = 2
  12522.         end
  12523.         if ibbp(3,0) then
  12524.           SoundPlay2D("ButtonUp")
  12525.           if menuTableSelect == 1 then
  12526.             if f == 3 or f == 2 or f == 4 or f == 5 or f == 6 or f == 12 then
  12527.               local facModel = {
  12528.                 {"Bullies","DOlead_Russell","GN_Bully03","GN_Bully02","GN_Bully01","GN_Bully04","GN_Bully05","GN_Bully06","nil","nil","nil","nil"},
  12529.                 {"Nerds","NDLead_Earnest","NDH2a_Cornelius","NDH3_Bucky","NDGirl_Beatrice","ND2nd_Melvin ","NDH1_Fatty","NDH1a_Algernon","nil","nil","nil","nil"},
  12530.                 {"Greasers","GRlead_Johnny","GRH2A_Hal","GRH1_Lefty","GRH1a_Vance","GRH3a_Ricky","GRH2_Norton","GRGirl_Lola","nil","nil","nil","nil"},
  12531.                 {"Prepies","PRlead_Darby","PRH2a_Chad","PRGirl_Pinky","PRH1a_Tad","PRH3a_Parker","PRH2_Bryce","PR2nd_Bif","nil","nil","nil","nil"},
  12532.                 {"Jocks","JKlead_Ted","JK2nd_Juri","JKH1_Damon","JKH3_Casey","JKH2a_Luis","JKGirl_Mandy","JKH1a_Kirby","nil","nil","nil","nil"},
  12533.                 {"Dropouts","DOLead_Edgar","DOH2_Jerry","DOH1a_Otto","DOGirl_Zoe","DOH1_Duncan","DOH3_Henry","DOH3a_Gurney","nil","nil","nil","nil"},
  12534.               }
  12535.               local sop = 1
  12536.               Wait(100)
  12537.               repeat
  12538.                 if ibbp(0,0) or faster_select(0) then
  12539.                   sop = sop - 1
  12540.                   if sop < 1 then sop = table.getn(facModel) end
  12541.                 elseif ibbp(1,0) or faster_select(1) then
  12542.                   sop = sop + 1
  12543.                   if sop > table.getn(facModel) then sop = 1 end
  12544.                 end
  12545.                 if ibbp(3,0) then
  12546.                   SoundPlay2D("ButtonUp")
  12547.                   local v = facModel[sop]
  12548.                   table.insert(DetectFaction,{faction = f - 1})
  12549.                   table.insert(FactionModel,{facModel[sop][11],facModel[sop][2],facModel[sop][3],facModel[sop][4],facModel[sop][5],facModel[sop][6],facModel[sop][7],facModel[sop][8],facModel[sop][9],facModel[sop][10]})
  12550.                   TextPrintString("FACTION EDITOR\n\nChanging Model",3,1)
  12551.                   Wait(math.random(500,3000))
  12552.                 end
  12553.                 TextPrintString("FACTION EDITOR\n"..fac[f].."\n"..menuTable[menuTableSelect].."\n\n> "..facModel[sop][1].." <",0,1)
  12554.                 Wait(0)
  12555.               until ibbp(14,0)
  12556.               SoundPlay2D("ButtonUp")
  12557.               Wait(100)
  12558.             else
  12559.               TextPrintString("Sorry, this menu only work to Bullies, Nerds, Greasers, Prepies, Jocks, and Dropouts faction",3,1)
  12560.               Wait(3000)
  12561.             end
  12562.           else
  12563.             local fs = {
  12564.               "DEFAULT",
  12565.               "DO_Edgar",
  12566.               "DO_Striker_A",
  12567.               "Russell_102",
  12568.               "B_Striker_A",
  12569.               "BOSS_Darby",
  12570.               "P_Striker_A",
  12571.               "G_Johnny",
  12572.               "G_Striker_A",
  12573.               "J_Ted",
  12574.               "J_Striker_A",
  12575.               "N_Earnest",
  12576.               "N_Striker_A",
  12577.               "Crazy_Basic",
  12578.               "GS_Male_A",
  12579.               "Authority",
  12580.               "Nemesis",
  12581.               "GS_Female_A",
  12582.               "Hobo_Blocker",
  12583.             }
  12584.             local FSS = 1
  12585.             Wait(100)
  12586.             repeat
  12587.               if ibbp(0,0) or faster_select(0) then
  12588.                 FSS = FSS - 1
  12589.                 if FSS < 1 then FSS = table.getn(fs) end
  12590.               elseif ibbp(1,0) or faster_select(1) then
  12591.                 FSS = FSS + 1
  12592.                 if FSS > table.getn(fs) then FSS = 1 end
  12593.               end
  12594.               if ibbp(3,0) then
  12595.                 SoundPlay2D("ButtonUp")
  12596.                 table.insert(replaceStyle,{faction = f - 1,style = fs[FSS]})
  12597.                 TextPrintString("FACTION EDITOR\n\nChanging Style",3,1)
  12598.                 --Wait(math.random(500,3000))
  12599.               end
  12600.               TextPrintString("FACTION EDITOR\n"..fac[f].."\n"..menuTable[menuTableSelect].."\n\n> "..fs[FSS].." <",0,1)
  12601.               Wait(0)
  12602.             until ibbp(14,0)
  12603.             SoundPlay2D("ButtonUp")
  12604.             Wait(100)
  12605.           end
  12606.         end
  12607.         TextPrintString("FACTION EDITOR\n"..fac[f].."\n\n> "..menuTable[menuTableSelect].." <",0,1)
  12608.         Wait(0)
  12609.       until ibbp(14,0)
  12610.       SoundPlay2D("ButtonUp")
  12611.       Wait(100)
  12612.     elseif ibbp(2,0) then
  12613.       for n = 1,table.getn(replaceStyle) do
  12614.         table.remove(replaceStyle,n)
  12615.       end
  12616.       for n = 1,table.getn(FactionModel) do
  12617.         table.remove(FactionModel,n)
  12618.       end
  12619.       table.insert(replaceStyle,{faction = nil,style = "nil"})
  12620.       TextPrintString("FACTION EDITOR\n\nDeleting storage..",3,1)
  12621.       Wait(math.random(500,3000))
  12622.     end
  12623.     TextPrintString("FACTION EDITOR\n\n> "..fac[f].." <",1,1)
  12624.     if showText then
  12625.       TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  12626.     end
  12627.     Wait(0)
  12628.   until IsButtonBeingReleased(14,0)
  12629.   SoundPlay2D("WrongBtn")
  12630.   Wait(100)
  12631. end
  12632.  
  12633. function MovementStyle()
  12634.   S_SetupMovement()
  12635.   if not dead then
  12636.     repeat
  12637.       if IsButtonBeingPressed(0,0) or faster_select(0) then
  12638.         SoundPlay2D("NavUp")
  12639.         ms = ms - 1
  12640.         if ms < 1 then ms = table.getn(smo) end
  12641.       elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12642.         SoundPlay2D("NavUp")
  12643.         ms = ms + 1
  12644.         if ms > table.getn(smo) then ms = 1 end
  12645.       elseif IsButtonBeingPressed(3,0) then
  12646.         SoundPlay2D("ButtonUp")
  12647.         --PedSetActionTree(gPlayer,"/Global/Player","Act/Player.act")
  12648.         --PedSetActionTree(gPlayer,"/Global/"..smo[ms],"Act/Anim/"..smo[ms]..".act")
  12649.         --styleSelect = 1
  12650.         --saveStyle = "Player"
  12651.         movement = smo[ms]
  12652.       end
  12653.       if ms == 1 then
  12654.         TextPrintString("STYLE SELECTOR\n2.Movement Style\n\n>"..smo[ms].."<\n"..smo[ms + 1].."\n"..smo[ms + 2].."",1,1)
  12655.       elseif ms == table.getn(smo) then
  12656.         TextPrintString("STYLE SELECTOR\n2.Movement Style\n\n"..smo[ms - 2].."\n"..smo[ms - 1].."\n>"..smo[ms].."<",1,1)
  12657.       elseif not (ms == 1 or ms == table.getn(smo)) then
  12658.         TextPrintString("STYLE SELECTOR\n2.Movement Style\n\n"..smo[ms - 1].."\n>"..smo[ms].."<\n"..smo[ms + 1].."",1,1)
  12659.       end
  12660.       TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Exit ~LOOK_BACK~|~ddown~ Select]",0,2)
  12661.       Wait(0)
  12662.     until IsButtonBeingReleased(14,0)
  12663.     SoundPlay2D("WrongBtn")
  12664.     Wait(100)
  12665.   end
  12666. end
  12667.  
  12668. function VehicleFinder() -- Un-used functions [BETA]
  12669.   Wait(100)
  12670.   SoundPlay2D("RightBtn")
  12671.   S_SetupVehicleFinder()
  12672.   repeat
  12673.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  12674.       vGrab = vGrab - 1
  12675.       if vGrab < 0 then vGrab = 0 end
  12676.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12677.       vGrab = vGrab + 1
  12678.       if vGrab > table.getn(vfs) then vGrab = 1 end
  12679.     elseif IsButtonBeingPressed(3,0) then
  12680.       local vehicle = VehicleFindInAreaXYZ(0,0,0,999999)
  12681.       if type(vehicle) == "table" then
  12682.         if VehicleIsValid(vehicle) and VehicleIsModel(vehicle,vfs[vGrab][1]) then
  12683.           local x,y,z = PlayerGetPosXYZ()
  12684.           VehicleSetPosXYZ(vehicle,x + 2,y + 2,z)
  12685.         end
  12686.       else
  12687.         if VehicleIsValid(vehicle) and VehicleIsModel(vehicle,vfs[vGrab][1]) then
  12688.           local x,y,z = PlayerGetPosXYZ()
  12689.           VehicleSetPosXYZ(vehicle,x + 2,y + 2,z)
  12690.         end
  12691.       end
  12692.     end
  12693.     TextPrintString("Vehicle Finder\n\nName: "..vfs[vGrab][2],0,1)
  12694.     if showText then
  12695.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Find]",0,2)
  12696.     end
  12697.     Wait(0)
  12698.   until IsButtonBeingReleased(14,0)
  12699.   SoundPlay2D("WrongBtn")
  12700. end
  12701.  
  12702. function StrafeSelection()
  12703.   StrafeSelectionMenu()
  12704.   SoundPlay2D("RightBtn")
  12705.   repeat
  12706.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  12707.       ssms = ssms - 1
  12708.       if ssms < 1 then ssms = 6 end
  12709.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  12710.       ssms = ssms + 1
  12711.       if ssms > 6 then ssms = 1 end
  12712.     end
  12713.     if IsButtonBeingPressed(3,0) then
  12714.       if ssms == 1 then
  12715.         STRAFE_AutoBind()
  12716.       elseif ssms == 2 then
  12717.         --STRAFE_SELECT_AnimDetection()
  12718.         STRAFE_AnimDetection()
  12719.       elseif ssms == 3 then
  12720.         STRAFE_AnimDetectionWithButton()
  12721.       elseif ssms == 4 then
  12722.         STRAFE_AnimDetectionAfter()
  12723.         --TextPrintString("CURRENTLY IN WORKING",3,1)
  12724.         --Wait(3000)
  12725.       elseif ssms == 5 then
  12726.         STRAFE_AnimDetectionWithButtonAfter()
  12727.       else
  12728.         STRAFE_ByFrequency()
  12729.       end
  12730.     end
  12731.     TextPrintString("STRAFE SELECTOR\n\n"..smn[ssms],0,1)
  12732.     Wait(0)
  12733.   until IsButtonBeingPressed(14,0)
  12734.   SoundPlay2D("WrongBtn")
  12735.   WaitUntil(14,0)
  12736. end
  12737.  
  12738. function STRAFE_SELECT_AnimDetection()
  12739.   SoundPlay2D("RightBtn")
  12740.   Wait(200)
  12741.   STSE = {
  12742.     "Replacing anim",
  12743.     "After anim",
  12744.   }
  12745.   repeat
  12746.     if IsButtonBeingPressed(1,0) then
  12747.       stses = 2
  12748.     elseif IsButtonBeingPressed(0,0) then
  12749.       stses = 1
  12750.     end
  12751.     TextPrintString("STRAFE SELECTOR\nAnim Detection\n\n> "..STSE[stses].." <",0,1)
  12752.     Wait(0)
  12753.   until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  12754.   if IsButtonBeingPressed(3,0) then
  12755.     if stses == 1 then
  12756.       method = "replace"
  12757.     else
  12758.       method = "after"
  12759.     end
  12760.     STRAFE_AnimDetection()
  12761.   end
  12762.   if IsButtonBeingPressed(14,0) then
  12763.     Wait(100)
  12764.   end
  12765. end
  12766.  
  12767. function STRAFE_AutoBind()
  12768.   SoundPlay2D("RightBtn")
  12769.   Wait(200)
  12770.   repeat
  12771.     for b = 0,15 do
  12772.       if IsButtonBeingPressed(b,0) then
  12773.         table.insert(strafe,{anim = sts[st][2],act = sts[st][3],button = b})
  12774.         Wait(200)
  12775.         selectFinished = true
  12776.       end
  12777.     end
  12778.     TextPrintString("STRAFE SELECTOR\n\nPress Any Button",1,1)
  12779.     Wait(0)
  12780.   until selectFinished
  12781.   SoundPlay2D("ButtonUp")
  12782.   selectFinished = false
  12783. end
  12784.  
  12785. function STRAFE_AnimDetectionWithButtonAfter()
  12786.   SoundPlay2D("RightBtn")
  12787.   Wait(200)
  12788.   endIt = false
  12789.   buttonPressed = "nil"
  12790.   PlayerSetControl(0)
  12791.   repeat
  12792.     for b = 0,15 do
  12793.       if IsButtonBeingPressed(b,0) then
  12794.         buttonPressed = b
  12795.         Wait(200)
  12796.         endIt = true
  12797.       end
  12798.     end
  12799.     TextPrintString("STRAFE SELECTOR\n\nPress Any Button",0,1)
  12800.     Wait(0)
  12801.   until endIt
  12802.   SoundPlay2D("ButtonUp")
  12803.   endIt = false
  12804.   PlayerSetControl(1)
  12805.   PlayerStopAllActionControllers()
  12806.   S_SetupActionNodeFinder()
  12807.   showNode = true
  12808.   played = "nil"
  12809.   Wait(200)
  12810.   repeat
  12811.     ped = gPlayer
  12812.     if showNode then
  12813.       local node,act = PedGetActionNode(ped)
  12814.       TextPrintString(PedGetName(ped)..'\n'..node..'\n'..act,1,2)
  12815.       played = node
  12816.     end
  12817.     Wait(0)
  12818.   until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  12819.   if IsButtonBeingPressed(3,0) then
  12820.     table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = "after",button = buttonPressed,id = 0})
  12821.     played = "nil"
  12822.     buttonPressed = "nil"
  12823.   end
  12824.   Wait(100)
  12825.   SoundPlay2D("ButtonUp")
  12826. end
  12827.  
  12828. function STRAFE_AnimDetectionAfter()
  12829.   SoundPlay2D("RightBtn")
  12830.   S_SetupActionNodeFinder()
  12831.   showNode = true
  12832.   played = "nil"
  12833.   Wait(200)
  12834.   repeat
  12835.     ped = gPlayer
  12836.     if showNode then
  12837.       local node,act = PedGetActionNode(ped)
  12838.       TextPrintString(PedGetName(ped)..'\n'..node..'\n'..act,1,2)
  12839.       played = node
  12840.     end
  12841.     Wait(0)
  12842.   until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  12843.   if IsButtonBeingPressed(3,0) then
  12844.     WaitUntil(3,0)
  12845.     local sl = 1
  12846.     S_SetupCore()
  12847.     repeat
  12848.       Wait(0)
  12849.      
  12850.       if ibbp(1,0) or faster_select(1) then
  12851.         sl = sl + 1
  12852.         if sl > 3 then sl = 1 end
  12853.       elseif ibbp(0,0) or faster_select(0) then
  12854.         sl = sl - 1
  12855.         if sl < 1 then sl = 3 end
  12856.       end
  12857.      
  12858.       TextPrintString("STRAFE SELECTOR\n[After Anim]\n\n\nFor:\n> "..to[sl],0,1)
  12859.     until IsButtonBeingPressed(3,0)
  12860.     WaitUntil(3,0)
  12861.     if sl == 1 then
  12862.       TextPrintString("STRAFE SELECTOR\n\nAnimation has been added..",math.random(1,2),1)
  12863.       Wait(math.random(1,2)*1000)
  12864.       table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = "after",button = "nil",id = 0})
  12865.     elseif sl == 2 then
  12866.       local tar_lock = PedGetTargetPed(gPlayer)
  12867.       if PedIsValid(tar_lock) and tar_lock ~= gPlayer then
  12868.         local tar_id = PedGetModel(tar_lock)
  12869.         table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = "after",button = "nil",id = tar_id})
  12870.       else
  12871.         get_error(math.random(1,2))
  12872.       end
  12873.     elseif sl == 3 then
  12874.       TextPrintString("STRAFE SELECTOR\n\nAnimation has been added..",math.random(1,2),1)
  12875.       Wait(math.random(1,2)*1000)
  12876.       table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = "after",button = "nil",id = 999})
  12877.     end
  12878.     played = "nil"
  12879.   else
  12880.     Wait(100)
  12881.   end
  12882.   SoundPlay2D("ButtonUp")
  12883. end
  12884.  
  12885. function STRAFE_AnimDetectionWithButton()
  12886.   SoundPlay2D("RightBtn")
  12887.   Wait(200)
  12888.   endIt = false
  12889.   buttonPressed = "nil"
  12890.   PlayerSetControl(0)
  12891.   repeat
  12892.     for b = 0,15 do
  12893.       if IsButtonBeingPressed(b,0) then
  12894.         buttonPressed = b
  12895.         Wait(200)
  12896.         endIt = true
  12897.       end
  12898.     end
  12899.     TextPrintString("STRAFE SELECTOR\n\nPress Any Button",0,1)
  12900.     Wait(0)
  12901.   until endIt
  12902.   SoundPlay2D("ButtonUp")
  12903.   endIt = false
  12904.   PlayerSetControl(1)
  12905.   PlayerStopAllActionControllers()
  12906.   S_SetupActionNodeFinder()
  12907.   showNode = true
  12908.   played = "nil"
  12909.   Wait(200)
  12910.   repeat
  12911.     ped = gPlayer
  12912.     if showNode then
  12913.       local node,act = PedGetActionNode(ped)
  12914.       TextPrintString(PedGetName(ped)..'\n'..node..'\n'..act,1,2)
  12915.       played = node
  12916.     end
  12917.     Wait(0)
  12918.   until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  12919.   if IsButtonBeingPressed(3,0) then
  12920.     table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = method,button = buttonPressed,id = 0})
  12921.     played = "nil"
  12922.     buttonPressed = "nil"
  12923.   end
  12924.   Wait(100)
  12925.   SoundPlay2D("ButtonUp")
  12926. end
  12927.  
  12928. function STRAFE_AnimDetection()
  12929.   SoundPlay2D("RightBtn")
  12930.   S_SetupActionNodeFinder()
  12931.   showNode = true
  12932.   played = "nil"
  12933.   Wait(200)
  12934.   repeat
  12935.     ped = gPlayer
  12936.     if showNode then
  12937.       local node,act = PedGetActionNode(ped)
  12938.       TextPrintString(PedGetName(ped)..'\n'..node..'\n'..act,1,2)
  12939.       played = node
  12940.     end
  12941.     Wait(0)
  12942.   until IsButtonBeingPressed(3,0) or IsButtonBeingPressed(14,0)
  12943.   if IsButtonBeingPressed(3,0) then
  12944.     WaitUntil(3,0)
  12945.     local sl = 1
  12946.     S_SetupCore()
  12947.     repeat
  12948.      
  12949.       Wait(0)
  12950.      
  12951.       if ibbp(1,0) or faster_select(1) then
  12952.         sl = sl + 1
  12953.         if sl > 3 then sl = 1 end
  12954.       elseif ibbp(0,0) or faster_select(0) then
  12955.         sl = sl - 1
  12956.         if sl < 1 then sl = 3 end
  12957.       end
  12958.      
  12959.       TextPrintString("STRAFE SELECTOR\n[Anim Detection]\n\n\nFor:\n> "..to[sl],0,1)
  12960.      
  12961.     until IsButtonBeingPressed(3,0)
  12962.     WaitUntil(3,0)
  12963.     local rw = math.random(1,2)
  12964.     if sl == 1 then
  12965.       TextPrintString("STRAFE SELECTOR\n\nAdding to player..",rw,1)
  12966.       Wait(rw*1000)
  12967.       table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = method,button = "nil",id = 0})
  12968.     elseif sl == 2 then
  12969.       local tar_lock = PedGetTargetPed(gPlayer)
  12970.       if PedIsValid(tar_lock) and tar_lock ~= gPlayer then
  12971.         TextPrintString("STRAFE SELECTOR\n\nAdding to your target..",rw,1)
  12972.         Wait(rw*1000)
  12973.         local tar_id = PedGetModel(tar_lock)
  12974.         table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = method,button = "nil",id = tar_id})
  12975.       else
  12976.         get_error(math.random(1,2))
  12977.       end
  12978.     elseif sl == 3 then
  12979.       TextPrintString("STRAFE SELECTOR\n\nAdding for all peds..",rw,1)
  12980.       Wait(rw*1000)
  12981.       table.insert(strafeAnim,{anim = sts[st][2],act = sts[st][3],playing = played,mode = method,button = "nil",id = 999})
  12982.     end
  12983.     played = "nil"
  12984.   else
  12985.     Wait(100)
  12986.   end
  12987.   SoundPlay2D("ButtonUp")
  12988. end
  12989.  
  12990. function STRAFE_ByFrequency()
  12991.   SoundPlay2D("RightBtn")
  12992.   --S_SetupActionNodeFinder()
  12993.   S_SetupCore()
  12994.   local evade = false
  12995.   local not_beta_version = true
  12996.   played = "nil"
  12997.   for_who = "nil"
  12998.   Wait(200)
  12999.   if not_beta_version then
  13000.     local s1 = 2
  13001.    
  13002.     repeat
  13003.       Wait(0)
  13004.      
  13005.       if ibbp(1,0) or faster_select(1) then
  13006.         SoundPlay2D("NavUp")
  13007.         s1 = s1 + 1
  13008.         if s1 > table.getn(peds) then s1 = 2 end
  13009.       elseif ibbp(0,0) or faster_select(0) then
  13010.         SoundPlay2D("NavUp")
  13011.         s1 = s1 - 1
  13012.         if s1 < 2 then s1 = table.getn(peds) end
  13013.       end
  13014.      
  13015.       TextPrintString("ADD ANIMATION\n\n\nFor:\n"..(s1 - 1).."."..peds[s1].name.." <-",1,1)
  13016.     until IsButtonBeingReleased(3,0)
  13017.     SoundPlay2D("RightBtn")
  13018.     if IsButtonBeingReleased(3,0) then
  13019.       local radius = 2
  13020.       while not IsButtonBeingReleased(3,0) do
  13021.         Wait(0)
  13022.       end
  13023.       repeat
  13024.         if IsButtonBeingPressed(1,0) or faster_select(1) then
  13025.           SoundPlay2D("NavUp")
  13026.           radius = radius + 1
  13027.           if radius > 5 then radius = 1 end
  13028.         elseif IsButtonBeingPressed(0,0) or faster_select(0) then
  13029.           SoundPlay2D("NavUp")
  13030.           radius = radius - 1
  13031.           if radius < 1 then radius = 5 end
  13032.         end
  13033.         TextPrintString("ADD ANIMATION\n\n\nRange: "..radius,1,1)
  13034.         Wait(0)
  13035.       until IsButtonBeingReleased(3,0)
  13036.       SoundPlay2D("RightBtn")
  13037.       if IsButtonBeingReleased(3,0) then
  13038.         local freq = nil
  13039.         while not IsButtonBeingReleased(3,0) do
  13040.           Wait(0)
  13041.         end
  13042.         if anim_was_evade(sts[st][2]) then
  13043.           freq = 15
  13044.         else
  13045.           freq = 25
  13046.         end
  13047.         repeat
  13048.           if IsButtonBeingPressed(1,0) or faster_select(1) then
  13049.             SoundPlay2D("NavUp")
  13050.             freq = freq + 1
  13051.             if freq > 100 then freq = 1 end
  13052.           elseif IsButtonBeingPressed(0,0) or faster_select(0) then
  13053.             SoundPlay2D("NavUp")
  13054.             freq = freq - 1
  13055.             if freq < 1 then freq = 5 end
  13056.           end
  13057.           TextPrintString("ADD ANIMATION\n\n\nPercentage: "..freq.."%",1,1)
  13058.           if anim_was_evade(sts[st][2]) then
  13059.             evade = true
  13060.             TextPrintString("This is evade animation, lower percentage is better",1,2)
  13061.           end
  13062.           Wait(0)
  13063.         until IsButtonBeingReleased(3,0)
  13064.         TextPrintString("ADD ANIMATION\n\nAdding anim..",3,1)
  13065.         Wait(math.random(1200,3000))
  13066.         table.insert(ped_mix,{id = s1,anim = sts[st][2],act = sts[st][3],fre = freq,range = radius,use_evade = evade})
  13067.       end
  13068.     end
  13069.   else
  13070.     SoundPlay2D("WrongBtn")
  13071.     Wait(100)
  13072.   end
  13073. end
  13074.  
  13075. function VehicleThief()
  13076.   SoundPlay2D("RightBtn")
  13077.   Wait(200)
  13078.   vsr = {
  13079.     {"275"              ,"1.Cop Bike"},
  13080.     {"276"          ,"2.Scooter"},
  13081.     {"277"          ,"3.Red BMX"},
  13082.     {"278"          ,"4.Blue BMX"},
  13083.     {"279"          ,"5.Bicycle"},
  13084.     {"280"          ,"6.Mountain Bike"},
  13085.     {"281"          ,"7.Old Bike"},
  13086.     {"282"          ,"8.Racer"},
  13087.     {"283"          ,"9.Aquaberry Bike"},
  13088.     {"284"          ,"10.Mower"},
  13089.     {"286"          ,"11.Taxi"},
  13090.     {"288"          ,"12.Dozer"},
  13091.     {"289"          ,"13.Go Kart"},
  13092.     {"290"          ,"14.Limo"},
  13093.     {"291"          ,"15.Delivery Truck"},
  13094.     {"292"          ,"16.Foreign Car"},
  13095.     {"293"          ,"17.Regular Car"},
  13096.     {"294"          ,"18.70 Wagon"},
  13097.     {"295"          ,"19.Police Car"},
  13098.     {"296"          ,"20.Domestic Car"},
  13099.     {"297"          ,"21.Truck"},
  13100.     {"298"          ,"22.Arcade 1"},
  13101.     {"287"          ,"22.Arcade 2"},
  13102.     {"285"          ,"23.Arcade 3"},
  13103.   }
  13104.   repeat
  13105.     if bp(1,0) or faster_select(1) then
  13106.       vsrt = vsrt + 1
  13107.       if vsrt > table.getn(vsr) then vsrt = 1 end
  13108.     elseif bp(0,0) or faster_select(0) then
  13109.       vsrt = vsrt - 1
  13110.       if vsrt < 1 then vsrt = table.getn(vsr) end
  13111.     elseif br(3,0) then
  13112.       for i,ped in {PedFindInAreaXYZ(0,0,0,999999)} do
  13113.         if PedIsValid(ped) and ped ~= gPlayer and PedIsInAnyVehicle(ped) and VehicleIsModel(PedGetLastVehicle(ped),vsr[vsrt][1]) then
  13114.           PedWarpOutOfCar(ped,PedGetLastVehicle(ped))
  13115.           PedSetPosXYZ(ped,VehicleGetPosXYZ(PedGetLastVehicle(ped)) + 4)
  13116.           x,y,z = PlayerGetPosXYZ()
  13117.           VehicleSetPosXYZ(PedGetLastVehicle(ped),x + 3,y,z)
  13118.           table.insert(betak,{v = PedGetLastVehicle(ped)})
  13119.         end
  13120.       end
  13121.     end
  13122.     TextPrintString("Vehicle Thief\n\n> "..vsr[vsrt][2].." <",0,1)
  13123.     Wait(0)
  13124.   until br(14,0)
  13125.   Wait(100)
  13126.   SoundPlay2D("ButtonUp")
  13127. end
  13128.  
  13129. function PedEditor()
  13130.   WaitUntil(3,0)
  13131.   SoundPlay2D("RightBtn")
  13132.   S_SetupPedEditor()
  13133.   repeat
  13134.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13135.       SoundPlay2D("NavUp")
  13136.       pe = pe - 1
  13137.       if pe < 1 then pe = table.getn(pem) end
  13138.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13139.       SoundPlay2D("NavUp")
  13140.       pe = pe + 1
  13141.       if pe > table.getn(pem) then pe = 1 end
  13142.     elseif IsButtonBeingPressed(3,0) then
  13143.       SoundPlay2D("ButtonUp")
  13144.       if pe == 1 then
  13145.         Populations()
  13146.       elseif pe == 2 then
  13147.         FightingSystem()
  13148.       elseif pe == 3 then
  13149.         PedVoice()
  13150.       elseif pe == 4 then
  13151.         ped_stats()
  13152.       elseif pe == 5 then
  13153.         ped_strafe()
  13154.       end
  13155.     end
  13156.     TextPrintString("Ped Editor\n\n:"..pem[pe]..":",1,1)
  13157.     if showText then
  13158.       TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  13159.     end
  13160.     Wait(0)
  13161.   until IsButtonBeingReleased(14,0)
  13162.   SoundPlay2D("WrongBtn")
  13163.   Wait(100)
  13164. end
  13165.  
  13166. function PedVoice()
  13167.   Wait(100)
  13168.   repeat
  13169.     if IsButtonBeingPressed(3,0) then
  13170.       if shutUp then
  13171.         shutUp = false
  13172.       elseif not shutUp then
  13173.         shutUp = true
  13174.       end
  13175.     end
  13176.     TextPrintString("Ped Voice\n\n"..GetVoice(),0,1)
  13177.     if showText then
  13178.       TextPrintString("[Navigate: ~ddown~ Enable/Disable]\n[~LOOK_BACK~ Exit]",0,2)
  13179.     end
  13180.     Wait(0)
  13181.   until IsButtonBeingPressed(14,0)
  13182.   SoundPlay2D("WrongBtn")
  13183.   Wait(100)
  13184. end
  13185.  
  13186. function FightingSystem()
  13187.   Wait(100)
  13188.   S_SetupPedEditor()
  13189.   repeat
  13190.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13191.       SoundPlay2D("NavUp")
  13192.       fs = fs - 1
  13193.       if fs < 1 then fs = table.getn(fsm) end
  13194.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13195.       SoundPlay2D("NavUp")
  13196.       fs = fs + 1
  13197.       if fs > table.getn(fsm) then fs = 1 end
  13198.     end
  13199.     if IsButtonBeingPressed(3,0) then
  13200.       SoundPlay2D("ButtonDown")
  13201.       if fs == 1 then
  13202.         if pedRun then
  13203.           pedRun = false
  13204.         elseif not pedRun then
  13205.           pedRun = true
  13206.         end
  13207.       elseif fs == 2 then
  13208.         if pedDFB then
  13209.           pedDFB = false
  13210.         elseif not pedDFB then
  13211.           pedDFB = true
  13212.         end
  13213.       elseif fs == 3 then
  13214.         if pedAEO then
  13215.           pedAEO = false
  13216.         elseif not pedAEO then
  13217.           pedAEO = true
  13218.         end
  13219.       end
  13220.     end
  13221.     TextPrintString("Fighting System\n\n"..fsm[fs][1].." = "..fsm[fs][2](),0,1)
  13222.     if showText then
  13223.       TextPrintString("[Navigate ~dleft~ or ~dright~|~LOOK_BACK~ Exit]\n[~ddown~ Select]",0,2)
  13224.     end
  13225.     Wait(0)
  13226.   until IsButtonBeingReleased(14,0)
  13227.   SoundPlay2D("WrongBtn")
  13228.   Wait(100)
  13229. end
  13230.  
  13231. function cutscene_editor()
  13232.   Wait(100)
  13233.   SoundPlay2D("RightBtn")
  13234.   S_CutsEdit()
  13235.   repeat
  13236.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13237.       SoundPlay2D("NavUp")
  13238.       ceo = ceo - 1
  13239.       if ceo < 1 then ceo = table.getn(moc) end
  13240.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13241.       SoundPlay2D("NavUp")
  13242.       ceo = ceo + 1
  13243.       if ceo > table.getn(moc) then ceo = 1 end
  13244.     elseif IsButtonBeingPressed(3,0) then
  13245.       Wait(100)
  13246.       SoundPlay2D("RightBtn")
  13247.       moc[ceo][2]()
  13248.     end
  13249.     TextPrintString("CUTSCENE EDITOR\n\n"..moc[ceo][1],0,1)
  13250.     Wait(0)
  13251.   until br(14,0)
  13252.   SoundPlay2D("WrongBtn")
  13253.   Wait(100)
  13254. end
  13255.  
  13256. function load_cut()
  13257.   S_CutsEdit()
  13258.   repeat
  13259.     if bp(1,0) then
  13260.       cec = cec + 1
  13261.       if cec > table.getn(mof) then cec = 1 end
  13262.     elseif bp(0,0) then
  13263.       cec = cec - 1
  13264.       if cec < 1 then cec = table.getn(mof) end
  13265.     elseif bp(3,0) then
  13266.       load_cutscene = mof[cec]
  13267.     end
  13268.     if cec == 1 then
  13269.       TextPrintString("Load Cutscene\n\n>"..mof[cec].."<\n"..mof[cec + 1].."\n"..mof[cec + 2].."",0,1)
  13270.     elseif cec == table.getn(mof) then
  13271.       TextPrintString("Load Cutscene\n\n"..mof[cec - 2].."\n"..mof[cec - 1].."\n>"..mof[cec].."<",0,1)
  13272.     elseif not (cec == table.getn(mof) or cec == 1) then
  13273.       TextPrintString("Load Cutscene\n\n"..mof[cec - 1].."\n>"..mof[cec].."<\n"..mof[cec + 1].."",0,1)
  13274.     end
  13275.     TextPrintString("CURRENT: "..load_cutscene,0,2)
  13276.     Wait(0)
  13277.   until br(14,0)
  13278.   Wait(100)
  13279.   SoundPlay2D("WrongBtn")
  13280. end
  13281.  
  13282. function cut_act()
  13283.   S_CutsEdit()
  13284.   repeat
  13285.     if bp(1,0) then
  13286.       cen = cen + 1
  13287.       if cen > table.getn(mof) then cen = 1 end
  13288.     elseif bp(0,0) then
  13289.       cen = cen - 1
  13290.       if cen < 1 then cen = table.getn(mof) end
  13291.     elseif bp(3,0) then
  13292.       cuts_action = mof[cen]
  13293.     end
  13294.     if cen == 1 then
  13295.       TextPrintString("Cutscene Act\n\n>"..mof[cen].."<\n"..mof[cen + 1].."\n"..mof[cen + 2].."",0,1)
  13296.     elseif cen == table.getn(mof) then
  13297.       TextPrintString("Cutscene Act\n\n"..mof[cen - 2].."\n"..mof[cen - 1].."\n>"..mof[cen].."<",0,1)
  13298.     elseif not (cen == table.getn(mof) or cen == 1) then
  13299.       TextPrintString("Cutscene Act\n\n"..mof[cen - 1].."\n>"..mof[cen].."<\n"..mof[cen + 1].."",0,1)
  13300.     end
  13301.     TextPrintString("CURRENT: "..cuts_action,0,2)
  13302.     Wait(0)
  13303.   until br(14,0)
  13304.   Wait(100)
  13305.   SoundPlay2D("WrongBtn")
  13306. end
  13307.  
  13308. function cut_sound()
  13309.   S_CutsEdit()
  13310.   repeat
  13311.     if bp(1,0) then
  13312.       ces = ces + 1
  13313.       if ces > table.getn(mof) then ces = 1 end
  13314.     elseif bp(0,0) then
  13315.       ces = ces - 1
  13316.       if ces < 1 then ces = table.getn(mof) end
  13317.     elseif bp(3,0) then
  13318.       cuts_audio = mof[ces]
  13319.     end
  13320.     if ces == 1 then
  13321.       TextPrintString("Cutscene Audio\n\n>"..mof[ces].."<\n"..mof[ces + 1].."\n"..mof[ces + 2].."",0,1)
  13322.     elseif ces == table.getn(mof) then
  13323.       TextPrintString("Cutscene Audio\n\n"..mof[ces - 2].."\n"..mof[ces - 1].."\n>"..mof[ces].."<",0,1)
  13324.     elseif not (ces == table.getn(mof) or ces == 1) then
  13325.       TextPrintString("Cutscene Audio\n\n"..mof[ces - 1].."\n>"..mof[ces].."<\n"..mof[ces + 1].."",0,1)
  13326.     end
  13327.     TextPrintString("CURRENT: "..cuts_audio,0,2)
  13328.     Wait(0)
  13329.   until br(14,0)
  13330.   Wait(100)
  13331.   SoundPlay2D("WrongBtn")
  13332. end
  13333.  
  13334. function Populations()
  13335.   atz = true
  13336.   math = 1
  13337.   avel = "YIMYAM"
  13338.   if not dead then
  13339.     if atz then
  13340.       if math == 1 then
  13341.         if avel == "YIMYAM" then
  13342.           Wait(100)
  13343.           repeat
  13344.             local ped = GetTarget()
  13345.             if IsButtonBeingPressed(0,0) or faster_select(0) then
  13346.               SoundPlay2D("NavUp")
  13347.               weSelect = weSelect - 1
  13348.               if weSelect < 1 then weSelect = table.getn(wes) end
  13349.             elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13350.               SoundPlay2D("NavUp")
  13351.               weSelect = weSelect + 1
  13352.               if weSelect > table.getn(wes) then weSelect = 1 end
  13353.             end
  13354.             if IsButtonBeingPressed(3,0) then
  13355.               cght = 0
  13356.               Wait(100)
  13357.               repeat
  13358.                 if cght == 0 then
  13359.                   if IsButtonBeingPressed(0,0) or faster_select(0) then
  13360.                     SoundPlay2D("NavUp")
  13361.                     ewSelect = ewSelect - 1
  13362.                     if ewSelect < 1 then ewSelect = table.getn(ews) end
  13363.                   elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13364.                     SoundPlay2D("NavUp")
  13365.                     ewSelect = ewSelect + 1
  13366.                     if ewSelect > table.getn(ews) then ewSelect = 1 end
  13367.                   end
  13368.                   TextPrintString("Populations\n["..wes[weSelect].name.."]\n\n"..ews[ewSelect][2],0,1)
  13369.                   if showText then
  13370.                     TextPrintString("[~LOOK_BACK~ Exit|~ddown~ Select]\n[Navigate ~dleft~ or ~dright~]",0,2)
  13371.                   end
  13372.                   Wait(0)
  13373.                 end
  13374.               until IsButtonBeingPressed(3,0)
  13375.               PedSetUniqueModelStatus(weSelect,ews[ewSelect][1])
  13376.             end
  13377.             TextPrintString("Populations\n\nName:\n"..wes[weSelect].name,0,1)
  13378.             if showText then
  13379.               TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[~ddown~ Select]",0,2)
  13380.             end
  13381.             Wait(0)
  13382.           until IsButtonBeingReleased(14,0)
  13383.           SoundPlay2D("WrongBtn")
  13384.           Wait(100)
  13385.         end
  13386.       end
  13387.     end
  13388.   end
  13389. end
  13390.  
  13391. function PedFinder()
  13392.   Wait(100)
  13393.   SoundPlay2D("RightBtn")
  13394.   S_SetupPedFinder()
  13395.   repeat
  13396.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13397.       SoundPlay2D("NavUp")
  13398.       pedGrab = pedGrab - 1
  13399.       if pedGrab < 1 then pedGrab = table.getn(pfs) end
  13400.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13401.       SoundPlay2D("NavUp")
  13402.       pedGrab = pedGrab + 1
  13403.       if pedGrab > table.getn(pfs) then pedGrab = 1 end
  13404.     elseif IsButtonBeingPressed(3,0) then
  13405.       SoundPlay2D("ButtonUp")
  13406.       for i,peds in {PedFindInAreaXYZ(0,0,0,999999)} do
  13407.         if PedIsValid(peds) and PedIsModel(peds,PedGetModelID(peds)) and peds ~= gPlayer then
  13408.           table.insert(pedGetGrabed,peds)
  13409.           if PedIsInAnyVehicle(peds) then
  13410.             PedWarpOutOfCar(peds,PedGetLastVehicle(peds))
  13411.           end
  13412.           local x,y,z = PlayerGetPosXYZ()
  13413.           PedSetPosXYZ(peds,x + 2,y + 2,z + 1)
  13414.           PedSetActionNode(peds,"/Global/1_06/HoboFly","Act/Conv/1_06.act")
  13415.         end
  13416.       end
  13417.     end
  13418.     TextPrintString("Ped Finder\n\nName: "..pfs[pedGrab].name,0,1)
  13419.     if showText then
  13420.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Find]",0,2)
  13421.     end
  13422.     Wait(0)
  13423.   until IsButtonBeingReleased(14,0)
  13424.   SoundPlay2D("WrongBtn")
  13425.   for i = 1,table.getn(pedGetGrabed) do
  13426.     if PedIsValid(pedGetGrabed[i]) then
  13427.       if PedGetHealth(pedGetGrabed[i]) > 1 then
  13428.         PedSetActionNode(pedGetGrabed[i],"/Global","Act/Globals.act")
  13429.       else
  13430.         PedPlayHitReaction(pedGetGrabed[i])
  13431.       end
  13432.       table.remove(pedGetGrabed,i)
  13433.     end
  13434.   end
  13435. end
  13436.  
  13437. function DismissAlly()
  13438.   Wait(100)
  13439.   S_SetupAlly()
  13440.   SoundPlay2D("RightBtn")
  13441.   repeat
  13442.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13443.       SoundPlay2D("NavUp")
  13444.       al = al - 1
  13445.       if al < 1 then al = table.getn(als) end
  13446.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13447.       SoundPlay2D("NavUp")
  13448.       al = al + 1
  13449.       if al > table.getn(als) then al = 1 end
  13450.     elseif IsButtonBeingPressed(3,0) then
  13451.       SoundPlay2D("ButtonUp")
  13452.       if al == 1 then
  13453.         PedDismissAllAllies(gPlayer)
  13454.       elseif al == 2 then
  13455.         PedDismissAlly(gPlayer,PedGetAllyFollower(gPlayer))
  13456.       end
  13457.     end
  13458.     TextPrintString("Dismiss Ally\n\n>"..als[al].."<",0,1)
  13459.     if showText then
  13460.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]\n[~ddown~ Select]",0,2)
  13461.     end
  13462.     Wait(0)
  13463.   until IsButtonBeingReleased(14,0)
  13464.   SoundPlay2D("WrongBtn")
  13465. end
  13466.  
  13467. function ped_duplicator()
  13468.   WaitUntil(3,0)
  13469.   SoundPlay2D("RightBtn")
  13470.   repeat
  13471.     Wait(0)
  13472.    
  13473.     local ped = PedGetTargetPed(gPlayer)
  13474.    
  13475.     if PedIsValid(ped) then
  13476.       if IsButtonBeingPressed(3,0) then
  13477.         if ped ~= gPlayer then
  13478.           id = PedGetModel(ped)
  13479.           x,y,z = PedGetPosXYZ(ped)
  13480.           style = ped_get_action_tree(ped,0)
  13481.           name = PedGetName(ped)
  13482.           create_ped(name,id,style,x,y,z)
  13483.         else
  13484.           get_error(1)
  13485.         end
  13486.       end
  13487.     else
  13488.       ped = gPlayer
  13489.     end
  13490.    
  13491.     TextPrintString("Ped Duplicator\n\nDuplicate:\n> "..PedGetName(ped),0,1)
  13492.   until IsButtonBeingReleased(14,0)
  13493.   Wait(100)
  13494.   SoundPlay2D("WrongBtn")
  13495. end
  13496.  
  13497. function fight_maker()
  13498.   local who_start = "empty"
  13499.   Wait(100)
  13500.   SoundPlay2D("RightBtn")
  13501.   repeat
  13502.     Wait(0)
  13503.    
  13504.     local ped = PedGetTargetPed()
  13505.    
  13506.     if PedIsValid(ped) then
  13507.       if IsButtonBeingReleased(3,0) then
  13508.         if who_start == "empty" then
  13509.           who_start = ped
  13510.         else
  13511.           if ped ~= who_start then
  13512.             PedAttack(who_start,ped,math.random(1,3))
  13513.             who_start = "empty"
  13514.           else
  13515.             get_error(1)
  13516.           end
  13517.         end
  13518.        
  13519.         Wait(70)
  13520.       end
  13521.     end
  13522.    
  13523.     if who_start ~= "empty" then
  13524.       if IsButtonBeingPressed(2,0) then
  13525.         who_start = "empty"
  13526.         TextPrintString("Fight Maker\n\nCLEANING..",1,1)
  13527.         Wait(math.random(500,1000))
  13528.       end
  13529.     end
  13530.    
  13531.     if who_start ~= "empty" then
  13532.       TextPrintString("Fight Maker\n\nFrom: "..PedGetName(who_start).."\n\n> To: "..GetName(),0.5,1)
  13533.     else
  13534.       TextPrintString("Fight Maker\n\n> From: "..GetName().."\n\nTo: ???",0.5,1)
  13535.     end
  13536.    
  13537.   until IsButtonBeingReleased(14,0)
  13538.   Wait(100)
  13539.   SoundPlay2D("WrongBtn")
  13540. end
  13541.  
  13542. function class_editor()
  13543.   SoundPlay2D("RightBtn")
  13544.   Wait(100)
  13545.   S_ClassEditor()
  13546.   repeat
  13547.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13548.       SoundPlay2D("NavUp")
  13549.       cl = cl - 1
  13550.       if cl < 1 then
  13551.         cl = table.getn(classEditor)
  13552.       end
  13553.     elseif IsButtonBeingPressed(1,0) or faster_select(1) then
  13554.       SoundPlay2D("NavUp")
  13555.       cl = cl + 1
  13556.       if cl > table.getn(classEditor) then
  13557.         cl = 1
  13558.       end
  13559.     elseif IsButtonBeingPressed(3,0) then
  13560.       SoundPlay2D("RightBtn")
  13561.       classEditor[cl][2]()
  13562.     end
  13563.     if cl == 1 then
  13564.       TextPrintString("Class Editor\n\n>"..classEditor[cl][1].."<\n"..classEditor[cl + 1][1].."\n"..classEditor[cl + 2][1].."",0,1)
  13565.     elseif cl == table.getn(classEditor) then
  13566.       TextPrintString("Class Editor\n\n"..classEditor[cl - 2][1].."\n"..classEditor[cl - 1][1].."\n>"..classEditor[cl][1].."<",0,1)
  13567.     elseif not (cl == table.getn(classEditor) or cl == 1) then
  13568.       TextPrintString("Class Editor\n\n"..classEditor[cl - 1][1].."\n>"..classEditor[cl][1].."<\n"..classEditor[cl + 1][1].."",0,1)
  13569.     end
  13570.     if showText then
  13571.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13572.     end
  13573.     Wait(0)
  13574.   until IsButtonBeingReleased(14,0)
  13575.   Wait(100)
  13576.   SoundPlay2D("WrongBtn")
  13577. end
  13578.  
  13579. function ped_stats()
  13580.   WaitUntil(3,0)
  13581.   S_Stats()
  13582.   SoundPlay2D("RightBtn")
  13583.   who_inside = gPlayer
  13584.   repeat
  13585.     Wait(0)
  13586.    
  13587.     local ped = PedGetTargetPed(gPlayer)
  13588.    
  13589.     if not PedIsValid(ped) then
  13590.       ped = gPlayer
  13591.     end
  13592.    
  13593.     if bp(0,0) then
  13594.       pg = pg - 1
  13595.       if pg < 1 then pg = table.getn(pgo) end
  13596.     elseif bp(1,0) then
  13597.       pg = pg + 1
  13598.       if pg > table.getn(pgo) then pg = 1 end
  13599.     end
  13600.     if IsButtonPressed(3,0) and pg ~= 7 then
  13601.       GameSetPedStat(ped,pgo[pg][1],GameGetPedStat(ped,pgo[pg][1]) + 1)
  13602.     elseif IsButtonBeingReleased(3,0) and pg == 7 then
  13603.       GameSetPedStat(ped,pgo[pg][1],GameGetPedStat(ped,pgo[pg][1]) + 1)
  13604.       if GameGetPedStat(ped,pgo[pg][1]) > 3 then
  13605.         GameSetPedStat(ped,pgo[pg][1],3)
  13606.       end
  13607.     end
  13608.     if IsButtonPressed(2,0) and pg ~= 7 then
  13609.       GameSetPedStat(ped,pgo[pg][1],GameGetPedStat(ped,pgo[pg][1]) - 1)
  13610.     elseif IsButtonBeingReleased(2,0) and pg == 7 then
  13611.       GameSetPedStat(ped,pgo[pg][1],GameGetPedStat(ped,pgo[pg][1]) - 1)
  13612.       if GameGetPedStat(ped,pgo[pg][1]) < 1 then
  13613.         GameSetPedStat(ped,pgo[pg][1],1)
  13614.       end
  13615.     end
  13616.    
  13617.     TextPrintString("Ped Editor\n[Stats]\n\nPed: "..PedGetName(ped).."\nStat: "..pgo[pg][2].."\nValue: "..GameGetPedStat(ped,pgo[pg][1]),0,1)
  13618.     if showText then
  13619.       TextPrintString("[Navigate: ~dleft~ or ~dright~]\n[Value: ~ddown~ or ~dup~]\n[Exit: ~LOOK_BACK~]",0,2)
  13620.     end
  13621.   until IsButtonBeingReleased(14,0)
  13622.   Wait(100)
  13623.   SoundPlay2D("WrongBtn")
  13624. end
  13625.  
  13626. function skip_current_mission()
  13627.   WaitUntil(3,0)
  13628.   SoundPlay2D("RightBtn")
  13629.   local scm = {
  13630.     "SUCCESS",
  13631.     "FAILED",
  13632.     "CANCEL",
  13633.   }
  13634.   repeat
  13635.     if ibbp(0,0) or faster_select(0) then
  13636.       sc = sc - 1
  13637.       if sc < 1 then sc = 1 end
  13638.     elseif ibbp(1,0) or faster_select(1) then
  13639.       sc = sc + 1
  13640.       if sc > 3 then sc = 3 end
  13641.     end
  13642.     TextPrintString("SKIP MISSION\n\n> "..scm[sc],1,1)
  13643.     Wait(0)
  13644.   until IsButtonBeingPressed(3,0)
  13645.   WaitUntil(3,0)
  13646.   while GetCutsceneRunning() ~= 0 do
  13647.     TextPrintString("Waiting for cutscene..",0,1)
  13648.     Wait(0)
  13649.   end
  13650.   while AreaIsLoading() or not PedMePlaying(gPlayer,"DEFAULT_KEY") do
  13651.     Wait(0)
  13652.   end
  13653.   local tu = GetTimer()
  13654.   while GetTimer() < tu + math.random(2000,3000) do
  13655.     TextPrintString("Initializing..",0,1)
  13656.     Wait(0)
  13657.   end
  13658.   if sc == 1 then
  13659.     addSelect = addSelect - 1
  13660.     SoundPlayMissionEndMusic(true,10)
  13661.     MissionSucceed(false,true,true)
  13662.   elseif sc == 2 then
  13663.     addSelect = addSelect - 1
  13664.     SoundPlayMissionEndMusic(false,10)
  13665.     MissionFail(false,true,true)
  13666.   else
  13667.     SoundPlay2D("WrongBtn")
  13668.     Wait(10)
  13669.   end
  13670. end
  13671.  
  13672. function custom_weather()
  13673.   repeat
  13674.     if ibbp(0,0) or faster_select(0) then
  13675.       cwt = cwt - 1
  13676.       if cwt < 1 then cwt = 100 end
  13677.     elseif ibbp(1,0) or faster_select(1) then
  13678.       cwt = cwt + 1
  13679.       if cwt > 100 then cwt = 1 end
  13680.     end
  13681.     if ibbp(3,0) then
  13682.       WeatherSet(cwt)
  13683.     end
  13684.     TextPrintString("WEATHER SELECTOR\n[CUSTOM]\n\nWeather: "..cwt,1,1)
  13685.     Wait(0)
  13686.   until IsButtonBeingReleased(14,0)
  13687.   SoundPlay2D("WrongBtn")
  13688.   Wait(10)
  13689. end
  13690.  
  13691. function ped_strafe()
  13692.   WaitUntil(3,0)
  13693.   S_SetupCore()
  13694.   SoundPlay2D("RightBtn")
  13695.   repeat
  13696.     Wait(0)
  13697.    
  13698.     local ped = GetTarget()
  13699.    
  13700.     if bp(1,0) then
  13701.       pt = pt + 1
  13702.       if pt > 3 then pt = 1 end
  13703.     elseif bp(0,0) then
  13704.       pt = pt - 1
  13705.       if pt < 1 then pt = 3 end
  13706.     elseif bp(3,0) then
  13707.       if ped ~= gPlayer then
  13708.         if pt ~= 1 then
  13709.           local st = ped_get_action_tree(ped,0)
  13710.           table.insert(ped_strafes,{whom = PedGetModel(ped),type = pty[pt],style = st})
  13711.         end
  13712.       else
  13713.         get_error(1)
  13714.       end
  13715.     elseif bp(2,0) then
  13716.       for i = 1,table.getn(ped_strafes) do
  13717.         table.remove(ped_strafes,i)
  13718.       end
  13719.     end
  13720.    
  13721.     TextPrintString("Ped Editor\n[Strafes]\n\nFor: "..PedGetName(ped).."\nHow fast:\n> "..pt.."."..pty[pt],0,1)
  13722.   until IsButtonBeingPressed(14,0)
  13723.   Wait(100)
  13724.   SoundPlay2D("WrongBtn")
  13725. end
  13726.  
  13727. function MCT()
  13728.   SoundPlay2D("RightBtn")
  13729.   S_ClassEditor()
  13730.   repeat
  13731.     if IsButtonPressed(0,0) then
  13732.       mcts = mcts - 1
  13733.       if mcts < 0 then mcts = 0 end
  13734.     elseif IsButtonPressed(1,0) then
  13735.       mcts = mcts + 1
  13736.     end
  13737.     TextPrintString(classEditor[cl][1].."\n\nTimer: "..mcts.." seconds",0,1)
  13738.     if showText then
  13739.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13740.     end
  13741.     Wait(0)
  13742.   until IsButtonBeingReleased(14,0)
  13743.   SoundPlay2D("WrongBtn")
  13744.   Wait(100)
  13745. end
  13746.  
  13747. function ACR()
  13748.   SoundPlay2D("RightBtn")
  13749.   S_ClassEditor()
  13750.   repeat
  13751.     if IsButtonPressed(0,0) then
  13752.       acrs = acrs - 1
  13753.       if acrs < 0 then acrs = 0 end
  13754.     elseif IsButtonPressed(1,0) then
  13755.       acrs = acrs + 1
  13756.       if acrs > 20 then acrs = 20 end
  13757.     end
  13758.     TextPrintString(classEditor[cl][1].."\n\nRadius: "..acrs.." cm",0,1)
  13759.     if showText then
  13760.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13761.     end
  13762.     Wait(0)
  13763.   until IsButtonBeingReleased(14,0)
  13764.   SoundPlay2D("WrongBtn")
  13765.   Wait(100)
  13766. end
  13767.  
  13768. function BCT()
  13769.   SoundPlay2D("RightBtn")
  13770.   S_ClassEditor()
  13771.   repeat
  13772.     if IsButtonPressed(0,0) then
  13773.       bcts = bcts - 1
  13774.       if bcts < 0 then bcts = 0 end
  13775.     elseif IsButtonPressed(1,0) then
  13776.       bcts = bcts + 1
  13777.     end
  13778.     TextPrintString(classEditor[cl][1].."\n\nTimer: "..bcts.." seconds",0,1)
  13779.     if showText then
  13780.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13781.     end
  13782.     Wait(0)
  13783.   until IsButtonBeingReleased(14,0)
  13784.   SoundPlay2D("WrongBtn")
  13785.   Wait(100)
  13786. end
  13787.  
  13788. function ECT()
  13789.   SoundPlay2D("RightBtn")
  13790.   S_ClassEditor()
  13791.   repeat
  13792.     if IsButtonPressed(0,0) then
  13793.       ects = ects - 1
  13794.       if ects < 0 then ects = 0 end
  13795.     elseif IsButtonPressed(1,0) then
  13796.       ects = ects + 1
  13797.     end
  13798.     TextPrintString(classEditor[cl][1].."\n\nTimer: "..ects.." seconds",0,1)
  13799.     if showText then
  13800.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13801.     end
  13802.     Wait(0)
  13803.   until IsButtonBeingReleased(14,0)
  13804.   SoundPlay2D("WrongBtn")
  13805.   Wait(100)
  13806. end
  13807.  
  13808. function GCT()
  13809.   SoundPlay2D("RightBtn")
  13810.   S_ClassEditor()
  13811.   repeat
  13812.     if IsButtonPressed(0,0) then
  13813.       gcts = gcts - 1
  13814.       if gcts < 0 then gcts = 0 end
  13815.     elseif IsButtonPressed(1,0) then
  13816.       gcts = gcts + 1
  13817.     end
  13818.     TextPrintString(classEditor[cl][1].."\n\nTimer: "..gcts.." seconds",0,1)
  13819.     if showText then
  13820.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13821.     end
  13822.     Wait(0)
  13823.   until IsButtonBeingReleased(14,0)
  13824.   SoundPlay2D("WrongBtn")
  13825.   Wait(100)
  13826. end
  13827.  
  13828. function ACPS()
  13829.   SoundPlay2D("RightBtn")
  13830.   S_ClassEditor()
  13831.   repeat
  13832.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13833.       acpss = acpss - 0.1
  13834.       if acpss < 0 then acpss = 0 end
  13835.     elseif IsButtonBeingPressed(1,0) or faster_select(0) then
  13836.       acpss = acpss + 0.1
  13837.       if acpss > 2.0 then acpss = 2.0 end
  13838.     end
  13839.     TextPrintString(classEditor[cl][1].."\n\nSpeed: "..string.format("%.0f",acpss/0.02).."%",0,1)
  13840.     if showText then
  13841.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13842.     end
  13843.     Wait(0)
  13844.   until IsButtonBeingReleased(14,0)
  13845.   SoundPlay2D("WrongBtn")
  13846.   Wait(100)
  13847. end
  13848.  
  13849. function ACME()
  13850.   SoundPlay2D("RightBtn")
  13851.   S_ClassEditor()
  13852.   repeat
  13853.     if IsButtonBeingPressed(0,0) or faster_select(0) then
  13854.       acmes = acmes - 1
  13855.       if acmes < 0 then acmes = 0 end
  13856.     elseif IsButtonBeingPressed(1,0) or faster_select(0) then
  13857.       acmes = acmes + 1
  13858.       if acmes > 2.0 then acmes = 2.0 end
  13859.     end
  13860.     TextPrintString(classEditor[cl][1].."\n\nSpeed: "..string.format("%.0f",acmes/0.02).."%",0,1)
  13861.     if showText then
  13862.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13863.     end
  13864.     Wait(0)
  13865.   until IsButtonBeingReleased(14,0)
  13866.   SoundPlay2D("WrongBtn")
  13867.   Wait(100)
  13868. end
  13869.  
  13870. function AET()
  13871.   SoundPlay2D("RightBtn")
  13872.   S_ClassEditor()
  13873.   repeat
  13874.     if IsButtonPressed(0,0) then
  13875.       aets = aets - 1
  13876.       if aets < 0 then aets = 0 end
  13877.     elseif IsButtonPressed(1,0) then
  13878.       aets = aets + 1
  13879.       if aets > 100 then aets = 100 end
  13880.     end
  13881.     TextPrintString(classEditor[cl][1].."\n\nTimer: "..aets.." seconds",0,1)
  13882.     if showText then
  13883.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  13884.     end
  13885.     Wait(0)
  13886.   until IsButtonBeingReleased(14,0)
  13887.   SoundPlay2D("WrongBtn")
  13888.   Wait(100)
  13889. end
  13890.  
  13891. function find_current_error(area,way)
  13892.   local script = {
  13893.     {6,"AreaScripts/Bio_Lab.lua"},
  13894.     {50,"SSTores.lua"},
  13895.     {43,"AreaScripts/Junkyard.lua"},
  13896.     {45,"AreaScripts/Midway.lua"},
  13897.     {2,"AreaScripts/SchoolHallways.lua"},
  13898.     {0,"AreaScripts/MainMap.lua"},
  13899.     {26,"SStores.lua"},
  13900.     {16,"AreaScripts/Tattoos.lua"},
  13901.     {29,"SStores.lua"},
  13902.     {30,"SStores.lua"},
  13903.     {36,"AreaScripts/Tenements.lua"},
  13904.     {14,"AreaScripts/Bdorm.lua"},
  13905.     {35,"AreaScripts/Gdorm.lua"},
  13906.     {37,"AreaScripts/Funhouse.lua"},
  13907.     {27,"AreaScripts/Boxing.lua"},
  13908.     {32,"AreaScripts/PrepHouse.lua"},
  13909.     {8,"AreaScripts/Janitors.lua"},
  13910.     {13,"AreaScripts/GymAndPool.lua"},
  13911.     {39,"AreaScripts/StyleStores.lua"},
  13912.     {34,"AreaScripts/StyleStores.lua"},
  13913.     {38,"AreaScripts/Asylum.lua"},
  13914.     {9,"AreaScripts/Library.lua"},
  13915.     {54,"AreaScripts/Warehouse.lua"},
  13916.     {23,"AreaScripts/StaffRoom.lua"},
  13917.     {5,"AreaScripts/PrincipalOffice.lua"},
  13918.     {40,"AreaScripts/Observatory.lua"},
  13919.     {4,"AreaScripts/Chem_Lab.lua"},
  13920.     {20,"AreaScripts/ChemPlant.lua"},
  13921.     {17,"AreaScripts/ArtRoom.lua"},
  13922.     {18,"AreaScripts/AutoShop.lua"},
  13923.     {19,"AreaScripts/Auditorium.lua"},
  13924.     {33,"AreaScripts/StyleStores.lua"},
  13925.     {15,"AreaScripts/Classroom.lua"},
  13926.     {46,"AreaScripts/StyleStores.lua"},
  13927.     {56,"AreaScripts/StyleStores.lua"},
  13928.     {57,"AreaScripts/SaveZones.lua"},
  13929.     {60,"AreaScripts/SaveZones.lua"},
  13930.     {61,"AreaScripts/SaveZones.lua"},
  13931.     {59,"AreaScripts/SaveZones.lua"},
  13932.     {42,"AreaScripts/TGokart.lua"},
  13933.     {51,"AreaScripts/ImgRaceA.lua"},
  13934.     {52,"AreaScripts/ImgRaceB.lua"},
  13935.     {53,"AreaScripts/ImgRaceC.lua"},
  13936.     {17,"AreaScripts/ArtRoom.lua"},
  13937.     {55,"AreaScripts/FreakShow.lua"},
  13938.     {62,"AreaScripts/BMXTrack.lua"},
  13939.   }
  13940.   local soluted = false
  13941.   if not soluted then
  13942.     for i = 1,table.getn(script) do
  13943.       if area == script[i][1] then
  13944.         TextPrintString("ERROR: FAILED TO LOAD "..script[i][2],3,1)
  13945.         Wait(3000)
  13946.         soluted = true
  13947.       end
  13948.     end
  13949.   end
  13950.   TextPrintString("See Read Me.txt for more information",2,1)
  13951.   Wait(2000)
  13952. end
  13953.  
  13954. function faster_select(num)
  13955.   if IsButtonPressed(num,0) and IsButtonPressed(7,0) then
  13956.     return true
  13957.   end
  13958.   return false
  13959. end
  13960.  
  13961. function GetMenu()
  13962.   if menu == 2 then
  13963.     MainMenuType = "SCROLL_5"
  13964.     return "SCROLL_5"
  13965.   elseif menu == 3 then
  13966.     MainMenuType = "SCROLL_3"
  13967.     return "SCROLL_3"
  13968.   elseif menu == 4 then
  13969.     MainMenuType = "STANDARD"
  13970.     return "STANDARD"
  13971.   elseif menu == 5 then
  13972.     MainMenuType = "BASIC_BIG_SIZE"
  13973.     return "BASIC_BIG_SIZE"
  13974.   elseif menu == 6 then
  13975.     MainMenuType = "BASIC_SMALL_SIZE"
  13976.     return "BASIC_SMALL_SIZE"
  13977.   elseif menu == 1 then
  13978.     MainMenuType = "NEW_MENU"
  13979.     return "NEW_MENU"
  13980.   end
  13981. end
  13982.  
  13983. function anim_was_evade(anim)
  13984.   local evade = {
  13985.     "/Global/BOSS_Darby/Offense/NonCombatActions/Hopback",
  13986.     "/Global/BOSS_Darby/Defense/Short/Evade/EvadeDuck",
  13987.     "/Global/BOSS_Darby/Defense/Short/Evade/EvadeRight",
  13988.     "/Global/BOSS_Darby/Defense/Short/Evade/EvadeLeft",
  13989.     "/Global/BoxingPlayer/EvadeBank/Evades/Duck",
  13990.     "/Global/BoxingPlayer/EvadeBank/Evades/Left",
  13991.     "/Global/BoxingPlayer/EvadeBank/Evades/Right",
  13992.     "/Global/P_Grappler_A/Defense/Evade/EvadeBack/Evade",
  13993.     "/Global/P_Striker_A/Defense/Evade/EvadeBack",
  13994.     "/Global/P_Striker_B/Defense/Evade/EvadeBack/EvadeBack",
  13995.     "/Global/P_Bif/Defense/Evade/EvadeDuck",
  13996.     "/Global/P_Bif/Defense/Evade/EvadeLeft",
  13997.     "/Global/P_Bif/Defense/Evade/EvadeRight",
  13998.     "/Global/P_Grappler_A/Defense/Evade/EvadeBack/Evade",
  13999.     "/Global/P_Grappler_A/Offense/NonCombatActions/Hopback",
  14000.   }
  14001.   for i = 1,table.getn(evade) do
  14002.     if anim == evade[i] then
  14003.       return true
  14004.     end
  14005.   end
  14006.   return false
  14007. end
  14008.  
  14009. function bugged_mission_running()
  14010.   local m = {
  14011.     "3_01C",
  14012.     "2_09",
  14013.     "2_B",
  14014.     "C_WRESTLING_1",
  14015.     "C_WRESTLING_2",
  14016.     "C_WRESTLING_3",
  14017.     "C_WRESTLING_4",
  14018.     "C_WRESTLING_5",
  14019.     "3_08",
  14020.     "4_05",
  14021.     "4_06",
  14022.     "5_03",
  14023.     "6_01",
  14024.   }
  14025.   for i = 1,table.getn(m) do
  14026.     if MissionActiveSpecific(m[i]) then
  14027.       return true
  14028.     end
  14029.   end
  14030.   return false
  14031. end
  14032.  
  14033. function PedGetActionNode(ped)
  14034.   -- Brute force method isn't good idea because it'll make your game lags really bad.
  14035.   local actNode = "/Global"
  14036.   local actFile = ""
  14037.   local nodeFinished = false
  14038.   local nodeParts = 1
  14039.   repeat
  14040.     for action = 1,size(actions) do
  14041.       for animation = 1,size(animations) do
  14042.         if PedIsPlaying(ped,'/'..actNode..'/'..animations[animation],actions[action]) then
  14043.           actNode = actNode..'/'..animations[animation]
  14044.           actFile = actions[action]
  14045.         else
  14046.           nodeFinished = true
  14047.         end
  14048.       end
  14049.     end
  14050.   until nodeFinished
  14051.   return actNode,actFile
  14052. end
  14053.  
  14054. function is_in_mission()
  14055.   S_SetupCore()
  14056.   for i = 1,table.getn(cvs) do
  14057.     if type(cvs[i][1]) == "string" then
  14058.       return MissionActiveSpecific(cvs[i][1])
  14059.     else
  14060.       --assert(tonumber(cvs[i][1]),"This variable is number")
  14061.     end
  14062.   end
  14063. end
  14064.  
  14065. function ped_is_attack(attacker,attacked)
  14066.   S_SetupNode()
  14067.   for i = 1,table.getn(anims) do
  14068.     if PedIsPlaying(attacker,anims[i],true) and PedGetTargetPed(attacker) == attacked then
  14069.       return true
  14070.     end
  14071.   end
  14072.   return false
  14073. end
  14074.  
  14075. function GetGuns()
  14076.   if rapidGun == 1 then
  14077.     return "ENABLE"
  14078.   else
  14079.     return "DISABLE"
  14080.   end
  14081. end
  14082.  
  14083. function GetKissGirls()
  14084.   if kissAllGirls then
  14085.     return "ENABLE"
  14086.   else
  14087.     return "DISABLE"
  14088.   end
  14089. end
  14090.  
  14091. function GetKissBoys()
  14092.   if kissAllBoys then
  14093.     return "ENABLE"
  14094.   else
  14095.     return "DISABLE"
  14096.   end
  14097. end
  14098.  
  14099. function GetPunchs()
  14100.   if rapidPunch == 1 then
  14101.     return "Enable"
  14102.   else
  14103.     return "Disable"
  14104.   end
  14105. end
  14106.  
  14107. function GetGameSpeed()
  14108.   if playerGameSpeedEffect == 1 then
  14109.     return "ENABLE"
  14110.   else
  14111.     return "DISABLE"
  14112.   end
  14113. end
  14114.  
  14115. function GetTarget()
  14116.   local ped = PedGetTargetPed()
  14117.   if useTarget and PedIsValid(ped) then
  14118.     return ped
  14119.   end
  14120. end
  14121.  
  14122. function GetAmmo()
  14123.   if inAmmo == 1 then
  14124.     return "ENABLE"
  14125.   else
  14126.     return "DISABLE"
  14127.   end
  14128. end
  14129.  
  14130. function GetCo()
  14131.   if mapCo == 1 then
  14132.     return "ENABLE"
  14133.   else
  14134.     return "DISABLE"
  14135.   end
  14136. end
  14137.  
  14138. function GetTickets()
  14139.   if inTickets == 1 then
  14140.     return "ENABLE"
  14141.   else
  14142.     return "DISABLE"
  14143.   end
  14144. end
  14145.  
  14146. function GetDamage()
  14147.   if damageWeapon == 1 then
  14148.     return "ENABLE"
  14149.   else
  14150.     return "DISABLE"
  14151.   end
  14152. end
  14153.  
  14154. function GetAlone()
  14155.   if alonePlayer == 1 then
  14156.     return "ENABLE"
  14157.   else
  14158.     return "DISABLE"
  14159.   end
  14160. end
  14161.  
  14162. function GetInv()
  14163.   if invPlayer == 1 then
  14164.     return "ENABLE"
  14165.   else
  14166.     return "DISABLE"
  14167.   end
  14168. end
  14169.  
  14170. function GetClass()
  14171.   if classTime == 1 then
  14172.     return "ENABLE"
  14173.   else
  14174.     return "DISABLE"
  14175.   end
  14176. end
  14177.  
  14178. function GetHealth()
  14179.   if inHealth == 1 then
  14180.     return "ENABLE"
  14181.   else
  14182.     return "DISABLE"
  14183.   end
  14184. end
  14185.  
  14186. function GetFreeze()
  14187.   if timeFreeze == 1 then
  14188.     return "ENABLE"
  14189.   else
  14190.     return "DISABLE"
  14191.   end
  14192. end
  14193.  
  14194. function GetMoney()
  14195.   if inMoney == 1 then
  14196.     return "ENABLE"
  14197.   else
  14198.     return "DISABLE"
  14199.   end
  14200. end
  14201.  
  14202. function GetAlly()
  14203.   if playerAlly == 1 then
  14204.     return "ENABLE"
  14205.   else
  14206.     return "DISABLE"
  14207.   end
  14208. end
  14209.  
  14210. function GetHidingMenu()
  14211.   if hideMenu == 2 then
  14212.     hidingMenu = "MANUAL"
  14213.     unhideMenu = 1
  14214.     return "MANUAL"
  14215.   elseif hideMenu == 1 then
  14216.     hidingMenu = "AUTO"
  14217.     unhideMenu = 0
  14218.     return "AUTO"
  14219.   end
  14220. end
  14221.  
  14222. function GetNa()
  14223.   if showText then
  14224.     return "T"
  14225.   else
  14226.     return "F"
  14227.   end
  14228. end
  14229.  
  14230. function UseTarget()
  14231.   if useTargetSetting == 1 then
  14232.     return "ENABLE"
  14233.   else
  14234.     return "DISABLE"
  14235.   end
  14236. end
  14237.  
  14238. function UseGravity()
  14239.   if gravityPlayer == 0 then
  14240.     return "ENABLE"
  14241.   else
  14242.     return "DISABLE"
  14243.   end
  14244. end
  14245.  
  14246. function UsePoints()
  14247.   if noPunishment == 1 then
  14248.     return "ENABLE"
  14249.   else
  14250.     return "DISABLE"
  14251.   end
  14252. end
  14253.  
  14254. function GetName()
  14255.   local ped = GetTarget()
  14256.   if ped == gPlayer then
  14257.     return "Player"
  14258.   else
  14259.     return PedGetName(ped)
  14260.   end
  14261. end
  14262.  
  14263. function ECACC()
  14264.   if ecacs then
  14265.     return "TRUE"
  14266.   else
  14267.     return "FALSE"
  14268.   end
  14269. end
  14270.  
  14271. function BCACC()
  14272.   if bcacs then
  14273.     return "TRUE"
  14274.   else
  14275.     return "FALSE"
  14276.   end
  14277. end
  14278.  
  14279. function GCACC()
  14280.   if gcacs then
  14281.     return "TRUE"
  14282.   else
  14283.     return "FALSE"
  14284.   end
  14285. end
  14286.  
  14287. function MCACC()
  14288.   if mcacs then
  14289.     return "TRUE"
  14290.   else
  14291.     return "FALSE"
  14292.   end
  14293. end
  14294.  
  14295. function RunFromBattle()
  14296.   if pedRun then
  14297.     return "TRUE"
  14298.   else
  14299.     return "FALSE"
  14300.   end
  14301. end
  14302.  
  14303. function DontFightBack()
  14304.   if pedDFB then
  14305.     return "TRUE"
  14306.   else
  14307.     return "FALSE"
  14308.   end
  14309. end
  14310.  
  14311. function AttackEachOther()
  14312.   if pedAEO then
  14313.     return "TRUE"
  14314.   else
  14315.     return "FALSE"
  14316.   end
  14317. end
  14318.  
  14319. function GetVoice()
  14320.   if shutUp then
  14321.     return "DISABLE"
  14322.   else
  14323.     return "ENABLE"
  14324.   end
  14325. end
  14326.  
  14327. function F_AutoTextPrint()
  14328.   if hidingMenu == "AUTO" then
  14329.     AutoShowingTextAfterExitingSubMenu = true
  14330.   end
  14331. end
  14332.  
  14333. ----------------------------------SM_LOCALMULTIPLAYER----------------------------------
  14334.  
  14335. local weaponSelect = 1
  14336. local weapons = {}
  14337. local wiponSelect = 1
  14338. local wipons = {}
  14339. local vhcl1 = {}
  14340. local select1 = 1
  14341. local vhcl2 = {}
  14342. local select2 = 1
  14343. local wponSelect = 1
  14344. local wpons = {}
  14345. local wpnSelect = 1
  14346. local wpn = {}
  14347. local gt,sec,minute,hour = GetTimer(),0,0,0
  14348. playerIn = false
  14349.  
  14350. function get_timer()
  14351.   convert = function(n)
  14352.     if n > 0 and n < 10 then
  14353.       return "0"..n
  14354.     end
  14355.     return n
  14356.   end
  14357.   if gt + 1000 <= GetTimer() then
  14358.     sec = sec + 1
  14359.     if sec > 60 then
  14360.       sec = 0
  14361.       minute = minute + 1
  14362.       if minute > 59 then
  14363.         minute = 0
  14364.         hour = hour + 1
  14365.       end
  14366.     end
  14367.     gt = GetTimer()
  14368.   end
  14369.   return convert(hour).."h "..convert(minute).."m "..convert(sec).."s"
  14370. end
  14371.    
  14372. function IsMoving()
  14373.   local s = 0.08 -- sensitivity
  14374.   return GetStickValue(16,c) > s or GetStickValue(16,c) < -s or GetStickValue(17,c) > s or GetStickValue(17,c) < -s
  14375. end
  14376.  
  14377. function LocalMultiplayerATZ()
  14378.   local ped = PedGetTargetPed(gPlayer)
  14379.   local glvp1 = PedGetLastVehicle(gPlayer)
  14380.   local glvp2 = PedGetLastVehicle(Player2)
  14381.   local glvp3 = PedGetLastVehicle(Player3)
  14382.   local defkey = PedMePlaying(Player2,"DEFAULT_KEY")
  14383.   local defkey1 = PedMePlaying(Player3,"DEFAULT_KEY")
  14384.   table.insert(weapons,{name = "Fists",model = -1})
  14385.   table.insert(weapons,{name = "Flashlight",model = 420})
  14386.   table.insert(weapons,{name = "Super Spudgun",model = 396})
  14387.   table.insert(weapons,{name = "Skateboard",model = 437})
  14388.   table.insert(weapons,{name = "Camera",model = 328})
  14389.   table.insert(weapons,{name = "Itching Powder",model = 394})
  14390.   table.insert(weapons,{name = "Spraycan",model = 321})
  14391.   table.insert(weapons,{name = "Marble",model = 349})
  14392.   table.insert(weapons,{name = "Rubber Band Ball",model = 325})
  14393.   table.insert(weapons,{name = "Eggs",model = 312})
  14394.   table.insert(weapons,{name = "Stink Bomb",model = 309})
  14395.   table.insert(weapons,{name = "Newspaper",model = 320})
  14396.   table.insert(weapons,{name = "Rocket Launcher",model = 307})
  14397.   table.insert(weapons,{name = "Spudgun",model = 305})
  14398.   table.insert(weapons,{name = "Super Slingshot",model = 306})
  14399.   table.insert(weapons,{name = "Slingshot",model = 303})
  14400.   table.insert(weapons,{name = "Firecracker",model = 301})
  14401.   table.insert(wipons,{name = "Fists",model = -1})
  14402.   table.insert(wipons,{name = "Flashlight",model = 420})
  14403.   table.insert(wipons,{name = "Super Spudgun",model = 396})
  14404.   table.insert(wipons,{name = "Skateboard",model = 437})
  14405.   table.insert(wipons,{name = "Camera",model = 328})
  14406.   table.insert(wipons,{name = "Itching Powder",model = 394})
  14407.   table.insert(wipons,{name = "Spraycan",model = 321})
  14408.   table.insert(wipons,{name = "Marble",model = 349})
  14409.   table.insert(wipons,{name = "Rubber Band Ball",model = 325})
  14410.   table.insert(wipons,{name = "Eggs",model = 312})
  14411.   table.insert(wipons,{name = "Stink Bomb",model = 309})
  14412.   table.insert(wipons,{name = "Newspaper",model = 320})
  14413.   table.insert(wipons,{name = "Rocket Launcher",model = 307})
  14414.   table.insert(wipons,{name = "Spudgun",model = 305})
  14415.   table.insert(wipons,{name = "Super Slingshot",model = 306})
  14416.   table.insert(wipons,{name = "Slingshot",model = 303})
  14417.   table.insert(wipons,{name = "Firecracker",model = 301})
  14418.   table.insert(wpn,{name = "Fists",model = -1})
  14419.   table.insert(wpn,{name = "Eggs",model = 312})
  14420.   table.insert(wpn,{name = "Stink Bomb",model = 309})
  14421.   table.insert(wpn,{name = "Newspaper",model = 320})
  14422.   table.insert(wpn,{name = "Firecracker",model = 301})
  14423.   table.insert(wpons,{name = "Fists",model = -1})
  14424.   table.insert(wpons,{name = "Eggs",model = 312})
  14425.   table.insert(wpons,{name = "Stink Bomb",model = 309})
  14426.   table.insert(wpons,{name = "Newspaper",model = 320})
  14427.   table.insert(wpons,{name = "Firecracker",model = 301})
  14428.   if IsButtonBeingPressed(11,1) and weaponSelect > 1 and not PedIsInAnyVehicle(Player2) then
  14429.     if PedHasWeapon(Player2,387) or PedHasWeapon(Player2,324) or PedHasWeapon(Player2,342) then
  14430.       PedDestroyWeapon(Player2,PedGetWeapon(Player2))
  14431.     end
  14432.     weaponSelect = weaponSelect - 1
  14433.     PedSetWeapon(Player2,weapons[weaponSelect].model,50)
  14434.     TextPrintString("Weapon:\nPlayer 2: "..weapons[weaponSelect].name.."\nPlayer 3: "..wipons[wiponSelect].name,0.5,2)
  14435.     PedSetActionNode(Player2,"/Global/Player","Act/Player.act")
  14436.   elseif IsButtonBeingPressed(13,1) and weaponSelect < table.getn(weapons) and not PedIsInAnyVehicle(Player2) then
  14437.     if PedHasWeapon(Player2,387) or PedHasWeapon(Player2,324) or PedHasWeapon(Player2,342) then
  14438.       PedDestroyWeapon(Player2,PedGetWeapon(Player2))
  14439.     end
  14440.     weaponSelect = weaponSelect + 1
  14441.     PedSetWeapon(Player2,weapons[weaponSelect].model,50)
  14442.     TextPrintString("Weapon:\nPlayer 2: "..weapons[weaponSelect].name.."\nPlayer 3: "..wipons[wiponSelect].name,0.5,2)
  14443.     PedSetActionNode(Player2,"/Global/Player","Act/Player.act")
  14444.   elseif IsButtonBeingPressed(11,2) and wiponSelect > 1 and not PedIsInAnyVehicle(Player3) then
  14445.     if PedHasWeapon(Player3,387) or PedHasWeapon(Player3,324) or PedHasWeapon(Player3,342) then
  14446.       PedDestroyWeapon(Player3,PedGetWeapon(Player3))
  14447.     end
  14448.     wiponSelect = wiponSelect - 1
  14449.     PedSetWeapon(Player3,wipons[wiponSelect].model,50)
  14450.     TextPrintString("Weapon:\nPlayer 2: "..weapons[weaponSelect].name.."\nPlayer 3: "..wipons[wiponSelect].name,0.5,2)
  14451.     PedSetActionNode(Player3,"/Global/Player","Act/Player.act")
  14452.   elseif IsButtonBeingPressed(13,2) and wiponSelect < table.getn(wipons) and not PedIsInAnyVehicle(Player3) then
  14453.     if PedHasWeapon(Player3,387) or PedHasWeapon(Player3,324) or PedHasWeapon(Player3,342) then
  14454.       PedDestroyWeapon(Player3,PedGetWeapon(Player3))
  14455.     end
  14456.     wiponSelect = wiponSelect + 1
  14457.     PedSetWeapon(Player3,wipons[wiponSelect].model,50)
  14458.     TextPrintString("Weapon:\nPlayer 2: "..weapons[weaponSelect].name.."\nPlayer 3: "..wipons[wiponSelect].name,0.5,2)
  14459.     PedSetActionNode(Player3,"/Global/Player","Act/Player.act")
  14460.   end
  14461.   if IsButtonBeingPressed(11,1) and wpnSelect > 1 and PedIsInAnyVehicle(Player2) then
  14462.     wpnSelect = wpnSelect - 1
  14463.     PedSetWeapon(Player2,wpn[wpnSelect].model,50)
  14464.     TextPrintString("Vehicle Weapon:\nPlayer 2: "..wpn[wpnSelect].name.."\nPlayer 3: "..wpons[wponSelect].name,0.5,2)
  14465.   elseif IsButtonBeingPressed(13,1) and wpnSelect < table.getn(wpn) and PedIsInAnyVehicle(Player2) then
  14466.     wpnSelect = wpnSelect + 1
  14467.     PedSetWeapon(Player2,wpn[wpnSelect].model,50)
  14468.     TextPrintString("Vehicle Weapon:\nPlayer 2: "..wpn[wpnSelect].name.."\nPlayer 3: "..wpons[wponSelect].name,0.5,2)
  14469.   elseif IsButtonBeingPressed(11,2) and wponSelect > 1 and PedIsInAnyVehicle(Player3) then
  14470.     wponSelect = wponSelect - 1
  14471.     PedSetWeapon(Player3,wpons[wponSelect].model,50)
  14472.     TextPrintString("Vehicle Weapon:\nPlayer 2: "..wpn[wpnSelect].name.."\nPlayer 3: "..wpons[wponSelect].name,0.5,2)
  14473.   elseif IsButtonBeingPressed(13,1) and wponSelect < table.getn(wpons) and PedIsInAnyVehicle(Player3) then
  14474.     wponSelect = wponSelect + 1
  14475.     PedSetWeapon(Player3,wpons[wponSelect].model,50)
  14476.     TextPrintString("Vehicle Weapon:\nPlayer 2: "..wpn[wpnSelect].name.."\nPlayer 3: "..wpons[wponSelect].name,0.5,2)
  14477.   end
  14478.   if PedIsValid(Player2) then
  14479.     if PedIsInVehicle(Player2,glvp2) then
  14480.       if (PedHasWeapon(Player2,301) or PedHasWeapon(Player2,312) or PedHasWeapon(Player2,309) or PedHasWeapon(Player2,320)) and IsButtonBeingPressed(12,1) then
  14481.         PedSetActionNode(Player2,"/Global/Vehicles/Bikes/Ground/Attacks/Throw/Throw","Act/Vehicles.act")
  14482.       end
  14483.     end
  14484.   elseif PedIsValid(Player3) then
  14485.     if PedIsInVehicle(Player3,glvp3) then
  14486.       if (PedHasWeapon(Player3,301) or PedHasWeapon(Player3,312) or PedHasWeapon(Player3,309) or PedHasWeapon(Player3,320)) and IsButtonBeingPressed(12,2) then
  14487.         PedSetActionNode(Player3,"/Global/Vehicles/Bikes/Ground/Attacks/Throw/Throw","Act/Vehicles.act")
  14488.       end
  14489.     end
  14490.   end
  14491.   local defkey = PedMePlaying(Player2,"DEFAULT_KEY")
  14492.   local defkey1 = PedMePlaying(Player3,"DEFAULT_KEY")
  14493.   local ped = PedGetTargetPed(gPlayer)
  14494.   local glvp1 = PedGetLastVehicle(gPlayer)
  14495.   local glvp2 = PedGetLastVehicle(Player2)
  14496.   local glvp3 = PedGetLastVehicle(Player3)
  14497.   if IsButtonBeingPressed(6,1) and defkey and not IsButtonPressed(7,1) and PedHasWeapon(Player2,-1) then
  14498.     PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act")
  14499.     nextCombo = false
  14500.   elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1","Act/Anim/BoxingPlayer.act") and nextCombo then
  14501.     PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act")
  14502.     nextCombo = false
  14503.   elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act") and nextCombo then
  14504.     PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act")
  14505.     nextCombo = false
  14506.   elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act") and nextCombo then
  14507.     PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act")
  14508.     nextCombo = false
  14509.   elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act") and nextCombo then
  14510.     PedSetActionNode(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut", "Act/Anim/Player.act")
  14511.   end
  14512.   if IsButtonPressed(7,1) and IsButtonPressed(16,1) and IsButtonPressed(17,1) and PedIsValid(Player2) and not PedIsDead(Player2) and not (PedHasWeapon(Player2,305) or PedHasWeapon(Player2,307) or PedHasWeapon(Player2,396)) and (defkey or PedIsInAnyVehicle(Player2)) then
  14513.     PedSetActionNode(Player2,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act")
  14514.   elseif (IsButtonBeingReleased(7,1) or IsButtonBeingReleased(16,1) or PedIsDead(Player2)) and PedIsPlaying(Player2,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act") then
  14515.     PedSetActionNode(Player2,"/Global/Player","Act/Player.act")
  14516.   elseif IsButtonBeingPressed(9,1) and not PedIsDead(Player2) and PedIsValid(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14517.     PedSetActionNode(Player2,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
  14518.   elseif IsButtonBeingPressed(2,1) and not PedIsDead(Player2) and PedIsValid(Player2) and PedIsValid(PedGetGrappleTargetPed(Player2)) and not PedIsInAnyVehicle(Player2) then
  14519.     PedSetActionNode(Player2,"/Global/Actions/Grapples/GrappleReversals/StandingReversals/GrappleBreak/Break_GIVE","Act/Globals.act")
  14520.   elseif IsButtonBeingPressed(8,1) and not IsButtonPressed(16,1) and not IsButtonPressed(17,1) and not IsMoving() and not PedIsInAnyVehicle(Player2) and defkey then
  14521.     PedSetActionNode(Player2, "/Global/Player/JumpActions/Jump/IdleJump/IdleJump","Act/Anim/Player.act")
  14522.   elseif IsButtonBeingPressed(8,1) and IsButtonPressed(16,1) and IsButtonPressed(17,1) and not PedIsInAnyVehicle(Player2) and defkey then
  14523.     PedSetActionNode(Player2,"/Global/Player/JumpActions/Jump","Act/Anim/Player.act")
  14524.   elseif IsButtonBeingPressed(2,1) and PedIsPlaying(Player2,"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act") then
  14525.     PedSetActionNode(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax", "Act/Anim/Player.act")
  14526.   elseif IsButtonBeingPressed(2,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act") then
  14527.     PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Unblockable/JackieKick", "Act/Anim/Player.act")
  14528.   elseif IsButtonBeingPressed(2,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act") then
  14529.     PedSetActionNode(Player2, "/Global/Actions/RisingAttacks", "Globals/G_Striker_A.act")
  14530.   elseif IsButtonBeingPressed(2,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act") then
  14531.     PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/Unblockable", "Act/Anim/Player.act")
  14532.   elseif PedIsInAnyVehicle(Player2) and IsButtonBeingPressed(9,1) then
  14533.     PedSetActionNode(Player2,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  14534.   elseif IsButtonBeingPressed(12,1) and PedHasWeapon(Player2,305) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14535.     PedSetActionNode(Player2, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  14536.   elseif IsButtonBeingPressed(12,1) and PedHasWeapon(Player2,396) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14537.     PedSetActionNode(Player2, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  14538.   elseif IsButtonBeingPressed(12,1) and PedHasWeapon(Player2,307) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14539.     PedSetActionNode(Player2, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/Brocket/Release","Act/Weapons/Gun.act")
  14540.   elseif IsButtonBeingPressed(12,1) and PedHasWeapon(Player2,311) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14541.     PedSetActionNode(Player2,"/Global/Nemesis/Special/Throw","Act/Anim/Nemesis.act")
  14542.   elseif IsButtonBeingPressed(12,1) and PedHasWeaponToThrown(Player2) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14543.     PedSetActionNode(Player2,"/Global/Thrown/Thrown/Actions/Controller/UpperBody/OverHand/Throw","Act/Weapons/Thrown.act")
  14544.   elseif IsButtonBeingPressed(12,1) and (PedHasWeapon(Player2,303) or PedHasWeapon(Player2,306)) and not PedIsDead(Player2) and not PedIsInAnyVehicle(Player2) and defkey then
  14545.     PedSetActionNode(Player2,"/Global/SlingShot/SlingShot/Actions/Controller/UpperBody/FireActions/Charge","Act/Weapons/SlingShot.act")
  14546.   elseif IsButtonPressed(7,2) and IsButtonPressed(16,2) and IsButtonPressed(17,2) and PedIsValid(Player3) and not PedIsDead(Player3) and not (PedHasWeapon(Player3,305) or PedHasWeapon(Player3,307) or PedHasWeapon(Player3,396)) and (defkey1 or PedIsInAnyVehicle(Player3)) then
  14547.     PedSetActionNode(Player3,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act")
  14548.   elseif (IsButtonBeingReleased(7,2) or IsButtonBeingReleased(16,2) or PedIsDead(Player3)) and PedIsPlaying(Player3,"/Global/G_Johnny/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/G_Johnny.act") then
  14549.     PedSetActionNode(Player3,"/Global/Player","Act/Player.act")
  14550.   elseif IsButtonBeingPressed(9,2) and not PedIsDead(Player3) and PedIsValid(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14551.     PedSetActionNode(Player3,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
  14552.   elseif IsButtonBeingPressed(2,2) and not PedIsDead(Player3) and PedIsValid(Player3) and PedIsValid(PedGetGrappleTargetPed(Player3)) and not PedIsInAnyVehicle(Player3) then
  14553.     PedSetActionNode(Player3,"/Global/Actions/Grapples/GrappleReversals/StandingReversals/GrappleBreak/Break_GIVE","Act/Globals.act")
  14554.   elseif IsButtonBeingPressed(8,2) and not IsButtonPressed(16,2) and not IsButtonPressed(17,2) and not IsMoving() and not PedIsInAnyVehicle(Player3) and defkey1 then
  14555.     PedSetActionNode(Player3, "/Global/Player/JumpActions/Jump/IdleJump/IdleJump","Act/Anim/Player.act")
  14556.   elseif IsButtonBeingPressed(8,2) and IsButtonPressed(16,2) and IsButtonPressed(17,2) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14557.     PedSetActionNode(Player3,"/Global/Player/JumpActions/Jump","Act/Anim/Player.act")
  14558.   elseif IsButtonBeingPressed(6,2) and defkey1 and not IsButtonPressed(7,2) then
  14559.     PedSetActionNode(Player3, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act")
  14560.   elseif IsButtonBeingPressed(6,2) and PedIsPlaying(Player3,"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1","Act/Anim/BoxingPlayer.act") then
  14561.     PedSetActionNode(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act")
  14562.   elseif IsButtonBeingPressed(6,2) and PedIsPlaying(Player3,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act") then
  14563.     PedSetActionNode(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act")
  14564.   elseif IsButtonBeingPressed(6,2) and PedIsPlaying(Player3,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act") then
  14565.     PedSetActionNode(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act")
  14566.   elseif IsButtonBeingPressed(6,2) and PedIsPlaying(Player3,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act") then
  14567.     PedSetActionNode(Player3,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut", "Act/Anim/Player.act")
  14568.   elseif IsButtonBeingPressed(2,2) and PedIsPlaying(Player3,"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act") then
  14569.     PedSetActionNode(Player3,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax", "Act/Anim/Player.act")
  14570.   elseif IsButtonBeingPressed(2,2) and PedIsPlaying(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act") then
  14571.     PedSetActionNode(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Unblockable/JackieKick", "Act/Anim/Player.act")
  14572.   elseif IsButtonBeingPressed(2,2) and PedIsPlaying(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act") then
  14573.     PedSetActionNode(Player3, "/Global/Actions/RisingAttacks", "Globals/G_Striker_A.act")
  14574.   elseif IsButtonBeingPressed(2,2) and PedIsPlaying(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act") then
  14575.     PedSetActionNode(Player3, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/Unblockable", "Act/Anim/Player.act")
  14576.   elseif PedIsInAnyVehicle(Player3) and IsButtonBeingPressed(9,2) then
  14577.     PedSetActionNode(Player3,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  14578.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,305) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14579.     PedSetActionNode(Player3, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  14580.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,396) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14581.     PedSetActionNode(Player3, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  14582.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,349) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14583.     PedSetActionNode(Player3, "/Global/2_S04/Anim/AttachMarbles","Act/Conv/2_S04.act")
  14584.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,307) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14585.     PedSetActionNode(Player3, "/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/Brocket/Release","Act/Weapons/Gun.act")
  14586.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,311) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14587.     PedSetActionNode(Player3,"/Global/Nemesis/Special/Throw","Act/Anim/Nemesis.act")
  14588.   elseif IsButtonBeingPressed(12,2) and PedHasWeaponToThrown(Player3) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14589.     PedSetActionNode(Player3,"/Global/Thrown/Thrown/Actions/Controller/UpperBody/OverHand/Throw","Act/Weapons/Thrown.act")
  14590.   elseif IsButtonBeingPressed(12,2) and (PedHasWeapon(Player3,303) or PedHasWeapon(Player3,306)) and not PedIsDead(Player3) and not PedIsInAnyVehicle(Player3) and defkey1 then
  14591.     PedSetActionNode(Player3,"/Global/SlingShot/SlingShot/Actions/Controller/UpperBody/FireActions/Charge","Act/Weapons/SlingShot.act")
  14592.   elseif PedIsValid(PedGetGrappleTargetPed(Player2)) then
  14593.     if IsButtonBeingPressed(8,1) then
  14594.       PedSetActionNode(Player2,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitA", "Globals/Nemesis.act")
  14595.     elseif IsButtonBeingPressed(6,1) then
  14596.       PedSetActionNode(Player2,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitB", "Globals/Nemesis.act")
  14597.     elseif IsButtonBeingPressed(7,1) then
  14598.       PedSetActionNode(Player2,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/TandemGrapple","act/anim/Player.act")
  14599.     elseif IsButtonBeingPressed(9,1) then
  14600.       PedSetActionNode(Player2,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/DirectionalPush","Act/Globals.act")
  14601.     end
  14602.   elseif PedIsValid(PedGetGrappleTargetPed(Player3)) then
  14603.     if IsButtonBeingPressed(8,2) then
  14604.       PedSetActionNode(Player3,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitA", "act/anim/Player.act")
  14605.     elseif IsButtonBeingPressed(6,2) then
  14606.       PedSetActionNode(Player3,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitB", "act/anim/Player.act")
  14607.     elseif IsButtonBeingPressed(7,2) then
  14608.       PedSetActionNode(Player3,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/TandemGrapple","act/anim/Player.act")
  14609.     elseif IsButtonBeingPressed(9,2) then
  14610.       PedSetActionNode(Player3,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/DirectionalPush","Act/Globals.act")
  14611.     end
  14612.   elseif IsButtonBeingPressed(2,1) and defkey and PedIsValid(Player2) and not PedIsDead(Player2) then
  14613.     PedSetActionNode(Player2,"/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick","act/anim/Player.act")
  14614.   elseif IsButtonBeingPressed(2,2) and defkey1 and PedIsValid(Player3) and not PedIsDead(Player3) then
  14615.     PedSetActionNode(Player3,"/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick","act/anim/Player.act")
  14616.   elseif IsButtonPressed(7,1) and IsButtonPressed(6,1) and defkey and PedIsValid(Player2) and not PedIsDead(Player2) then
  14617.     PedSetActionNode(Player2,"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","act/anim/Player.act")
  14618.   elseif IsButtonPressed(7,2) and IsButtonPressed(6,2) and defkey1 and PedIsValid(Player3) and not PedIsDead(Player3) then
  14619.     PedSetActionNode(Player3,"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","act/anim/Player.act")
  14620.   elseif IsButtonBeingPressed(15,1) and not PedGetFlag(Player2, 2, true) and not PedIsDead(Player2) and PedIsValid(Player2) and defkey and not PedIsInAnyVehicle(Player2) then
  14621.     PedSetFlag(Player2, 2, true)
  14622.   elseif IsButtonBeingPressed(15,1) and PedGetFlag(Player2, 2, true) and PedIsValid(Player2) and not PedIsDead(Player2) then
  14623.     PedSetFlag(Player2, 2, false)
  14624.   elseif IsButtonBeingPressed(15,2) and not PedGetFlag(Player3, 2, true) and not PedIsDead(Player3) and PedIsValid(Player3) and defkey1 and not PedIsInAnyVehicle(Player3) then
  14625.     PedSetFlag(Player3, 2, true)
  14626.   elseif IsButtonBeingPressed(15,2) and PedGetFlag(Player3, 2, true) and PedIsValid(Player3) and not PedIsDead(Player3) then
  14627.     PedSetFlag(Player3, 2, false)
  14628.   elseif IsButtonBeingPressed(2,1) and PedIsInAnyVehicle(Player2) and not PedHasWeapon(Player2,418) then
  14629.     PedSetWeapon(Player2,418)
  14630.   elseif IsButtonBeingPressed(10,1) and PedHasWeapon(Player2,418) and PedIsInAnyVehicle(Player2) then
  14631.     PedSetActionNode(Player2,"/Global/Vehicles/Bikes/ExecuteNodes/Attacks/LeadPipe/SwingRightExec","Act/Vehicles.act")
  14632.   elseif IsButtonBeingPressed(12,1) and PedHasWeapon(Player2,418) and PedIsInAnyVehicle(Player2) then
  14633.     PedSetActionNode(Player2,"/Global/Vehicles/Bikes/ExecuteNodes/Attacks/LeadPipe/SwingLeftExec","Act/Vehicles.act")
  14634.   elseif IsButtonBeingPressed(2,2) and PedIsInAnyVehicle(Player3) and not PedHasWeapon(Player3,418) then
  14635.     PedSetWeapon(Player3,418)
  14636.   elseif IsButtonBeingPressed(10,2) and PedHasWeapon(Player3,418) and PedIsInAnyVehicle(Player3) then
  14637.     PedSetActionNode(Player3,"/Global/Vehicles/Bikes/ExecuteNodes/Attacks/LeadPipe/SwingRightExec","Act/Vehicles.act")
  14638.   elseif IsButtonBeingPressed(12,2) and PedHasWeapon(Player3,418) and PedIsInAnyVehicle(Player3) then
  14639.     PedSetActionNode(Player3,"/Global/Vehicles/Bikes/ExecuteNodes/Attacks/LeadPipe/SwingLeftExec","Act/Vehicles.act")
  14640.   elseif PedHasWeapon(Player2,321) and IsButtonBeingPressed(12,1) and not PedIsInAnyVehicle(Player2) and PedIsValid(Player2) and defkey then
  14641.     PedSetActionNode(Player2,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act")
  14642.   elseif PedHasWeapon(Player2,321) and IsButtonBeingReleased(12,1) and PedIsPlaying(Player2,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act") then
  14643.     PedSetActionNode(Player2,"/Global/Player","Act/Player.act")
  14644.   elseif PedHasWeapon(Player3,321) and IsButtonBeingPressed(6,2) and not PedIsInAnyVehicle(Player3) and PedIsValid(Player3) and defkey1 then
  14645.     PedSetActionNode(Player3,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act")
  14646.   elseif PedHasWeapon(Player3,321) and IsButtonBeingReleased(6,2) and PedIsPlaying(Player3,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act") then
  14647.     PedSetActionNode(Player3,"/Global/Player","Act/Player.act")
  14648.   end
  14649.   if PedIsPlaying(Player2,"/Global/Vehicles/SkateBoard/Locomotion/Ride/Coast","Act/Vehicles.act") and IsButtonBeingPressed(8,1) then
  14650.     PedSetActionNode(Player2,"/Global/Vehicles/SkateBoard/Locomotion/Ride/ChargeJump/Ali","Act/Vehicles.act")
  14651.   elseif PedIsPlaying(Player3,"/Global/Vehicles/SkateBoard/Locomotion/Ride/Coast","Act/Vehicles.act") and IsButtonBeingPressed(8,2) then
  14652.     PedSetActionNode(Player3,"/Global/Vehicles/SkateBoard/Locomotion/Ride/ChargeJump/Ali","Act/Vehicles.act")
  14653.   end
  14654.   if IsButtonPressed(10,1) and PedIsValid(Player2) then
  14655.     for i,ped1 in {PedFindInAreaXYZ(0,0,0,999999)} do
  14656.       x1,y1,z1 = PedGetPosXYZ(ped1)
  14657.       x2,y2,z2 = PedGetPosXYZ(Player2)
  14658.       if PedIsValid(ped1) and ped1 ~= Player2 and math.abs(x1 - x2) + math.abs(y1 - y2) + math.abs(z1 - z2) < 3 then
  14659.         PedLockTarget(Player2,ped1)
  14660.       end
  14661.     end
  14662.   elseif IsButtonBeingReleased(10,1) then
  14663.     PedLockTarget(Player2,-1)
  14664.   elseif IsButtonPressed(10,2) and PedIsValid(Player3) then
  14665.     for i,ped2 in {PedFindInAreaXYZ(0,0,0,999999)} do
  14666.       x3,y3,z3 = PedGetPosXYZ(ped2)
  14667.       x4,y4,z4 = PedGetPosXYZ(Player3)
  14668.       if PedIsValid(ped2) and ped2 ~= Player3 and math.abs(x3 - x4) + math.abs(y3 - y4) + math.abs(z3 - z4) < 3 then
  14669.         PedLockTarget(Player3,ped2)
  14670.       end
  14671.     end
  14672.   elseif IsButtonBeingReleased(10,2) then
  14673.     PedLockTarget(Player3,-1)
  14674.   end
  14675.   if PedIsValid(Player2) and not PedIsValid(Player3) then
  14676.     PedSetPunishmentPoints(Player2,0)
  14677.     PedRecruitAlly(gPlayer,Player2)
  14678.     HUDSetFightStyle()
  14679.     PedShowHealthBar(Player2,true,PedGetName(Player2),true)
  14680.   elseif PedIsValid(Player3) and not PedIsValid(Player2) then
  14681.     PedSetPunishmentPoints(Player3,0)
  14682.     PedRecruitAlly(gPlayer,Player3)
  14683.     HUDSetFightStyle()
  14684.     PedShowHealthBar(Player3,true,PedGetName(Player3),true)
  14685.   elseif PedIsValid(Player2) and PedIsValid(Player3) then
  14686.     PedSetPunishmentPoints(Player2,0)
  14687.     PedSetPunishmentPoints(Player3,0)
  14688.     PedRecruitAlly(gPlayer,Player3)
  14689.     PedRecruitAlly(Player3,Player2)
  14690.     HUDSetFightStyle()
  14691.     PedShowHealthBar(Player2,true,PedGetName(Player2),true)
  14692.   end
  14693.   x1,y1,z1 = PedGetPosXYZ(Player2)
  14694.   if PedInRectangle(gPlayer,x1 + 1,y1 + 1,x1 - 1,y1 - 1) and PedIsValid(Player2) and PedIsInVehicle(Player2,VehicleForPlayer2) then
  14695.     if IsButtonBeingPressed(9,0) then
  14696.       PlayerFixToBackOfVehicle(VehicleForPlayer2)
  14697.       playerIn = false
  14698.       CreateThread("PlayerInBack")
  14699.     end
  14700.   end
  14701.   if playerIn then
  14702.     if IsButtonBeingPressed(9,0) or not PedIsInVehicle(Player2,VehicleForPlayer2) then
  14703.       PedSetActionNode(Player2,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  14704.       playerIn = false
  14705.     end
  14706.   end
  14707. end
  14708.  
  14709. function F_PunchSetting()
  14710.   if CloneIsPlaying() then
  14711.     if cWait + 300 <= GetTimer() then
  14712.       nextCombo = true
  14713.     else
  14714.       cWait = GetTimer()
  14715.     end
  14716.   end
  14717. end
  14718.  
  14719. function CloneIsPlaying()
  14720.   return PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch", "Act/Anim/Player.act") or
  14721.     PedIsPlaying(Player2,"/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1","Act/Anim/BoxingPlayer.act") or
  14722.     PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", "Act/Anim/Player.act") or
  14723.     PedIsPlaying(Player2,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Release/Hook", "Act/Anim/Player.act")
  14724. end
  14725.      
  14726.  
  14727. function PlayerInBack()
  14728.   while playerIn do
  14729.     x1,y1,z1 = PedGetPosXYZ(Player2)
  14730.     CameraSetXYZ(x1,y1,z1 + 10)
  14731.     Wait(0)
  14732.   end
  14733. end
  14734.  
  14735. function S_SetupLM()
  14736.   size = table.getn
  14737.   weSelect = 1
  14738.   wes = {
  14739.     {name = "Jimmy"             ,style = "Player"},
  14740.     {name = "Zoe"               ,style = "GS_Female_A"},
  14741.     {name = "Beatrice"          ,style = "GS_Female_A"},
  14742.     {name = "Algernon"          ,style = "N_Striker_B"},
  14743.     {name = "Fatty"             ,style = "N_Striker_A"},
  14744.     {name = "Melvin"            ,style = "N_Striker_A"},
  14745.     {name = "Thad"              ,style = "N_Ranged_A"},
  14746.     {name = "Bucky"             ,style = "N_Ranged_A"},
  14747.     {name = "Cornelius"         ,style = "N_Ranged_A"},
  14748.     {name = "Earnest"           ,style = "N_Ranged_A"},
  14749.     {name = "Donald"            ,style = "N_Ranged_A"},
  14750.     {name = "Damon"             ,style = "J_Striker_A"},
  14751.     {name = "Kirby"             ,style = "J_Striker_A"},
  14752.     {name = "Mandy"             ,style = "GS_Female_A"},
  14753.     {name = "Dan"               ,style = "J_Striker_A"},
  14754.     {name = "Luis"              ,style = "J_Grappler_A"},
  14755.     {name = "Casey"             ,style = "J_Melee_A"},
  14756.     {name = "Bo"                ,style = "J_Melee_A"},
  14757.     {name = "Ted"               ,style = "J_Striker_A"},
  14758.     {name = "Juri"              ,style = "J_Grappler_A"},
  14759.     {name = "Peanut"            ,style = "G_Striker_A"},
  14760.     {name = "Hal"               ,style = "G_Grappler_A"},
  14761.     {name = "Johnny"            ,style = "G_Striker_A"},
  14762.     {name = "Lefty"             ,style = "G_Melee_A"},
  14763.     {name = "Lola"              ,style = "GS_Female_A"},
  14764.     {name = "Lucky"             ,style = "G_Striker_A"},
  14765.     {name = "Vance"             ,style = "G_Melee_A"},
  14766.     {name = "Ricky"             ,style = "G_Striker_A"},
  14767.     {name = "Norton"            ,style = "G_Grappler_A"},
  14768.     {name = "Gord"              ,style = "P_Striker_A"},
  14769.     {name = "Tad"               ,style = "P_Striker_A"},
  14770.     {name = "Chad"              ,style = "P_Grappler_A"},
  14771.     {name = "Bif"               ,style = "P_Striker_A"},
  14772.     {name = "Justin"            ,style = "P_Striker_B"},
  14773.     {name = "Bryce"             ,style = "P_Grappler_A"},
  14774.     {name = "Bryce"             ,style = "P_Striker_A"},
  14775.     {name = "Darby"             ,style = "P_Striker_A"},
  14776.     {name = "Pinky"             ,style = "GS_Female_A"},
  14777.     {name = "Angie"             ,style = "GS_Female_A"},
  14778.     {name = "Parker"            ,style = "P_Striker_B"},
  14779.     {name = "Jerry"             ,style = "DO_Grappler_A"},
  14780.     {name = "Otto"              ,style = "DO_Striker_A"},
  14781.     {name = "Leon"              ,style = "DO_Striker_A"},
  14782.     {name = "Duncan"            ,style = "DO_Striker_A"},
  14783.     {name = "Henry"             ,style = "DO_Grappler_A"},
  14784.     {name = "Gurney"            ,style = "DO_Grappler_A"},
  14785.     {name = "Omar"              ,style = "DO_Striker_A"},
  14786.     {name = "Zoe"               ,style = "GS_Female_A"},
  14787.     {name = "Max"               ,style = "Authority"},
  14788.     {name = "Seth"              ,style = "Authority"},
  14789.     {name = "Edward"            ,style = "Authority"},
  14790.     {name = "Karl"              ,style = "Authority"},
  14791.     {name = "Theo"              ,style = "LE_Orderly_A"},
  14792.     {name = "MissPeabody"       ,style = "TE_Female_A"},
  14793.     {name = "MrBurton"          ,style = "Authority"},
  14794.     {name = "MrLuntz"           ,style = "CV_Male_A"},
  14795.     {name = "MrGalloway"        ,style = "Authority"},
  14796.     {name = "Edna"              ,style = "Authority"},
  14797.     {name = "MissWinston"       ,style = "TE_Female_A"},
  14798.     {name = "MrsMcRae"          ,style = "TE_Female_A"},
  14799.     {name = "MrHuntingdon"      ,style = "Authority"},
  14800.     {name = "MrsCarvin"         ,style = "TE_Female_A"},
  14801.     {name = "MsPhillips"        ,style = "TE_Female_A"},
  14802.     {name = "MrSlawter"         ,style = "Authority"},
  14803.     {name = "DrCrabblesnitch"   ,style = "Authority"},
  14804.     {name = "Sheldon"           ,style = "GS_Male_A"},
  14805.     {name = "Christy"           ,style = "GS_Female_A"},
  14806.     {name = "Gloria"            ,style = "GS_Female_A"},
  14807.     {name = "Pedro"             ,style = "GS_Male_A"},
  14808.     {name = "Constantinos"      ,style = "GS_Male_A"},
  14809.     {name = "Ray"               ,style = "GS_Fat_A"},
  14810.     {name = "Ivan"              ,style = "GS_Male_A"},
  14811.     {name = "Trevor"            ,style = "GS_Male_A"},
  14812.     {name = "Eunice"            ,style = "GS_Fat_A"},
  14813.     {name = "Russell"           ,style = "B_Striker_A"},
  14814.     {name = "DrBambillo"        ,style = "CV_Male_A"},
  14815.     {name = "MrSullivan"        ,style = "CV_Male_A"},
  14816.     {name = "MsKopke"           ,style = "CV_Female_A"},
  14817.     {name = "MsRushinski"       ,style = "CV_Female_A"},
  14818.     {name = "MsIsaacs"          ,style = "CV_Female_A"},
  14819.     {name = "BethanyJones"      ,style = "CV_Female_A"},
  14820.     {name = "ORourke"           ,style = "CV_Male_A"},
  14821.     {name = "OfficerMonson"     ,style = "Authority"},
  14822.     {name = "ZackOwens"         ,style = "CV_Male_A"},
  14823.     {name = "Trent"             ,style = "B_Striker_A"},
  14824.     {name = "TobiasMason"       ,style = "CV_Male_A"},
  14825.     {name = "MrGrant"           ,style = "CV_Male_A"},
  14826.     {name = "Mascot"            ,style = "J_Mascot"},
  14827.     {name = "MrOh"              ,style = "CV_Male_A"},
  14828.     {name = "Christy"           ,style = "GS_Female_A"},
  14829.     {name = "Edgar"             ,style = "DO_Striker_A"},
  14830.     {name = "Luis"              ,style = "J_Grappler_A"},
  14831.     {name = "Mandy"             ,style = "GS_Female_A"},
  14832.     {name = "Pinky"             ,style = "GS_Female_A"},
  14833.     {name = "Beatrice"          ,style = "GS_Female_A"},
  14834.     {name = "Lola"              ,style = "GS_Female_A"},
  14835.     {name = "OfficerWilliams"   ,style = "Authority"},
  14836.     {name = "Jimmy"             ,style = "Player"},
  14837.     {name = "Davis"             ,style = "B_Striker_A"},
  14838.     {name = "MrBreckindale"     ,style = "CV_Male_A"},
  14839.     {name = "MrDoolin"          ,style = "CV_Male_A"},
  14840.     {name = "Troy"              ,style = "B_Striker_A"},
  14841.     {name = "Nate"              ,style = "CV_Male_A"},
  14842.     {name = "MrCarmichael"      ,style = "CV_Male_A"},
  14843.     {name = "NickyCharles"      ,style = "CV_Male_A"},
  14844.     {name = "MrWatts"           ,style = "Authority"},
  14845.     {name = "MissAbby"          ,style = "CV_OLD"},
  14846.     {name = "Mihailovich"       ,style = "CV_Male_A"},
  14847.     {name = "Kirby"             ,style = "J_Striker_A"},
  14848.     {name = "Ted"               ,style = "J_Striker_A"},
  14849.     {name = "Dan"               ,style = "J_Striker_A"},
  14850.     {name = "Damon"             ,style = "J_Striker_A"},
  14851.     {name = "Freeley"           ,style = "CV_Male_A"},
  14852.     {name = "Dorsey"            ,style = "CV_Male_A"},
  14853.     {name = "Hector"            ,style = "CV_Male_A"},
  14854.     {name = "Osbourne"          ,style = "CV_Male_A"},
  14855.     {name = "Chad"              ,style = "P_Striker_A"},
  14856.     {name = "Justin"            ,style = "P_Striker_A"},
  14857.     {name = "Parker"            ,style = "P_Striker_A"},
  14858.     {name = "MariaTheresa"      ,style = "CV_Female_A"},
  14859.     {name = "Bob"               ,style = "GS_Male_A"},
  14860.     {name = "Fatty"             ,style = "GS_Male_A"},
  14861.     {name = "Chuck"             ,style = "CV_Male_A"},
  14862.     {name = "Ian"               ,style = "CV_Male_A"},
  14863.     {name = "Fenwick"           ,style = "DO_Striker_A"},
  14864.     {name = "Neil"              ,style = "Authority"},
  14865.     {name = "MrSvenson"         ,style = "CV_Male_A"},
  14866.     {name = "Denny"             ,style = "CV_Male_A"},
  14867.     {name = "MrGalloway"        ,style = "Authority"},
  14868.     {name = "Gary"              ,style = "B_Striker_A"},
  14869.     {name = "Krakauer"          ,style = "CV_OLD"},
  14870.     {name = "MrMoratti"         ,style = "CV_Male_A"},
  14871.     {name = "Bif"               ,style = "P_Striker_A"},
  14872.     {name = "Peter"             ,style = "GS_Male_A"},
  14873.     {name = "MrSmith"           ,style = "CV_Male_A"},
  14874.     {name = "Rat"               ,style = "AN_Rat"},
  14875.     {name = "Melody"            ,style = "GS_Female_A"},
  14876.     {name = "Karen"             ,style = "GS_Female_A"},
  14877.     {name = "Gordon"            ,style = "GS_Male_A"},
  14878.     {name = "Brandy"            ,style = "GS_Male_A"},
  14879.     {name = "Pitbull"           ,style = "AN_DOG"},
  14880.     {name = "Lance"             ,style = "GS_Male_A"},
  14881.     {name = "Crystal"           ,style = "CV_Female_A"},
  14882.     {name = "MrMartin"          ,style = "CV_Male_A"},
  14883.     {name = "Ethan"             ,style = "B_Striker_A"},
  14884.     {name = "Wade"              ,style = "B_Striker_A"},
  14885.     {name = "Tom"               ,style = "B_Striker_A"},
  14886.     {name = "MrRamirez"         ,style = "CV_Male_A"},
  14887.     {name = "MrHuntingdon"      ,style = "CV_Male_A"},
  14888.     {name = "Otto"              ,style = "DO_Striker_A"},
  14889.     {name = "MrWiggins"         ,style = "Authority"},
  14890.     {name = "Floyd"             ,style = "CV_Male_A"},
  14891.     {name = "Leon"              ,style = "DO_Striker_A"},
  14892.     {name = "Henry"             ,style = "DO_Striker_A"},
  14893.     {name = "Fatty"             ,style = "N_Striker_A"},
  14894.     {name = "Stan"              ,style = "CV_Male_A"},
  14895.     {name = "Handy"             ,style = "CV_OLD"},
  14896.     {name = "Gregory"           ,style = "LE_Orderly_A"},
  14897.     {name = "Pedro"             ,style = "GS_Male_A"},
  14898.     {name = "Gary"              ,style = "B_Striker_A"},
  14899.     {name = "Lucky"             ,style = "G_Striker_A"},
  14900.     {name = "Donald"            ,style = "N_Ranged_A"},
  14901.     {name = "Parker"            ,style = "P_Striker_B"},
  14902.     {name = "Casey"             ,style = "J_Melee_A"},
  14903.     {name = "Peter"             ,style = "GS_Male_A"},
  14904.     {name = "Angie"             ,style = "GS_Female_A"},
  14905.     {name = "Pinky"             ,style = "GS_Female_A"},
  14906.     {name = "Damon"             ,style = "J_Striker_A"},
  14907.     {name = "Gordon"            ,style = "GS_Male_A"},
  14908.     {name = "Ivan"              ,style = "B_Striker_A"},
  14909.     {name = "Trevor"            ,style = "B_Striker_A"},
  14910.     {name = "Bif"               ,style = "P_Striker_A"},
  14911.     {name = "Vance"             ,style = "G_Melee_A"},
  14912.     {name = "Thad"              ,style = "N_Ranged_A"},
  14913.     {name = "Pinky"             ,style = "GS_Female_A"},
  14914.     {name = "Russell"           ,style = "B_Striker_A"},
  14915.     {name = "Tad"               ,style = "P_Striker_A"},
  14916.     {name = "Bryce"             ,style = "P_Grappler_A"},
  14917.     {name = "Justin"            ,style = "P_Striker_B"},
  14918.     {name = "Angie"             ,style = "GS_Female_A"},
  14919.     {name = "Christy"           ,style = "GS_Female_A"},
  14920.     {name = "Pinky"             ,style = "GS_Female_A"},
  14921.     {name = "MrBuba"            ,style = "CV_OLD"},
  14922.     {name = "MrGordon"          ,style = "CV_OLD"},
  14923.     {name = "MrsLisburn"        ,style = "CV_OLD"},
  14924.     {name = "Fatty"             ,style = "N_Striker_A"},
  14925.     {name = "Betty"             ,style = "CV_Male_A"},
  14926.     {name = "Lightning"         ,style = "P_Striker_A"},
  14927.     {name = "Zeke"              ,style = "G_Striker_A"},
  14928.     {name = "Alfred"            ,style = "CV_Male_A"},
  14929.     {name = "Paris"             ,style = "CV_Female_A"},
  14930.     {name = "Courtney"          ,style = "CV_Female_A"},
  14931.     {name = "Delilah"           ,style = "CV_Female_A"},
  14932.     {name = "Drew"              ,style = "CV_Male_A"},
  14933.     {name = "Castillo"          ,style = "CV_Male_A"},
  14934.     {name = "Edgar"             ,style = "DO_Striker_A"},
  14935.     {name = "Gurney"            ,style = "DO_Grappler_A"},
  14936.     {name = "Jerry"             ,style = "DO_Grappler_A"},
  14937.     {name = "Leon"              ,style = "DO_Striker_A"},
  14938.     {name = "Hal"               ,style = "G_Grappler_A"},
  14939.     {name = "Norton"            ,style = "G_Grappler_A"},
  14940.     {name = "Peanut"            ,style = "G_Striker_A"},
  14941.     {name = "Vance"             ,style = "G_Melee_A"},
  14942.     {name = "Bo"                ,style = "J_Melee_A"},
  14943.     {name = "Damon"             ,style = "J_Striker_A"},
  14944.     {name = "Juri"              ,style = "J_Grappler_A"},
  14945.     {name = "Kirby"             ,style = "J_Striker_A"},
  14946.     {name = "Algernon"          ,style = "N_Striker_B"},
  14947.     {name = "Bucky"             ,style = "N_Ranged_A"},
  14948.     {name = "Thad"              ,style = "N_Ranged_A"},
  14949.     {name = "Parker"            ,style = "P_Striker_B"},
  14950.     {name = "Justin"            ,style = "P_Striker_B"},
  14951.     {name = "Tad"               ,style = "P_Striker_A"},
  14952.     {name = "Gord"              ,style = "P_Striker_A"},
  14953.     {name = "Earnest"           ,style = "N_Ranged_A"},
  14954.     {name = "Ted"               ,style = "J_Striker_A"},
  14955.     {name = "Johnny"            ,style = "G_Johnny"},
  14956.     {name = "Darby"             ,style = "P_Striker_A"},
  14957.     {name = "Pitbull"           ,style = "AN_DOG"},
  14958.     {name = "Pitbull"           ,style = "AN_DOG"},
  14959.     {name = "Edna"              ,style = "Authority"},
  14960.     {name = "McInnis"           ,style = "CV_Male_A"},
  14961.     {name = "Johnson"           ,style = "CV_Male_A"},
  14962.     {name = "Thad"              ,style = "N_Ranged_A"},
  14963.     {name = "Sheldon"           ,style = "GS_Male_A"},
  14964.     {name = "Pedro"             ,style = "GS_Male_A"},
  14965.     {name = "Ivan"              ,style = "GS_Male_A"},
  14966.     {name = "Trevor"            ,style = "GS_Male_A"},
  14967.     {name = "MrBurton"          ,style = "Authority"},
  14968.     {name = "Mandy"             ,style = "GS_Female_A"},
  14969.     {name = "Bo"                ,style = "J_Melee_A"},
  14970.     {name = "Casey"             ,style = "J_Melee_A"},
  14971.     {name = "PunchBag"          ,style = "PunchBagBS"},
  14972.     {name = "OfficerMonson"     ,style = "Authority"},
  14973.     {name = "Constantinos"      ,style = "GS_Male_A"},
  14974.     {name = "McInnis"           ,style = "CV_Male_A"},
  14975.     {name = "McInnis"           ,style = "CV_Male_A"},
  14976.     {name = "OfficerWilliams"   ,style = "Authority"},
  14977.     {name = "Bryce"             ,style = "P_Striker_A"},
  14978.     {name = "Bryce"             ,style = "P_Striker_A"},
  14979.     {name = "Chad"              ,style = "P_Striker_A"},
  14980.     {name = "Chad"              ,style = "P_Striker_A"},
  14981.     {name = "Bif"               ,style = "P_Striker_A"},
  14982.     {name = "Justin"            ,style = "P_Striker_A"},
  14983.     {name = "Justin"            ,style = "P_Striker_A"},
  14984.     {name = "Parker"            ,style = "P_Striker_A"},
  14985.     {name = "Parker"            ,style = "P_Striker_A"},
  14986.     {name = "GeographyTeacher"  ,style = "Authority"},
  14987.     {name = "MusicTeacher"      ,style = "TE_Female_A"},
  14988.     {name = "Elf"               ,style = "GS_Male_A"},
  14989.     {name = "Elf"               ,style = "GS_Male_A"},
  14990.     {name = "HoboSanta"         ,style = "CV_Male_A"},
  14991.     {name = "Santa"             ,style = "CV_Male_A"},
  14992.     {name = "Santa"             ,style = "CV_Male_A"},
  14993.     {name = "Peter"             ,style = "GS_Male_A"},
  14994.     {name = "Eunice"            ,style = "GS_Fat_A"},
  14995.     {name = "Melody"            ,style = "GS_Female_A"},
  14996.     {name = "Pedro"             ,style = "GS_Male_A"}
  14997.   }
  14998. end
  14999.  
  15000. function S_SetupMovementClone()
  15001.   smoc = {
  15002.     "DEFAULT",
  15003.     "B_Striker_A",
  15004.     "Authority",
  15005.     "LE_Orderly_A",
  15006.     "BOSS_Darby",
  15007.     "BOSS_Russell",
  15008.     "Crazy_Basic",
  15009.     "CV_Drunk",
  15010.     "CV_Female_A",
  15011.     "CV_Male_A",
  15012.     "CV_OLD",
  15013.     "DO_Edgar",
  15014.     "DO_Striker_A",
  15015.     "DO_Melee_A",
  15016.     "DO_Grappler_A",
  15017.     "G_Johnny",
  15018.     "G_Striker_A",
  15019.     "G_Melee_A",
  15020.     "G_Ranged_A",
  15021.     "G_Grappler_A",
  15022.     "GS_Fat_A",
  15023.     "GS_Female_A",
  15024.     "GS_Male_A",
  15025.     "J_Ted",
  15026.     "J_Damon",
  15027.     "J_Striker_A",
  15028.     "J_Melee_A",
  15029.     "J_Grappler_A",
  15030.     "J_Mascot",
  15031.     "N_Earnest",
  15032.     "N_Striker_A",
  15033.     "N_Striker_B",
  15034.     "N_Ranged_A",
  15035.     "Nemesis",
  15036.     "P_Bif",
  15037.     "P_Striker_A",
  15038.     "P_Striker_B",
  15039.     "P_Grappler_A",
  15040.     "Russell_102",
  15041.     "TE_Female_A",
  15042.     "TE_Secretary",
  15043.   }
  15044. end
  15045.  
  15046. function Player2Valid()
  15047.   if PedIsValid(Player2) then
  15048.     return "Valid"
  15049.   else
  15050.     return "Not Valid"
  15051.   end
  15052. end
  15053.  
  15054. function Player3Valid()
  15055.   if PedIsValid(Player3) then
  15056.     return "Valid"
  15057.   else
  15058.     return "Not Valid"
  15059.   end
  15060. end
  15061.  
  15062. function IsAnyButtonPressed()
  15063.   local c = 0
  15064.   for b = 0,15 do
  15065.     if IsButtonPressed(b,c) then
  15066.       return true
  15067.     end
  15068.   end
  15069.   return false
  15070. end
  15071.  
  15072. function AnyButtonGetPressed()
  15073.   for btn = 0,15 do
  15074.     if IsButtonBeingPressed(btn,0) then
  15075.       return btn
  15076.     end
  15077.   end
  15078. end
  15079.  
  15080. function PedHasWeaponToThrown(ped)
  15081.   return PedHasWeapon(ped,301) or PedHasWeapon(ped,309) or PedHasWeapon(ped,310) or PedHasWeapon(ped,311) or PedHasWeapon(ped,312) or PedHasWeapon(ped,313) or PedHasWeapon(ped,318) or PedHasWeapon(ped,320) or PedHasWeapon(ped,325) or PedHasWeapon(ped,329) or PedHasWeapon(ped,330) or PedHasWeapon(ped,349)
  15082. end
  15083.  
  15084. function GrappleAnim()
  15085.   return sts[st][2] == "/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick/Grabknees/GV" or
  15086.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/GrabKnees/GV" or
  15087.     sts[st][2] == "/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick/GrabKnees" or
  15088.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BackBreaker" or
  15089.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam" or
  15090.     sts[st][2] == "/Global/J_Damon/Offense/Medium/Grapples/GrapplesAttempt/TakeDown" or
  15091.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/TandemGrapple" or
  15092.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BearHug" or
  15093.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb" or
  15094.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/Takedown"
  15095. end
  15096.  
  15097. function MountAttack()
  15098.   return sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/Mount/GrappleMoves/FacePunch/Hit1" or
  15099.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/Mount/MountOpps/Player/KneeDrop" or
  15100.     sts[st][2] == "/Global/Actions/Grapples/Front/Grapples/Mount/MountOpps/Player/Spit" or
  15101.     sts[st][2] == "/Global/Actions/Grapples/Mount/MountOpps/Dropout/HeadButt" or
  15102.     sts[st][2] == "/Global/Actions/Grapples/Mount/GrappleMoves/Headbutt"
  15103. end
  15104.  
  15105. function import_action_controller(ped,num)
  15106.   if PedIsValid(ped) then
  15107.     local defkey = PedMePlaying(ped,"DEFAULT_KEY")
  15108.     if PedIsInAnyVehicle(ped) and IsButtonBeingPressed(9,num) then
  15109.       PedSetActionNode(ped,"/Global/Vehicles/Bikes/Ground/Dismount/GetOff","Act/Vehicles.act")
  15110.     elseif IsButtonBeingPressed(12,num) and PedHasWeapon(ped,305) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15111.       PedSetActionNode(ped,"/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  15112.     elseif IsButtonBeingPressed(12,num) and PedHasWeapon(ped,396) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15113.       PedSetActionNode(ped,"/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/SpudG/Release","Act/Weapons/Gun.act")
  15114.     elseif IsButtonBeingPressed(12,num) and PedHasWeapon(ped,307) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15115.       PedSetActionNode(ped,"/Global/Gun/Gun/Actions/Controller/UpperBody/FireActions/Brocket/Release","Act/Weapons/Gun.act")
  15116.     elseif IsButtonBeingPressed(12,num) and PedHasWeapon(ped,311) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15117.       PedSetActionNode(ped,"/Global/Nemesis/Special/Throw","Act/Anim/Nemesis.act")
  15118.     elseif IsButtonBeingPressed(12,num) and PedHasWeaponToThrown(ped) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15119.       PedSetActionNode(ped,"/Global/Thrown/Thrown/Actions/Controller/UpperBody/OverHand/Throw","Act/Weapons/Thrown.act")
  15120.     elseif IsButtonBeingPressed(12,num) and (PedHasWeapon(ped,303) or PedHasWeapon(ped,306)) and not PedIsDead(ped) and not PedIsInAnyVehicle(ped) and defkey then
  15121.       PedSetActionNode(ped,"/Global/SlingShot/SlingShot/Actions/Controller/UpperBody/FireActions/Charge","Act/Weapons/SlingShot.act")
  15122.     elseif PedHasWeapon(ped,321) and IsButtonBeingPressed(12,num) and not PedIsInAnyVehicle(ped) and PedIsValid(ped) and defkey then
  15123.       PedSetActionNode(ped,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act")
  15124.     elseif PedHasWeapon(ped,321) and IsButtonBeingReleased(12,num) and PedIsPlaying(ped,"/Global/Spraycan/Actions/Attacks/HeavyAttacks","Act/Weapons/Spraycan.act") then
  15125.       PedSetActionNode(ped,"/Global/Player","Act/Player.act")
  15126.     elseif PedIsPlaying(ped,"/Global/Vehicles/SkateBoard/Locomotion/Ride/Coast","Act/Vehicles.act") and IsButtonBeingPressed(8,num) then
  15127.       PedSetActionNode(ped,"/Global/Vehicles/SkateBoard/Locomotion/Ride/ChargeJump/Ali","Act/Vehicles.act")
  15128.     end
  15129.     if PedGetWeapon(gPlayer) ~= PedGetWeapon(ped) then
  15130.       if not PedHasWeapon(gPlayer,437) then
  15131.         PedSetWeapon(ped,PedGetWeapon(gPlayer),80)
  15132.       end
  15133.     end
  15134.   end
  15135. end
  15136.  
  15137. function AED()
  15138.   SoundPlay2D("RightBtn")
  15139.   S_ClassEditor()
  15140.   repeat
  15141.     if IsButtonPressed(0,0) then
  15142.       aeds = aeds - 1
  15143.       if aeds < 0 then aeds = 0 end
  15144.     elseif IsButtonPressed(1,0) then
  15145.       aeds = aeds + 1
  15146.       if aeds > 100 then aeds = 100 end
  15147.     end
  15148.     TextPrintString(classEditor[cl][1].."\n\nCount: "..aeds,0,1)
  15149.     if showText then
  15150.       TextPrintString("[~LOOK_BACK~ Exit to Add-On Menu]\n[Navigate: ~dleft~ or ~dright~]",0,2)
  15151.     end
  15152.     Wait(0)
  15153.   until IsButtonBeingReleased(14,0)
  15154.   SoundPlay2D("WrongBtn")
  15155.   Wait(100)
  15156. end
  15157.  
  15158. function GetMissionScript()
  15159.   for m = 1,66 do
  15160.     if MissionActiveSpecific(cvs[m][1]) then
  15161.       return cvs[m][1]
  15162.     end
  15163.   end
  15164. end
  15165.  
  15166. function GetShoots()
  15167.   if autoShot == 1 then
  15168.     return "Enable"
  15169.   else
  15170.     return "Disable"
  15171.   end
  15172. end
  15173.  
  15174. function GetControl()
  15175.   if playerControl then
  15176.     return "ENABLE"
  15177.   else
  15178.     return "DISABLE"
  15179.   end
  15180. end
  15181.  
  15182. function ExclusiveShopItem() -- Crash
  15183.   while true do
  15184.     if shared.playerShopping then
  15185.       ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM1,320)
  15186.       ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM2,409)
  15187.       ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM3,404)
  15188.       ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM4,396)
  15189.     end
  15190.     Wait(0)
  15191.   end
  15192.   --ShopSetShopKeepInfo(POINTLIST._STORE_DT_GENERAL_CLERK,true/false)
  15193.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM1,itemindex)
  15194.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM2,itemindex)
  15195.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM3,itemindex)
  15196.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM4,itemindex)
  15197.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM6,itemindex)
  15198.   --ShopAddItem(POINTLIST._STORE_DT_GENERAL_ITEM7,itemindex)
  15199. end
  15200.  
  15201. function PlayerIsFree()
  15202.   return PedIsPlaying(gPlayer,"/Global/Player/Default_KEY",true) or PlayerIsFreeStyle()
  15203. end
  15204.  
  15205. function PedIsFree(ped)
  15206.   return PedIsPlaying(ped,"/Global/Player/Default_KEY",true) or PedIsFreeStyle(ped)
  15207. end
  15208.  
  15209. function PedIsFreeStyle(ped)
  15210.   return PedIsPlaying(ped,"/Global/Player/Default_KEY",true) or
  15211.     PedIsPlaying(ped,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/WalkBasic",true) or
  15212.     PedIsPlaying(ped,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) or
  15213.     PedIsPlaying(ped,"/Global/"..movement2.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true) or
  15214.     PedIsPlaying(ped,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/Free/SprintBasic",true)
  15215. end
  15216.  
  15217. function PlayerIsStrafing()
  15218.   return PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/StrafeIdle",true) or
  15219.     PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic",true)
  15220. end
  15221.  
  15222. function PlayerIsFreeStyle()
  15223.   return PedIsPlaying(gPlayer,"/Global/"..saveStyle.."/Default_KEY",true) or
  15224.     PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/WalkBasic",true) or
  15225.     PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) or
  15226.     PedIsPlaying(gPlayer,"/Global/"..movement.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true) or
  15227.     PedIsPlaying(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/Free/SprintBasic",true)
  15228. end
  15229.  
  15230. function PlayerIsStrafing()
  15231.   return PedIsPlaying(gPlayer,"/Global/"..saveStyle.."/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/StrafeIdle",true) or
  15232.     PedIsPlaying(gPlayer,"/Global/"..saveStyle.."/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic",true)
  15233. end
  15234.  
  15235. function GreaseMovement()
  15236.   return movement == "G_Striker_A" or movement == "G_Johnny" or movement == "G_Melee_A" or movement == "G_Grappler_A" or movement == "G_Ranged_A"
  15237. end
  15238.  
  15239. function GreaseMovement2()
  15240.   return movement2 == "G_Striker_A" or movement2 == "G_Johnny" or movement2 == "G_Melee_A" or movement2 == "G_Grappler_A" or movement2 == "G_Ranged_A"
  15241. end
Advertisement
Add Comment
Please, Sign In to add comment