[Release] Hookers [Early Version] [Standalone/VRP]

They are chat command?..
image

Are you using the latest update?

Hey there, mine too i don’t have menu ((((

Yes i am using your latest update like i said its a chat resource issue


now working good but…

oh my badi have custom chat (but unfrtunatly i don’t habve help option) i ran these in f8 console and does work :joy:

Okey the problem seems to be. If you go out the server and come back, or you restart the server and join, the invisible marker doesn’t work. So I’m trying to find a fix on that asap.

no in f8 jager in the chat

For the poeple who are having problem with the Hook menu not Showing .

You need to restart the script using IceCon or restart you server .

@Yadiiiig youd be nice that you have to play for the service

I’m not making this into a ESX or VRP script. You can do that yourself, it’s only adding 1 line at each command.

1 Like

it’s easy :slight_smile: of course

wow
i made one street of prostitutes.
wonderfull

Seems great, good job!

How do I increase the fun time? @Yadiiiig

TaskPlayAnim(SpawnedPed,"oddjobs@towing","f_blow_job_loop", 1.0, -1.0, 10000, 0, 1, true, true, true)
TaskPlayAnim(playerPed,"oddjobs@towing","m_blow_job_loop", 1.0, -1.0, 10000, 0, 1, true, true, true)

Change the number 10000 in the time you want it to be (it’s in miliseconds so: 10000 are 10 seconds)

TaskPlayAnim(SpawnedPed,"mini@prostitutes@sexlow_veh","low_car_sex_loop_female", 1.0, -1.0, 25000, 0, 1, true, true, true)
TaskPlayAnim(playerPed,"mini@prostitutes@sexlow_veh","low_car_sex_loop_player", 1.0, -1.0, 25000, 0, 1, true, true, true)

Change the number 25000 in the time you want it to be (it’s in miliseconds so: 25000 are 25 seconds)

1 Like

I tried but it didn’t work

Clarify ā€œnot workingā€?

the time cannot be extended or changed. I did what you said.

Show me ur code. So I can see what you did wrong.

local ModelSpawned = false
local PlayingAnim = false
local CurrentLocation = nil
local playerPed = GetPlayerPed(-1)
local context = GetHashKey("MINI_PROSTITUTE_LOW_PASSENGER")
local Hookers = {
	{id = 1, VoiceName = "HOOKER_LEAVES_ANGRY", modelHash = "s_f_y_stripper_01", x = 2569.04, y = 6177.33, z = 163.87, heading = 359.2}, 
}
local locations = {
	{
		name = "Hookers Legion",
		pos = {x = 2561.24, y = 6185.47, z = 162.68},
		size = 5.0
	},
}

Citizen.CreateThread(function()
	while true do
			Citizen.Wait(0)
			coords = GetEntityCoords(playerPed)
			for k,v in pairs(locations) do
					if GetDistanceBetweenCoords(coords, v.pos.x, v.pos.y, v.pos.z, true) < v.size then
							CurrentLocation = v
							break
					else
							CurrentLocation = nil
					end
			end
	end
end)

Citizen.CreateThread(function()
  while true do
    Citizen.Wait(0)
	
	if (not ModelSpawned) then
	  
	  for i=1, #Hookers do
        RequestModel(GetHashKey(Hookers[i].modelHash))
        while not HasModelLoaded(GetHashKey(Hookers[i].modelHash)) do
          Citizen.Wait(0)
        end
		SpawnedPed = CreatePed(2, Hookers[i].modelHash, Hookers[i].x, Hookers[i].y, Hookers[i].z, Hookers[i].heading, true, true)
		  ModelSpawned = true
		  if IsEntityDead(SpawnedPed) then
			SpawnedPed = CreatePed(2, Hookers[i].modelHash, Hookers[i].x, Hookers[i].y, Hookers[i].z, Hookers[i].heading, true, true)
		  end
	end
    end
	end
end)

Citizen.CreateThread(function()
	while true do
			Citizen.Wait(0)
			if CurrentLocation ~= nil then
					SetTextComponentFormat('STRING')
					AddTextComponentString('Araca çağırmak için ~b~~h~E~h~~w~ tuşuna bas.')
					DisplayHelpTextFromStringLabel(0, 0, 1, -1)
					if IsControlJustPressed(0,51) then
						TaskEnterVehicle(SpawnedPed, GetVehiclePedIsIn(playerPed, false), -1, 0, 1.0, 1, 0)
						Citizen.Wait(5000)
						TriggerEvent("chatMessage", "Aleyna", {0 , 255, 0 }, "Hey tatlım, ne yapmamı istersin? Sakso veya daha iyisi?")
						Citizen.Wait(1000)
						TriggerEvent("chatMessage", "^1BILGI", {0 , 0, 0 }, "Sakso iƧin /bj , Seks iƧin /sex veya araƧtan gitmesi iƧin /getout yaz.")
					end
			end
	end
end)

RegisterCommand("bj", function(source, args, raw)
	TriggerEvent("blowjob")
end, false)
RegisterNetEvent("blowjob")
AddEventHandler("blowjob", function(inputText)
	RequestAnimDict("oddjobs@towing")
	while (not HasAnimDictLoaded("oddjobs@towing")) do 
	Citizen.Wait(0)
	end
	TaskPlayAnim(SpawnedPed,"oddjobs@towing","f_blow_job_loop", 1.0, -1.0, 650000, 0, 1, true, true, true)
	TaskPlayAnim(playerPed,"oddjobs@towing","m_blow_job_loop", 1.0, -1.0, 6500000, 0, 1, true, true, true)
	TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 8, "bj", 1.0)
end)

RegisterCommand("sex", function(source, args, raw)
	TriggerEvent("havesex")
end, false)
RegisterNetEvent("havesex")
AddEventHandler("havesex", function(inputText)
	RequestAnimDict("mini@prostitutes@sexlow_veh")
	while (not HasAnimDictLoaded("mini@prostitutes@sexlow_veh")) do 
	Citizen.Wait(0)
	end
	TaskPlayAnim(SpawnedPed,"mini@prostitutes@sexlow_veh","low_car_sex_loop_female", 1.0, 6500000, -1, 0, 1, true, true, true)
	TaskPlayAnim(playerPed,"mini@prostitutes@sexlow_veh","low_car_sex_loop_player", 1.0, 6500000, -1, 0, 1, true, true, true)
	TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 8, "sex", 0.4)
end)

RegisterCommand("getout", function(source, args, raw)
	TriggerEvent("sendhookerhome")
TriggerServerEvent("InteractSound_SV:PlayWithinDistance", 8, "bj", 0.0)	
end, false)
RegisterNetEvent("sendhookerhome")
AddEventHandler("sendhookerhome", function(inputText)
	TaskLeaveVehicle(SpawnedPed, vehicle, 0)
	TaskGoToCoordAnyMeans(SpawnedPed, 2569.04, 6177.33, 163.87, 5.0, 0, 0, 786603, 0xbf800000)
	
end)

Citizen.CreateThread(function()
	while true do
	  Citizen.Wait(1000)
			if IsEntityDead(SpawnedPed) then
			  SpawnedPed = CreatePed(2, "s_f_y_stripper_01", 2569.04, 6177.33, 163.87, 359.2, true, true)
			end
	end
end)