2 strippers in synced lap dance
Citizen.CreateThread(function()
local model = GetHashKey("s_f_y_stripperlite")
RequestModel(model)
while not HasModelLoaded(model) do
Wait(10)
end
if Config.EnableStripclub then
for _, item in pairs(Config.Locations23) do
local npc = CreatePed(1, "s_f_y_stripperlite", item.x, item.y, item.z, item.heading, false, true)
local npc2 = CreatePed(1, "s_f_y_stripperlite", item.x, item.y, item.z, item.heading, false, true)
local ad = "mini@strip_club@lap_dance_2g@ld_2g_p1"
RequestAnimDict(ad)
while not HasAnimDictLoaded(ad) do
Citizen.Wait(1000)
end
local netScene = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2)
TaskSynchronizedScene(npc, netScene, ad, "ld_2g_p1_s1", 1.0, -4.0, 261, 0, 0)
TaskSynchronizedScene(npc2, netScene, ad, "ld_2g_p1_s2", 1.0, -4.0, 261, 0, 0)
SetEntityInvincible(npc, true)
SetEntityInvincible(npc2, true)
SetBlockingOfNonTemporaryEvents(npc, true)
SetBlockingOfNonTemporaryEvents(npc2, true)
SetSynchronizedSceneLooped(netScene, 1)
SetModelAsNoLongerNeeded(model)
end
end
end)