Advertisement
Guest User

Untitled

a guest
Sep 12th, 2022
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. -- MAKE SURE TO IMPORT THE "pd_extra_table.sql" FILE
  2.  
  3. -- The script is completely standalone, only requiring mysql to store the elo.
  4.  
  5. --EXPORTED FUNCTION NAME:
  6. --startCheckers
  7. --StartCheckers
  8.  
  9. Config = {}
  10. Config.debug = false
  11. Config.Locale = 'en'
  12. Config.SQLDriver = 'mysql' -- options: oxmysql, mysql
  13. Config.useItemFramework = false -- options: false, "ESX", "QBCore"
  14.  
  15. -- IF USING ESX ITEM --
  16. Config.itemName = "pd_checkers_game"
  17. -----------------------
  18.  
  19. -- requires either qtarget or qb-target
  20. Config.target = {
  21. enabled = true,
  22. system = 'qtarget',
  23. pickupIcon = "fa-solid fa-x",
  24. joinGameIcon = "fa-solid fa-chess-board"
  25. }
  26.  
  27. Config.useELORating = true -- Enable/ disables the use of the ELO system
  28. Config.startingELO = 1000 -- Base ELO for players
  29. Config.playerIdentifierType = 1 -- OPTIONS: 1 = licence, 2 = xbl, 3 = live, 4= discord, 5= fivem, 6=license2
  30.  
  31. Config.useCheckersCommand = true -- If set to false, make sure you call the exported checkers function
  32. Config.checkersCommand = "checkers" -- Start the checkers game
  33. Config.showELOCommand = "ELO" -- Display Player ELO
  34.  
  35. Config.delayPieceMoveToMatchAnimation = true --Delay the moving of the piece so it syncs up with the player. true = more cinamatic, false = more competative
  36.  
  37. Config.loadPiecesDistance = 25 -- Distance to load in the pieces of the games
  38. Config.interactKeybind = "E" -- If used
  39.  
  40. Config.usePlayZone = false -- Players are only allowed to start checkers matches in the designated play zones
  41. Config.togglePlayZonesCommand = "togglePlayZones" -- shows play zones on the map
  42. Config.playZones = {
  43. {
  44. x=195.8,
  45. y=-932.0,
  46. z=30.7,
  47. s=50.0
  48. },
  49. {
  50. x=-306.6,
  51. y=6116.9,
  52. z=31.7,
  53. s=20.0
  54. },
  55. {
  56. x=1828.8,
  57. y=3834.0,
  58. z=33.4,
  59. s=20.0
  60. },
  61. {
  62. x=1079.7,
  63. y=-691.2,
  64. z=57.6,
  65. s=15.0
  66. },
  67. {
  68. x=-1456.4,
  69. y=-1015.4,
  70. z=5.3,
  71. s=20.0
  72. },
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement