@docburn
if there a boy in the npcaddon ped addon thread, put the solution, I have the 2 script, scripts together, one npcaddons, makes the 2 girls together and the girl at the bar and this script handles the other girls.
EDIT:
Here the 2 girls in the middle of the dance floor synchronized and the girl at the bar, I have this in the script ped, so they do not stop dancing if they are beaten etc, the only thing if the thrusts remain still otherwise they dance whatever happens pass
(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)
FreezeEntityPosition(npc, true)
SetEntityHeading(npc, item.heading)
SetEntityInvincible(npc, true)
SetBlockingOfNonTemporaryEvents(npc, true)
RequestAnimDict("mini@strip_club@pole_dance@pole_dance3")
while not HasAnimDictLoaded("mini@strip_club@pole_dance@pole_dance3") do
Citizen.Wait(100)
end
local netScene3 = CreateSynchronizedScene(item.x, item.y, item.z, vec3(0.0, 0.0, 0.0), 2)
TaskSynchronizedScene(npc, netScene3, "mini@strip_club@pole_dance@pole_dance3", "pd_dance_03", 1.0, -4.0, 261, 0, 0)
SetSynchronizedSceneLooped(netScene, 1)
SetModelAsNoLongerNeeded(model)
end
end
end)
Citizen.CreateThread(function()
local model = GetHashKey(“a_f_y_topless_01”)
RequestModel(model)
while not HasModelLoaded(model) do
Wait(10)
end
if Config.EnableStripclub then
for _, item in pairs(Config.Locations24) do
local npc = CreatePed(1, "a_f_y_topless_01", item.x, item.y, item.z, item.heading, false, true)
local npc2 = CreatePed(1, "a_f_y_topless_01", 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)
FreezeEntityPosition(npc, true)
FreezeEntityPosition(npc2, true)
SetEntityHeading(npc, item.heading)
SetEntityHeading(npc2, item.heading)
SetEntityInvincible(npc, true)
SetEntityInvincible(npc2, true)
SetBlockingOfNonTemporaryEvents(npc, true)
SetBlockingOfNonTemporaryEvents(npc2, true)
SetSynchronizedSceneLooped(netScene, 1)
SetModelAsNoLongerNeeded(model)
end
end
end)