├── qb-strippers ├── server.lua ├── __resource.lua ├── config.lua └── client.lua ├── README.md └── LICENSE /qb-strippers/server.lua: -------------------------------------------------------------------------------- 1 | local QBCore = exports['qb-core']:GetCoreObject() 2 | -------------------------------------------------------------------------------- /qb-strippers/__resource.lua: -------------------------------------------------------------------------------- 1 | client_scripts { 2 | 'config.lua', 3 | 'client.lua' 4 | } 5 | 6 | server_scripts{ 7 | 'server.lua' 8 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | QBCore Strippers For (Gabz Vanilla Unicorn MLO) 2 | 3 | This is a Converted Script from ESX_Strippers >> Original Script https://github.com/ThePyromaniac/esx_strippers 4 | -------------------------------------------------------------------------------- /qb-strippers/config.lua: -------------------------------------------------------------------------------- 1 | Config = {} 2 | 3 | Config.Locations18 = { -- Unicorn Girl tubo 4 | { x = 109.05, y = -1283.27, z = 27.75, heading = 212.67 } 5 | } 6 | 7 | Config.Locations19 = { -- Unicorn Girl tubo 8 | { x = 105.9, y = -1291.02, z = 29.4, heading = 251.5 } 9 | } 10 | 11 | Config.Locations20 = { -- Unicorn Girl tubo 12 | { x = 99.93, y = -1287.55, z = 28.27, heading = 275.89 } 13 | } 14 | 15 | Config.Locations21 = { -- Unicorn Girl tubo 16 | { x = 105.96, y = -1297.26, z = 28.26, heading = 309.89 } 17 | } 18 | 19 | Config.Locations22 = { -- PolDancer 1 20 | { x = 102.29, y = -1289.85, z = 29.30, heading = 292.55 } 21 | } 22 | 23 | Config.Locations23 = { -- PolDancer 2 24 | { x = 104.82, y = -1294.20, z = 29.39, heading = 245.61 } 25 | } 26 | 27 | Config.Locations24 = { -- Unicorn Girls 28 | { x = 113.86, y = -1291.91, z = 27.75, heading = 9.04 } 29 | } 30 | 31 | Config.Locations25 = { -- PolDancer 3 32 | { x = 108.88, y = -1289.0, z = 29.28, heading = 294.16 } 33 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 MrBeast2020 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /qb-strippers/client.lua: -------------------------------------------------------------------------------- 1 | local QBCore = exports['qb-core']:GetCoreObject() 2 | 3 | Citizen.CreateThread(function() 4 | RequestModel(GetHashKey("a_f_y_topless_01")) 5 | 6 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 7 | Wait(10) 8 | end 9 | 10 | 11 | for _, item in pairs(Config.Locations18) do 12 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 13 | local npc2 = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 14 | local ad = "mini@strip_club@lap_dance_2g@ld_2g_p2" 15 | 16 | RequestAnimDict(ad) 17 | while not HasAnimDictLoaded(ad) do 18 | Citizen.Wait(1000) 19 | end 20 | 21 | local netScene6 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 22 | TaskSynchronizedScene(npc, netScene6, ad, "ld_2g_p2_s1", 1.0, -4.0, 261, 0, 0) 23 | TaskSynchronizedScene(npc2, netScene6, ad, "ld_2g_p2_s2", 1.0, -4.0, 261, 0, 0) 24 | FreezeEntityPosition(npc, true) 25 | FreezeEntityPosition(npc2, true) 26 | SetEntityHeading(npc, item.heading) 27 | SetEntityHeading(npc2, item.heading) 28 | SetEntityInvincible(npc, true) 29 | SetEntityInvincible(npc2, true) 30 | SetBlockingOfNonTemporaryEvents(npc, true) 31 | SetBlockingOfNonTemporaryEvents(npc2, true) 32 | SetSynchronizedSceneLooped(netScene6, 1) 33 | SetModelAsNoLongerNeeded(model) 34 | end 35 | 36 | end) 37 | 38 | 39 | Citizen.CreateThread(function() 40 | RequestModel(GetHashKey("a_f_y_topless_01")) 41 | 42 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 43 | Wait(10) 44 | end 45 | 46 | for _, item in pairs(Config.Locations19) do 47 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 48 | 49 | FreezeEntityPosition(npc, true) 50 | SetEntityHeading(npc, item.heading) 51 | SetEntityInvincible(npc, true) 52 | SetBlockingOfNonTemporaryEvents(npc, true) 53 | RequestAnimDict("mini@strip_club@private_dance@part3") 54 | while not HasAnimDictLoaded("mini@strip_club@private_dance@part3") do 55 | Citizen.Wait(100) 56 | end 57 | 58 | local netScene5 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 59 | TaskSynchronizedScene(npc, netScene5, "mini@strip_club@private_dance@part3", "priv_dance_p3", 1.0, -4.0, 261, 0, 0) 60 | SetSynchronizedSceneLooped(netScene5, 1) 61 | SetModelAsNoLongerNeeded(model) 62 | end 63 | end) 64 | 65 | Citizen.CreateThread(function() 66 | RequestModel(GetHashKey("a_f_y_topless_01")) 67 | 68 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 69 | Wait(10) 70 | end 71 | 72 | for _, item in pairs(Config.Locations20) do 73 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 74 | 75 | FreezeEntityPosition(npc, true) 76 | SetEntityHeading(npc, item.heading) 77 | SetEntityInvincible(npc, true) 78 | SetBlockingOfNonTemporaryEvents(npc, true) 79 | RequestAnimDict("mini@strip_club@private_dance@part1") 80 | while not HasAnimDictLoaded("mini@strip_club@private_dance@part1") do 81 | Citizen.Wait(100) 82 | end 83 | 84 | local netScene4 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 85 | TaskSynchronizedScene(npc, netScene4, "mini@strip_club@private_dance@part1", "priv_dance_p1", 1.0, -4.0, 261, 0, 0) 86 | SetSynchronizedSceneLooped(netScene4, 1) 87 | SetModelAsNoLongerNeeded(model) 88 | end 89 | end) 90 | 91 | 92 | Citizen.CreateThread(function() 93 | RequestModel(GetHashKey("a_f_y_topless_01")) 94 | 95 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 96 | Wait(10) 97 | end 98 | 99 | for _, item in pairs(Config.Locations21) do 100 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 101 | 102 | FreezeEntityPosition(npc, true) 103 | SetEntityHeading(npc, item.heading) 104 | SetEntityInvincible(npc, true) 105 | SetBlockingOfNonTemporaryEvents(npc, true) 106 | RequestAnimDict("mini@strip_club@private_dance@part2") 107 | while not HasAnimDictLoaded("mini@strip_club@private_dance@part2") do 108 | Citizen.Wait(100) 109 | end 110 | 111 | local netScene2 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 112 | TaskSynchronizedScene(npc, netScene2, "mini@strip_club@private_dance@part2", "priv_dance_p2", 1.0, -4.0, 261, 0, 0) 113 | SetSynchronizedSceneLooped(netScene2, 1) 114 | SetModelAsNoLongerNeeded(model) 115 | end 116 | end) 117 | 118 | Citizen.CreateThread(function() 119 | RequestModel(GetHashKey("a_f_y_topless_01")) 120 | 121 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 122 | Wait(10) 123 | end 124 | 125 | for _, item in pairs(Config.Locations22) do 126 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 127 | 128 | FreezeEntityPosition(npc, true) 129 | SetEntityHeading(npc, item.heading) 130 | SetEntityInvincible(npc, true) 131 | SetBlockingOfNonTemporaryEvents(npc, true) 132 | RequestAnimDict("mini@strip_club@pole_dance@pole_dance2") 133 | while not HasAnimDictLoaded("mini@strip_club@pole_dance@pole_dance2") do 134 | Citizen.Wait(100) 135 | end 136 | 137 | local netScene2 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 138 | TaskSynchronizedScene(npc, netScene2, "mini@strip_club@pole_dance@pole_dance2", "pd_dance_02", 1.0, -4.0, 261, 0, 0) 139 | SetSynchronizedSceneLooped(netScene2, 1) 140 | SetModelAsNoLongerNeeded(model) 141 | end 142 | end) 143 | 144 | Citizen.CreateThread(function() 145 | RequestModel(GetHashKey("a_f_y_topless_01")) 146 | 147 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 148 | Wait(10) 149 | end 150 | 151 | for _, item in pairs(Config.Locations23) do 152 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 153 | 154 | FreezeEntityPosition(npc, true) 155 | SetEntityHeading(npc, item.heading) 156 | SetEntityInvincible(npc, true) 157 | SetBlockingOfNonTemporaryEvents(npc, true) 158 | RequestAnimDict("mini@strip_club@pole_dance@pole_dance3") 159 | while not HasAnimDictLoaded("mini@strip_club@pole_dance@pole_dance3") do 160 | Citizen.Wait(100) 161 | end 162 | 163 | local netScene3 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 164 | TaskSynchronizedScene(npc, netScene3, "mini@strip_club@pole_dance@pole_dance3", "pd_dance_03", 1.0, -4.0, 261, 0, 0) 165 | SetSynchronizedSceneLooped(netScene3, 1) 166 | SetModelAsNoLongerNeeded(model) 167 | end 168 | end) 169 | 170 | Citizen.CreateThread(function() 171 | RequestModel(GetHashKey("a_f_y_topless_01")) 172 | 173 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 174 | Wait(10) 175 | end 176 | 177 | 178 | for _, item in pairs(Config.Locations24) do 179 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 180 | local npc2 = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 181 | local ad = "mini@strip_club@lap_dance_2g@ld_2g_p1" 182 | 183 | RequestAnimDict(ad) 184 | while not HasAnimDictLoaded(ad) do 185 | Citizen.Wait(1000) 186 | end 187 | 188 | local netScene = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 189 | TaskSynchronizedScene(npc, netScene, ad, "ld_2g_p1_s1", 1.0, -4.0, 261, 0, 0) 190 | TaskSynchronizedScene(npc2, netScene, ad, "ld_2g_p1_s2", 1.0, -4.0, 261, 0, 0) 191 | FreezeEntityPosition(npc, true) 192 | FreezeEntityPosition(npc2, true) 193 | SetEntityHeading(npc, item.heading) 194 | SetEntityHeading(npc2, item.heading) 195 | SetEntityInvincible(npc, true) 196 | SetEntityInvincible(npc2, true) 197 | SetBlockingOfNonTemporaryEvents(npc, true) 198 | SetBlockingOfNonTemporaryEvents(npc2, true) 199 | SetSynchronizedSceneLooped(netScene, 1) 200 | SetModelAsNoLongerNeeded(model) 201 | end 202 | end) 203 | 204 | Citizen.CreateThread(function() 205 | RequestModel(GetHashKey("a_f_y_topless_01")) 206 | 207 | while not HasModelLoaded(GetHashKey("a_f_y_topless_01")) do 208 | Wait(10) 209 | end 210 | 211 | for _, item in pairs(Config.Locations25) do 212 | local npc = CreatePed(1, 0x9CF26183, item.x, item.y, item.z, item.heading, false, true) 213 | 214 | FreezeEntityPosition(npc, true) 215 | SetEntityHeading(npc, item.heading) 216 | SetEntityInvincible(npc, true) 217 | SetBlockingOfNonTemporaryEvents(npc, true) 218 | RequestAnimDict("mini@strip_club@pole_dance@pole_dance1") 219 | while not HasAnimDictLoaded("mini@strip_club@pole_dance@pole_dance1") do 220 | Citizen.Wait(100) 221 | end 222 | 223 | local netScene3 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2) 224 | TaskSynchronizedScene(npc, netScene3, "mini@strip_club@pole_dance@pole_dance1", "pd_dance_01", 1.0, -4.0, 261, 0, 0) 225 | SetSynchronizedSceneLooped(netScene3, 1) 226 | SetModelAsNoLongerNeeded(model) 227 | end 228 | end) 229 | --------------------------------------------------------------------------------