Is there a direct download link?
You can download trough guthub bruh
Btw Nice release
I like the release.
But you need to be more aware of your code, itâs unoptimized.
call de cops:
after line 33:
local coords = GetEntityCoords(GetPlayerPed(-1))
After line 59 client.lua:
TriggerServerEvent(âesx_addons_gcphone:startCallâ, âpoliceâ, âVi uma pessoa a ser raptada com uma arma apontada a cabeça!â,
{
x = coords.x,
y = coords.y,
z = coords.z
})
how to download it
i press on upload file it says File uploads require push access to this repository
Awesome
good job boy
you need to fix it like when the hostage is dead canât make takehostage for who killed him + when i take hostage the hostage can canceld the animation by moving right left not freeze!
Being held hostage woundât DisableControlAction
Disablecontrolaction for f6 is not working in this file
where i have to put that?? this is the 33 line
Update:
Added ammo check for weapons.
Added extra shorter command /th & code cleanup
Fixed disable controls for the hostage not working
Changed death check from health to isEntityDead
i wanna make it from /th (the command) to a key to press, how ?
UP ??? thank
What was the question?
Sorry for your English
Citizen.CreateThread(function()
while true do
Citizen.Wait(5)
if IsControlJustPressed(1, Keys[âEâ]) and IsControlPressed(1, Keys[âLEFTSHIFTâ]) then
takeHostage()
end
end
end)
thanks but where do i add it , which line
and if anyone can help me to do this , 1- when you die u canât use /th , 2- when someone take you as hostage u canât do /th , thanks a lot