DonSamuele

Untitled

Apr 12th, 2023
1,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. DS_Casino_System_Main_Config = {
  2.  
  3. MapBlip = { --MAP BLIP CONFIG
  4. enable = true,
  5. coords = vec3(922.110, 47.567, 81.103),
  6. id = 617,
  7. color = 26,
  8. size = 0.8,
  9. name = "Diamond Casino & Resort"
  10. },
  11.  
  12. MapType = 0, --0 = IPL / 1 = UNCLEJUST / 2 = K4MB1 / 3 = GABZ
  13.  
  14. EnableInsideBlips = true, --ENABLE SOME INSIDE CASINO MAP BLIPS? (LIKE CASHIER, BLACKJACK, INSIDETRACK ETC POSITIONS)
  15.  
  16. EnableChipsHud = true, --ENABLE GTA:O CHIPS HUD?
  17.  
  18. AmbientSounds = true, --ENABLE CASINO SOUNDS IN BACKGROUND?
  19.  
  20. SafeZone = true, ----WILL DISABLE ALL COMBAT CONTROLS AND JUMP (KEYS CONFIGURABLE BELOW)
  21.  
  22. Type = "3DTEXT", --YOU CAN CHOOSE BETWEEN 3DTEXT/MARKER
  23.  
  24. MenuType = "DEFAULT", --DEFAULT // MENU: esx_menu_default // OX: ox_lib (check also fxmanifest) // NH: nh-context
  25.  
  26. ChipsItemName = "casino_chips", --IF YOU CHANGE YOU NEED TO INSERT THE NEW ITEM IN YOUR DATABASE/INVENTORY
  27.  
  28. AnimatedCasino = { --ANIMATED CASINO CONFIG
  29. enable = true, --ANIMATE CASINO WALLS?
  30. type = "CASINO_DIA_PL" --YOU CAN CHOOSE BETWEEN: CASINO_DIA_PL (DIAMONDS) || CASINO_HLW_PL (SKULLS) || CASINO_SNWFLK_PL (SNOWFLAKES)
  31. },
  32.  
  33. EnableSociety = true, --ENABLING THAT CASINO WILL RECEIVE ALL THE BETS MONEY IN SOCIETY (THIS IS NOT USING ESX_SOCIETY OR ESX_ADDONACCOUNT)
  34.  
  35. EnableCams = true, --REQUIRES EnableSociety = true
  36.  
  37. JobName = "casino", --NEEDED JOB NAME (INCLUDED IN "society" SQL FILE)
  38. }
  39.  
  40. DS_Casino_System_Main_Config.HelpText = function(msg)
  41. AddTextEntry("helptext", msg)
  42. DisplayHelpTextThisFrame("helptext", false)
  43. end
  44.  
  45. DS_Casino_System_Main_Config.Draw3DText = function(x, y, z, text)
  46. SetTextScale(0.325, 0.325)
  47. SetTextFont(4)
  48. SetTextProportional(1)
  49. SetTextColour(255, 255, 255, 215)
  50. SetTextEntry("STRING")
  51. SetTextCentre(true)
  52. AddTextComponentString(text)
  53. SetDrawOrigin(x,y,z, 0)
  54. DrawText(0.0, 0.0)
  55. local factor = (string.len(text)) / 370
  56. DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 68)
  57. ClearDrawOrigin()
  58. end
  59.  
  60. DS_Casino_System_Main_Config.Notification = function(msg)
  61. BeginTextCommandThefeedPost('STRING')
  62. AddTextComponentSubstringPlayerName(msg)
  63. EndTextCommandThefeedPostTicker(0, 1)
  64. end
  65.  
  66. DS_Casino_System_Main_Config.SafeZoneKeys = function()
  67. DisablePlayerFiring(PlayerId(), true)
  68. DisableControlAction(0, 22, true)
  69. DisableControlAction(0, 140, true)
  70. DisableControlAction(0, 141, true)
  71. DisableControlAction(0, 142, true)
  72. end
Add Comment
Please, Sign In to add comment