esx-framework / esx_ambulancejob Goto Github PK
View Code? Open in Web Editor NEWambulancejob for esx-framework
License: GNU General Public License v3.0
ambulancejob for esx-framework
License: GNU General Public License v3.0
I try to fix the distress signals but when i try to send signal with the default phone that was used for the resource still the distress signals not working no errors just it didn't work
Players can speak after they die.
I've made no edits to the script.
Hello everyone and sry for my english, all in the title if i try to buy a vehicle but instead of push "Stop viewing" i do ESC, i'm blocked into the vehicle.
Hey :)
This code here looks awfully familiar:
https://github.com/esx-framework/esx_ambulancejob/blob/main/client/main.lua#L387-L481
I did not remember giving anyone permission to use this anywhere. The original code can be found here: https://github.com/Kiminaze/DeathCam
I have no clue how long this has been in this resource but according to the commit history at least since January of 2023. At that point, my Deathcam did not even include a License. And a few months after that I added one that does still not permit anyone from distributing it in other releases. No license = you can fork it and look at it, nothing else.
I am willing to talk about it before I take any other action since this is a major release in the community.
Kind regards, Kiminaze
vehicle.lua
I've edited lines 61-65 I tried printing it and it seems to use boolean, not number
So I added v.stored == true/false to it and it worked fine. :
if v.stored == 1 or v.stored == true then
label = label .. ('<span style="color:green;">%s</span>'):format(TranslateCap('garage_stored'))
elseif v.stored == 0 or v.stored == false then
label = label .. ('<span style="color:darkred;">%s</span>'):format(TranslateCap('garage_notstored'))
end
RegisterNetEvent('esx_ambulancejob:setDeathStatus')
AddEventHandler('esx_ambulancejob:setDeathStatus', function(isDead)
local xPlayer = ESX.GetPlayerFromId(source)
if type(isDead) == 'boolean' then
MySQL.update('UPDATE users SET is_dead = ? WHERE identifier = ?', { isDead, xPlayer.identifier })
isDeadState(source, isDead)
if not isDead then
local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
for _, xPlayer in pairs(Ambulance) do
xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', source)
end
end
end
end)
Txadmin give errors in line 368. i checked in my mysql database if the row is_dead there, it is. And i dont know what to do...
SCRIPT ERROR: @esx_ambulancejob/server/main.lua:368: attempt to index a nil value (local 'xPlayer')
That the error. Its since i updated the server artifacts to fx: b7479
I use visn_are but they say from thier side is all fine..
I cant open any menu vehicleshop warderobe whatelse
Hey, as soon as I buy an ambulance I cant spawn it because its supposedly not in the garage. In owned_vehicles (in the database) its registered that I bought an ambulance as an medic.
Could you please help me?
Hey Guys, we're using the latest version of ESX_AmbulanceJob and we have the problem, that when a User Disconnects and reconnects, the Script doesn't recognize the Player as dead and we can't revive them via Ambulance Revive job
If you buy a ambulance in the ambulanceshop, the car will be returned in your own garage. I use esx_jb_eden_garage for my own cars buyed in the cardealer. But the ambulance are in my private garage
The vehicle modifications like color, liveries, turbo etc. are not saved when storing the vehicle.
As sayed in the title i have a problem with my death timer.
my version: 1.2.0
i was wondering if you could help me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.