how did u do that steel pipe animation
ok here is how i fixed the pole dancer
taken from NPC ADDon and cleaned a lil by me
She is now dancing correctly around the pole like it should
Citizen.CreateThread(function()
local model = GetHashKey("s_f_y_stripperlite")
RequestModel(model)
while not HasModelLoaded(model) do
Wait(10)
end
local npc = CreatePed(1, "s_f_y_stripperlite", 112.60, -1286.76, 28.45, 265.902, false, true)
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(112.60, -1286.76, 28.45, 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)
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)
I made an issue/tip on your Github, it’d be nice to have in order to increase performance.
Can you please tell me what to with this. Do i need to add this in the client.lua or somewhere else? Not a coder
That is added in client / main.lua of the ped script.
And the begining when the resource starts, is ok. But after a while they all are gone and the only way is to restart the Script. ¿Can you make it to check the spawn and if not make a new one?, so you have them always inside?
can i please get a vrp script for the strippers you will do me a great faver
i looked every where
Can you help me out. She keeps getting stuck
The code you provided is not working. I added it in the config file. Found 1 problem missing some code
(function() missing Citizen.CreateThread
The script just stops working if i place it in the main lua file.
I love it
Is it possible to refine this to not require ESX?
Thanks mate, this fix work really great.
i need these strippers,
you can send me?
yes awesome work, a non ESX version would be greatly appreciated ty
there are strippers spawning with the mp female cutout tshirts around them it looks weird needs a fix
you can down load this if you know how to stream peds https://www.gta5-mods.com/player/strippers
then replace all the 02 strippers with the 01
looks like you got the poles working good. or is that just . the perfect picture?