Advertisement
alditojeje

Untitled

May 23rd, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.66 KB | None | 0 0
  1.  
  2. --[[
  3. CMDS:
  4. 1. !team1 "playername" "playername" \\Assign players to team1 , ex: !team1 Ctmce Ziggy_z
  5. 2. !team2 "playername "playername" \\Assign players to team2 , ex: !team2 Ctmce Ziggy_z
  6. 3. !add team1 "playername" "playername" \\Adds the player team1.
  7. 4. !add team2 "playername" "playername" \\Adds the player team2.
  8. 5. !remove team1 "playername" "playername" \\Removes the player/'s from team1!
  9. 6. !remove team2 "playername" "playername" \\Removes the player/'s from team2!
  10. 7. !exit \\Closing the Admin Panel//
  11. 8. !start \\Shows the Admin Panel back//
  12. 9. !sp team1 23 \\Sets the points for team1 to 23 or whatever you choose!
  13. 10. !sp team2 15 \\Sets the points for team1 to 15 or whatever you choose!
  14. 11. !aj on / off \\Turns AutoJoin On and Off.
  15. 12. !pause //pauses the game , and shows the gui back ^^
  16. ---------------------------------
  17. Total Commands Count: [8].
  18. Total BootcampMaps Count: [222].
  19. Total RacingMaps Count: [1424].
  20. ---------------------------------
  21.  
  22. TODO:
  23. 1. Make 4 teams!
  24. --]]
  25.  
  26. --Admin/Game Setup--
  27. --local Admin = "Misterthepro#0000" --Write your name here to be able to use the Admin Panel--
  28. local admin = {
  29. ["Blood#3565"] = true,
  30. ["Rastaandy#0000"] = true,
  31. ["Kevinho#0873"] = true,
  32. ["His#0439"] = true
  33. }
  34. local ScoreToWin = 15 --Type here the amount of points need to win the game(Leave it at the same number it is right now if you want to change it in the Setup Panel)--
  35. local autoJoin = true
  36. local team1Color = "Red"
  37. local team2Color = "Blue"
  38. local mod = "Bootcamp"
  39.  
  40.  
  41. --DO NOT CHANGE THE SCRIPT!--
  42. local teams = {Team1 = {}, Team2 = {}}
  43. --Team score--
  44. local teamScore = {Team1 = 0, Team2 = 0}
  45. --------------
  46. ---Maps---
  47. local racingMaps = {'#17'}
  48. local vanillaMaps = {1, 2, 6, 7, 8, 10, 11, 12, 13, 14, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 49, 53, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 73, 74, 75, 76, 78, 79, 80, 82, 83, 84, 85, 86, 88, 73, 74, 75, 76, 78, 89, 92, 95, 96, 100, 114, 117, 118, 119, 202, 203, 205, 206, 120, 121, 122, 123, 124, 125, 126, 127, 138, 142, 145, 147, 148, 149, 150, 151, 200, 19, 22, 23, 24, 27, 28, 29, 30, 201, 202, 203, 205, 206, 207, 208, 210, 7008845, 7121189}
  49. local rMaps = {}
  50. local mRound = 5
  51. ----------
  52. local teamColors = {Red = 'CB546B', Blue = '2F7FCC'}
  53. local first = false
  54. ---Game Time Settings----
  55. local gameTime = {Minutes = 1,Seconds = 2}
  56. local Ticker = 0
  57. -------------------------
  58. local gameStarted = false
  59. currentMap = 0
  60. team1C = team1Color
  61. team2C = team2Color
  62.  
  63. function main()
  64. tfm.exec.disableAllShamanSkills(true)
  65. tfm.exec.disableAutoNewGame(true)
  66. tfm.exec.disableAutoShaman(true)
  67. tfm.exec.disableAutoScore(true)
  68. tfm.exec.disableAutoTimeLeft(true)
  69. tfm.exec.disableDebugCommand(true)
  70. tfm.exec.disablePhysicalConsumables(true)
  71. checkColor()
  72. ShowStartBoard()
  73. end
  74.  
  75. function eventNewGame()
  76. if gameStarted then
  77. currentMap = tostring(tfm.get.room.currentMap)
  78. setTimeMode()
  79. for n,p in pairs(tfm.get.room.playerList) do
  80. if not PlayerInTeam(n) then
  81. tfm.exec.killPlayer(n)
  82. end
  83. end
  84. SetPlayerNameColor()
  85. first = false
  86. if mod == "Bootcamp" then
  87. tfm.exec.setUIMapName(currentMap .." <font color='#"..team1Color .."'>" ..team1C ..": ".. teamScore.Team1 .."</font> / <font color='#"..team2Color .."'>" ..team2C ..": "..teamScore.Team2.."</font> / <n>D:" ..ScoreToWin .."</n> Time left: 0" .. gameTime.Minutes ..":" ..gameTime.Seconds .."\n")
  88. end
  89. end
  90. end
  91.  
  92.  
  93. function eventNewPlayer(plr)
  94. if gameStarted then
  95. if PlayerInTeam(plr) then tfm.exec.killPlayer(plr) return end
  96. --[[ if autoJoin then
  97. if #teams.Team1 == #teams.Team2 then
  98. table.insert(teams.Team1,plr)
  99. elseif #teams.Team1 > #teams.Team2 then
  100. table.insert(teams.Team2,plr)
  101. end
  102. end ]]
  103. end
  104. end
  105.  
  106. function eventPlayerDied(plr)
  107. if gameStarted then
  108. local plrCount = 0
  109. for n,p in pairs(tfm.get.room.playerList) do
  110. if not p.isDead then
  111. plrCount = plrCount + 1
  112. end
  113. end
  114. if plrCount <= 0 then
  115. newMap()
  116. print("Se murieron todos jajaencerio")
  117. end
  118. end
  119. end
  120.  
  121. function eventPlayerWon(plr, TT, wonTime)
  122. if gameStarted then
  123. if PlayerInTeam(plr) then
  124. if not first then
  125. if table.contain(teams.Team1,plr) then
  126. first = true
  127. teamScore.Team1 = teamScore.Team1 + 1
  128. tfm.exec.setPlayerScore(plr, 1,true)
  129. gameTime.Minutes = 0
  130. gameTime.Seconds = 3
  131. if tonumber(teamScore.Team1) >= tonumber(ScoreToWin) then
  132. print("Team 1 won the game! The last point made by: "..plr)
  133. gameStarted = false
  134. tfm.exec.newGame(7692692,true)
  135. ShowStartBoard()
  136. ui.addTextArea(16, "<font size='13' color='#ffffff'><i>Team</font><font color='#" ..team1Color .."'> " ..team1C .."</font> won the game!</font></font>", nil, 8, 166, 202, 60, 0x000000, 0x5eff6e, 0, true)
  137. ui.addTextArea(17, "<font size='13' color='#ffffff'><i>The Player:<font color='#"..team1Color .."'> "..plr .."</font> made the last point!", nil, 602, 166, 188, 61, 0xffffff, 0x5eff6e, 0, true)
  138. end
  139. else
  140. first = true
  141. --if the plr form team2 then
  142. teamScore.Team2 = teamScore.Team2 + 1
  143. tfm.exec.setPlayerScore(plr, 1,true)
  144. gameTime.Minutes = 0
  145. gameTime.Seconds = 3
  146. if tonumber(teamScore.Team2) >= tonumber(ScoreToWin) then
  147. print("Team 2 won the game! The last point made by: "..plr)
  148. gameStarted = false
  149. tfm.exec.newGame(7692692,true)
  150. ShowStartBoard()
  151. ui.addTextArea(16, "<font size='13' color='#ffffff'><i>Team</font><font color='#" ..team2Color .."'> " ..team2C .."</font> won the game!</font></font>", nil, 8, 166, 202, 60, 0x000000, 0x5eff6e, 0, true)
  152. ui.addTextArea(17, "<font size='13' color='#ffffff'><i>The Player:<font color='#"..team2Color .."'> "..plr .."</font> made the last point!", nil, 602, 166, 188, 61, 0xffffff, 0x5eff6e, 0, true)
  153. end
  154. end
  155. end
  156. end
  157. end
  158. end
  159. function eventTextAreaCallback(id, player, callback)
  160. if admin[player] then
  161. --if id == 8 then
  162. --if callback == "bc" then
  163. -- mod = "Bootcamp"
  164. --ShowStartBoard()
  165. -- end
  166. if id == 10 then
  167. if callback == "start" then
  168. for i=0, 22,1 do
  169. ui.removeTextArea(i)
  170. end
  171. gameStarted = true
  172. teamScore.Team1 = 0
  173. teamScore.Team2 = 0
  174. resetScore()
  175. -- print("Game started! Made by - Ctmce -")
  176. newMap()
  177. end
  178. elseif id == 11 then
  179. if callback == "dec" then
  180. if tonumber(ScoreToWin) > 1 then
  181. ScoreToWin = ScoreToWin - 1
  182. ShowStartBoard()
  183. end
  184. elseif callback == "inc" then
  185. if tonumber(ScoreToWin) < 99 then
  186. ScoreToWin = ScoreToWin + 1
  187. ShowStartBoard()
  188. end
  189. end
  190. elseif callback == "versus1" then
  191. teams.Team1 = {}
  192. teams.Team2 = {}
  193. table.insert(teams.Team1,"Cele#1786")
  194. table.insert(teams.Team1,"Loot#1008")
  195.  
  196. table.insert(teams.Team2,"Furyanx#5029")
  197. table.insert(teams.Team2,"Jersey#6013")
  198. ShowStartBoard()
  199.  
  200. elseif callback == "versus2" then
  201. teams.Team1 = {}
  202. teams.Team2 = {}
  203. table.insert(teams.Team1,"Stylarz#4832")
  204. table.insert(teams.Team1,"Skipper#3142")
  205.  
  206. table.insert(teams.Team2,"Paulo_londra#3936")
  207. table.insert(teams.Team2,"Miguelk#9283")
  208. ShowStartBoard()
  209. elseif callback == "versus3" then
  210. teams.Team1 = {}
  211. teams.Team2 = {}
  212. table.insert(teams.Team1,"Nel#0938")
  213. table.insert(teams.Team1,"Polyrina#9133")
  214.  
  215. table.insert(teams.Team2,"Tattookings#0000")
  216. table.insert(teams.Team2,"Sacxre#0000")
  217. ShowStartBoard()
  218. elseif callback == "versus4" then
  219. teams.Team1 = {}
  220. teams.Team2 = {}
  221. table.insert(teams.Team1,"Joy#6234")
  222. table.insert(teams.Team1,"Briizero#0000")
  223.  
  224. table.insert(teams.Team2,"Maldiney#0000")
  225. table.insert(teams.Team2,"Salvo#2724")
  226. ShowStartBoard()
  227. elseif callback == "versus5" then
  228. teams.Team1 = {}
  229. teams.Team2 = {}
  230. table.insert(teams.Team1,"Ups7o7#4511")
  231. table.insert(teams.Team1,"Ambar#8601")
  232.  
  233. table.insert(teams.Team2,"Wiiiiiiiiiiiiin#8992")
  234. table.insert(teams.Team2,"Tellkbe#2842")
  235. ShowStartBoard()
  236. elseif callback == "versus6" then
  237. teams.Team1 = {}
  238. teams.Team2 = {}
  239. table.insert(teams.Team1,"Khan#3090")
  240. table.insert(teams.Team1,"Jothissj#6001")
  241.  
  242. table.insert(teams.Team2,"Blood#3565")
  243. table.insert(teams.Team2,"Kevinho#0873")
  244. ShowStartBoard()
  245. elseif callback == "versus7" then
  246. teams.Team1 = {}
  247. teams.Team2 = {}
  248. table.insert(teams.Team1,"Talon#3524")
  249. table.insert(teams.Team1,"Faker#4927")
  250.  
  251. table.insert(teams.Team2,"Fenix#6083")
  252. table.insert(teams.Team2,"Godoyzikamem#0000")
  253. ShowStartBoard()
  254. elseif callback == "versus8" then
  255. teams.Team1 = {}
  256. teams.Team2 = {}
  257. table.insert(teams.Team1,"Rafarzc#4839")
  258. table.insert(teams.Team1,"Rubensexi#0000")
  259.  
  260. table.insert(teams.Team2,"Yembal#0000")
  261. table.insert(teams.Team2,"Grupomelodia#0000")
  262. ShowStartBoard()
  263. end
  264. end
  265. end
  266.  
  267. function eventChatCommand(name, command)
  268. if admin[name] then
  269. local arg={}
  270. for argument in command:gmatch("[^%s]+") do
  271. table.insert(arg,argument)
  272. end
  273. if arg[1]:lower() == "team1" and arg[2] ~= nil then
  274. teams.Team1 = {}
  275. for i,v in pairs(arg) do
  276. if i > 1 then
  277. if PlayerCheck(v) then
  278. if TeamFix(v) == "team2"then
  279. table.clear(teams.Team2,v)
  280. table.insert(teams.Team1,v)
  281. if not gameStarted then
  282. ShowStartBoard()
  283. end
  284. else
  285. table.insert(teams.Team1,v)
  286. if not gameStarted then
  287. ShowStartBoard()
  288. end
  289. end
  290. else
  291. print("Sory couldn't found: " .. tostring(v))
  292. end
  293. end
  294. end
  295. elseif arg[1]:lower() == "team2" and arg[2] ~= nil then
  296. teams.Team2 = {}
  297. for i,v in pairs(arg) do
  298. if i > 1 then
  299. if PlayerCheck(v) then
  300. if TeamFix(v) == "team1"then
  301. table.clear(teams.Team1,v)
  302. table.insert(teams.Team2,v)
  303. if not gameStarted then
  304. ShowStartBoard()
  305. end
  306. else
  307. table.insert(teams.Team2,v)
  308. if not gameStarted then
  309. ShowStartBoard()
  310. end
  311. end
  312. else
  313. print("Sory couldn't found: " .. tostring(v))
  314. end
  315. end
  316. end
  317. elseif arg[1]:lower() == "add" and arg[2]:lower() == "team1" and arg[3] ~= nil then
  318. for i,v in pairs(arg) do
  319. if i > 1 then
  320. if PlayerCheck(v) then
  321. if TeamFix(v) == "team2"then
  322. table.clear(teams.Team2,v)
  323. table.insert(teams.Team1,v)
  324. if not gameStarted then
  325. ShowStartBoard()
  326. end
  327. else
  328. table.insert(teams.Team1,v)
  329. if not gameStarted then
  330. ShowStartBoard()
  331. end
  332. end
  333. end
  334. end
  335. end
  336. elseif arg[1]:lower() == "add" and arg[2]:lower() == "team2" and arg[3] ~= nil then
  337. for i,v in pairs(arg) do
  338. if i > 1 then
  339. if PlayerCheck(v) then
  340. if TeamFix(v) == "team1"then
  341. table.clear(teams.Team1,v)
  342. table.insert(teams.Team2,v)
  343. if not gameStarted then
  344. ShowStartBoard()
  345. end
  346. else
  347. table.insert(teams.Team2,v)
  348. if not gameStarted then
  349. ShowStartBoard()
  350. end
  351. end
  352. end
  353. end
  354. end
  355. elseif arg[1] == "remove" and arg[2] == "team1" and arg[3] ~= nil then
  356. if TeamFix(arg[3]) == "team1" then
  357. if not gameStarted then
  358. table.clear(teams.Team1,arg[3])
  359. ShowStartBoard()
  360. else
  361. table.clear(teams.Team1,arg[3])
  362. end
  363. end
  364. elseif arg[1] == "remove" and arg[2] == "team2" and arg[3] ~= nil then
  365. if TeamFix(arg[3]) == "team2" then
  366. if not gameStarted then
  367. table.clear(teams.Team2,arg[3])
  368. ShowStartBoard()
  369. else
  370. table.clear(teams.Team2,arg[3])
  371. end
  372. end
  373. elseif arg[1]:lower() == "aj" and arg[2]:lower() == "on" and arg[3] == nil then
  374. autoJoin = true
  375. elseif arg[1]:lower() == "aj" and arg[2]:lower() == "off" and arg[3] == nil then
  376. autoJoin = false
  377. elseif arg[1]:lower() == "start" then
  378. if not gameStarted then
  379. ShowStartBoard()
  380. end
  381. elseif arg[1]:lower() == "exit" and arg[2] == nil then
  382. if not gameStarted then
  383. for i=0,17,1 do
  384. ui.removeTextArea(i)
  385. end
  386. end
  387. elseif arg[1]:lower() == "reset" and arg[2] == nil then
  388. if gameStarted then
  389. gameStarted = false
  390. rMaps = {}
  391. tfm.exec.newGame(0)
  392. ShowStartBoard()
  393. end
  394. elseif arg[1]:lower() == "d" and tonumber(arg[2]) ~= nil and arg[3] == nil then
  395. if tonumber(arg[2]) > 0 and tonumber(arg[2]) <= 99 then
  396. ScoreToWin = arg[2]
  397. else
  398. print("The limit of the WinScore is between 0-500!")
  399. end
  400. elseif arg[1]:lower() == "skip" and arg[2] == nil then
  401. newMap()
  402. elseif arg[1]:lower() == "sp" then
  403. if arg[2]:lower() == "team1" then
  404. if tonumber(arg[3]) ~= nil then
  405. if tonumber(arg[3]) < tonumber(ScoreToWin) and tonumber(arg[3]) > 0 then
  406. teamScore.Team1 = tonumber(arg[3])
  407. end
  408. end
  409. elseif arg[2]:lower() == "team2" then
  410. if tonumber(arg[3]) ~= nil then
  411. if tonumber(arg[3]) < tonumber(ScoreToWin) and tonumber(arg[3]) > 0 then
  412. teamScore.Team2 = tonumber(arg[3])
  413. end
  414. end
  415. end
  416. end
  417. end
  418. end
  419.  
  420. function eventLoop(current, left)
  421. if gameStarted then
  422. Ticker = Ticker + 1
  423. if Ticker%2 == 0 then
  424. if gameTime.Minutes <= 0 and gameTime.Seconds <= 0 then
  425. newMap()
  426. elseif gameTime.Seconds < 1 then
  427. gameTime.Minutes = gameTime.Minutes - 1
  428. gameTime.Seconds = 59
  429. end
  430. if gameTime.Seconds > 9 then
  431. tfm.exec.setUIMapName(currentMap .." <font color='#"..team1Color .."'>" ..team1C ..": ".. teamScore.Team1 .."</font> / <font color='#"..team2Color .."'>" ..team2C ..": "..teamScore.Team2.."</font> / <n>D:" ..ScoreToWin .."</n> Time left: 0" .. gameTime.Minutes ..":" ..gameTime.Seconds .."\n")
  432. elseif gameTime.Seconds < 10 then
  433. -- tfm.exec.setUIMapName(currentMap .."| Time left: 0" .. gameTime.Minutes ..":0".. gameTime.Seconds .." | " ..team1C ..": ".. teamScore.Team1 .."/ "..team2C ..": "..teamScore.Team2 .."\n")
  434. tfm.exec.setUIMapName(currentMap .." <font color='#"..team1Color .."'>" ..team1C ..": ".. teamScore.Team1 .."</font> / <font color='#" ..team2Color .."'>" ..team2C ..": "..teamScore.Team2 .."</font> / <n>D:"..ScoreToWin .."</n> Time left: 0" .. gameTime.Minutes ..":0" ..gameTime.Seconds .."\n")
  435. end
  436. gameTime.Seconds = gameTime.Seconds - 1
  437. Ticker = 0
  438. end
  439. end
  440. end
  441.  
  442.  
  443. function newMap()
  444. --Write the maps codes first and then make it choose a random map .
  445. if mod == "Bootcamp" then
  446. if teamScore.Team1 <= 6 and teamScore.Team2 <= 6 then
  447. map = racingMaps[math.random(#racingMaps)]
  448. else
  449. map = vanillaMaps[math.random(#vanillaMaps)]
  450. end
  451. tfm.exec.newGame(map)
  452. end
  453. end
  454.  
  455. function SetPlayerNameColor()
  456. checkColor()
  457. for i,v in pairs(teams.Team1) do
  458. tfm.exec.setNameColor(v, "0x"..team1Color)
  459. end
  460.  
  461. for i,v in pairs(teams.Team2) do
  462. tfm.exec.setNameColor(v, "0x"..team2Color)
  463. end
  464. end
  465.  
  466. function setTimeMode()
  467. gameTime.Minutes = 1
  468. gameTime.Seconds = 50
  469.  
  470. end
  471.  
  472. function FillTeams()
  473. local t = 1
  474. teams.Team1 = {}
  475. teams.Team2 = {}
  476. for n,p in pairs(tfm.get.room.playerList) do
  477. if t == 1 then
  478. table.insert(teams.Team1,n)
  479. t = 2
  480. elseif t == 2 then
  481. table.insert(teams.Team2,n)
  482. t = 1
  483. end
  484. end
  485. end
  486.  
  487. function checkColor()
  488. local c = false
  489. for key,v in pairs(teamColors) do
  490. if key == team1Color then
  491. team1Color = v
  492. c = true
  493. elseif key == team2Color then
  494. team2Color = v
  495. c = true
  496. elseif team1Color == v then
  497. c = true
  498. elseif team2Color == v then
  499. c = true
  500. end
  501. end
  502. if c then
  503. print("Team colors succesfully setted!")
  504. else
  505. team1Color = teamColors.Green
  506. team2Color = teamColors.Blue
  507. print("Sory couldn't found the color you choosed, Defult color will be apllied.")
  508. end
  509. end
  510.  
  511. function table.clear(t,obj)
  512. for i,v in ipairs(t) do
  513. if v==obj then
  514. table.remove(t,i)
  515. end
  516. end
  517. end
  518.  
  519. function table.contain(t,obj)
  520. for i,v in pairs(t) do
  521. if v==obj then
  522. return true
  523. end
  524. end
  525. return false
  526. end
  527.  
  528. function table_removeKey(t,i)
  529. local tClone = {}
  530. for k,v in pairs(t) do
  531. if k ~= i then
  532. tClone[k] = v
  533. end
  534. end
  535. return tClone
  536. end
  537.  
  538. function tableSizeKey(t,i)
  539. local counter = 0
  540. for k,v in pairs(t) do
  541. if k ~= i then
  542. counter = counter + 1
  543. end
  544. end
  545. return counter
  546. end
  547.  
  548. function resetScore()
  549. for n,p in pairs(tfm.get.room.playerList) do
  550. tfm.exec.setPlayerScore(n, 0,false)
  551. end
  552. end
  553.  
  554. function TeamFix(plr)
  555. local char = plr
  556. for i,v in pairs(teams.Team1) do
  557. if v == char then
  558. return "team1"
  559. end
  560. end
  561. for i,n in pairs(teams.Team2) do
  562. if n == char then
  563. return "team2"
  564. end
  565. end
  566. return false
  567. end
  568.  
  569. function PlayerCheck(plr)
  570. local playerToSerch = plr
  571. for n,p in pairs(tfm.get.room.playerList) do
  572. if n == plr then
  573. return true
  574. end
  575. end
  576. return false
  577. end
  578.  
  579. function PlayerInTeam(plr)
  580. local player = plr
  581. for i,v in pairs(teams.Team1) do
  582. if v == player then
  583. return true
  584. end
  585. end
  586. for i,n in pairs(teams.Team2) do
  587. if n == player then
  588. return true
  589. end
  590. end
  591. return false
  592. end
  593.  
  594. function ShowStartBoard()
  595. --ui.addTextArea(0, "<p align='center'><font size='13'> Administradores: <font color='#00ff40'><b>Rastaandy#0000", nil, 247, 367, 305, 25, 0x324650, 0x000000, 0.8, true)
  596. ui.addTextArea(1, "", nil, 208, 33, 381, 362, 0x324650, 0x000000, 1, true)
  597. ui.addTextArea(2, "<p align='center'><font size='12' color='#" ..team1Color .."'>" .. (table.concat(teams.Team1,"\n") or ""), nil, 208, 66, 151, 254, 0x324650, 0x000000, 1, true)
  598. ui.addTextArea(3, "<p align='center'><font size='12' color='#" ..team2Color .."'> " .. (table.concat(teams.Team2,"\n") or ""), nil, 438, 66, 151, 254, 0x324650, 0x000000, 1, true)
  599. ui.addTextArea(4, "<p align='center'>Rc - Vanilla", nil, 354, 60, 89, 19, 0x324650, 0x000000, 1, true)
  600. ui.addTextArea(5, "<font size='12'><p align='center'><b><font color='#00C17C'> \\ Magic Star / </font></b>", nil, 209, 33, 381, 21, 0x324650, 0x000000, 1, true)
  601. --ui.addTextArea(6, "<p align='center'>Made by - <font color='#ff0000'>Ctmce</font> -", nil, 207, 33, 109, 20, 0x324650, 0x000000, 0, true)
  602. -- ui.addTextArea(7, "Racing 2/4 Teams!", nil, 510, 33, 109, 20, 0x324650, 0x000000, 0, true)
  603. -- ui.addTextArea(8, "<p align='center'><b><a href='event:bc'>Bootcamp</a>", nil, 365, 208, 69, 19, 0x540c0c, 0x000000, 1, true)
  604. -- ui.addTextArea(9, "<p align='center'><b><a href='event:rc'>Racing</a>", nil, 365, 157, 69, 20, 0x1a0d6e, 0x000000, 1, true)
  605. ui.addTextArea(10, "<p align='center'><font size='13'><b><a href='event:start'><A:ACTIVE>Start</a></font>", nil, 359, 180, 82, 23, 0x324650, 0x000000, 1, true)
  606. ui.addTextArea(11, "<p align='center'>Score: <a href='event:dec'>-</a><font color='#00C17C'> "..ScoreToWin .." </font><a href='event:inc'>+</a>", nil, 356, 210, 87, 20, 0x324650, 0x000000, 1, true)
  607. ui.addTextArea(12, "<p align='center'><b><T><a href='event:versus1'>Versus 1</T>", nil, 217, 335, 65, 20, 0x324650, 0x000000, 1, true)
  608. ui.addTextArea(13, "<p align='center'><b><V><a href='event:versus2'>Versus 2</V>", nil, 315, 335, 65, 20, 0x324650, 0x000000, 1, true)
  609. ui.addTextArea(14, "<p align='center'><b><VP><a href='event:versus3'>Versus 3</VP></a>", nil, 418, 335, 65, 20, 0x324650, 0x000000, 1, true)
  610. ui.addTextArea(15, "<p align='center'><b><CH><a href='event:versus4'>Versus 4</CH>", nil, 518, 335, 65, 20, 0x324650, 0x000000, 1, true)
  611.  
  612. ui.addTextArea(16, "<p align='center'><b><T><a href='event:versus5'>Versus 5</T>", nil, 217, 370, 65, 20, 0x324650, 0x000000, 1, true)
  613. ui.addTextArea(17, "<p align='center'><b><V><a href='event:versus6'>Versus 6</V>", nil, 315, 370, 65, 20, 0x324650, 0x000000, 1, true)
  614. ui.addTextArea(18, "<p align='center'><b><VP><a href='event:versus7'>Versus 7</VP></a>", nil, 418, 370, 65, 20, 0x324650, 0x000000, 1, true)
  615. ui.addTextArea(19, "<p align='center'><b><CH><a href='event:versus8'>Versus 8</CH>", nil, 518, 370, 65, 20, 0x324650, 0x000000, 1, true)
  616.  
  617. end
  618. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement