Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DS_Casino_System_Main_Config = {
- MapBlip = { --MAP BLIP CONFIG
- enable = true,
- coords = vec3(922.110, 47.567, 81.103),
- id = 617,
- color = 26,
- size = 0.8,
- name = "Diamond Casino & Resort"
- },
- MapType = 0, --0 = IPL / 1 = UNCLEJUST / 2 = K4MB1 / 3 = GABZ
- EnableInsideBlips = true, --ENABLE SOME INSIDE CASINO MAP BLIPS? (LIKE CASHIER, BLACKJACK, INSIDETRACK ETC POSITIONS)
- EnableChipsHud = true, --ENABLE GTA:O CHIPS HUD?
- AmbientSounds = true, --ENABLE CASINO SOUNDS IN BACKGROUND?
- SafeZone = true, ----WILL DISABLE ALL COMBAT CONTROLS AND JUMP (KEYS CONFIGURABLE BELOW)
- Type = "3DTEXT", --YOU CAN CHOOSE BETWEEN 3DTEXT/MARKER
- MenuType = "DEFAULT", --DEFAULT // MENU: esx_menu_default // OX: ox_lib (check also fxmanifest) // NH: nh-context
- ChipsItemName = "casino_chips", --IF YOU CHANGE YOU NEED TO INSERT THE NEW ITEM IN YOUR DATABASE/INVENTORY
- AnimatedCasino = { --ANIMATED CASINO CONFIG
- enable = true, --ANIMATE CASINO WALLS?
- type = "CASINO_DIA_PL" --YOU CAN CHOOSE BETWEEN: CASINO_DIA_PL (DIAMONDS) || CASINO_HLW_PL (SKULLS) || CASINO_SNWFLK_PL (SNOWFLAKES)
- },
- EnableSociety = true, --ENABLING THAT CASINO WILL RECEIVE ALL THE BETS MONEY IN SOCIETY (THIS IS NOT USING ESX_SOCIETY OR ESX_ADDONACCOUNT)
- EnableCams = true, --REQUIRES EnableSociety = true
- JobName = "casino", --NEEDED JOB NAME (INCLUDED IN "society" SQL FILE)
- }
- DS_Casino_System_Main_Config.HelpText = function(msg)
- AddTextEntry("helptext", msg)
- DisplayHelpTextThisFrame("helptext", false)
- end
- DS_Casino_System_Main_Config.Draw3DText = function(x, y, z, text)
- SetTextScale(0.325, 0.325)
- SetTextFont(4)
- SetTextProportional(1)
- SetTextColour(255, 255, 255, 215)
- SetTextEntry("STRING")
- SetTextCentre(true)
- AddTextComponentString(text)
- SetDrawOrigin(x,y,z, 0)
- DrawText(0.0, 0.0)
- local factor = (string.len(text)) / 370
- DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 68)
- ClearDrawOrigin()
- end
- DS_Casino_System_Main_Config.Notification = function(msg)
- BeginTextCommandThefeedPost('STRING')
- AddTextComponentSubstringPlayerName(msg)
- EndTextCommandThefeedPostTicker(0, 1)
- end
- DS_Casino_System_Main_Config.SafeZoneKeys = function()
- DisablePlayerFiring(PlayerId(), true)
- DisableControlAction(0, 22, true)
- DisableControlAction(0, 140, true)
- DisableControlAction(0, 141, true)
- DisableControlAction(0, 142, true)
- end
Add Comment
Please, Sign In to add comment