Is there a way to fix the bug when someone is calling the ambulance? If an EMS take the call and arrive at the person he’s invincible so he can’t revive him.
How did you get that death timer?!
Got the same Did you fix?
Disable scripthook and this should not be an issue
It’s disabled.
20 characters.
Has to be a character model issue, test with the normal regular spawn in character. I am betting this is caused because the character is either a addon ped or a custom ped
They’re not addon nor custom ped.
NIce resource, keep up the work!
Did you start base events? Why use noclip when /die is available. /revive? Its /revive [id].
# you probably don't want to change these!
# only change them if you're using a server with multiple network interfaces
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
set es_enableCustomData 1
set mysql_connection_string "server=127.0.0.01;database=essentialmode;userid=root;"
start keksl
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2
start es_extended
start baseevents
start esx_skin
start esx_menu_default
start esx_menu_dialog
start esx_menu_list
start esx_phone
start esx_skin
start esx_addonaccount
start esx_addoninventory
start esx_billing
start esx_datastore
start esx_society
start esx_policejob
start esx_jobs
start esx_joblisting
start esx_holdup
start esx_rpchat
start esx_ambulancejob
start esx_identity
start esx_service
start esx_taxijob
start esx_atm
start esx_voice
start esx_shops
start esx_status
start esx_basicneeds
start esx_vehicleshop
start esx_mecanojob
start esx_lscustom
start esx_jailer
start esx_animations
start esx_clotheshop
start esx_drugs
start esx_247
start esx_radars
start skinchanger
start instance
start cron
start indicators
start ads
start LeaveEngineRunning
start carhud
start pNotify
start LockSystem
sv_scriptHookAllowed 0
# change this
rcon_password yay
sv_hostname "Klerta|Swedish RP|Droger💊|Polis/Ems|Många Jobb!!|Bilhandlare|"
# nested configs!
#exec server_internal.cfg
# loading a server icon (96x96 PNG file)
load_server_icon myLogo.png
# convars for use from script
set temp_convar "hey world!"
# disable announcing? clear out the master by uncommenting this
#sv_master1 ""
# want to only allow players authenticated with a third-party provider like Steam?
#sv_authMaxVariance 1
#sv_authMinTrust 5
# add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.steam:110000116f052ff group.admin # add the admin to the group
# remove the # to hide player endpoints in external log output
#sv_endpointprivacy true
# server slots limit (must be between 1 and 31)
sv_maxclients 30
# license key for server (https://keymaster.fivem.net)
sv_licenseKey you guys are not getting that
I did start baseevents
Ok, you started base events. But why in the video are you using the command incorrectly? The suggestions shown in blue just under the chat showed /revive [id]. Yet you typed /revive. Try using the command correctly and see if the issue persists. EDIT: I wasn’t using this resource, but after looking at the code and throwing it in my test server /revive should revive the source. /revive [id] will revive the id entered. If after entering /revive you get a black screen, you haven’t properly set everything up. I had no problem with /revive or /revive [id].
For some weird reason i can not add ambulance vehicles i thought it would be setup the same as esx police job but it isnt… can anyone help?
Did you managed to fix the medikit?
[QUESTION] I’m not sure is this the right script. On hospital you can spawn into the hospital, then run to the elevator which teleport you on the roof.
There spawns automatik a maverick with ambulance skin. IS THIS INCLUDED IN ESX_AMBULANCEJOB or other script, please?
I’m removing this script from my server for now… Took me 1-2 weeks to figure out why database loss occurred.
This script has the following issues:
- Players lose (weapons license, drivers license…)
- Players lose weapons + money
- changing config to false doesn’t change anything
- everyone in this forum claims server auto cleans cache and that BS (will try to clean cache manually).
Will update if I find a fix… if not I will remove this from my server temporarily. Otherwise good work! @Sorrora
start baseevent and fonctionnel
Same issue as well. It’s very annoying. I am hoping a way to fix this is possible. I put everything in false and it still happens. I’ve went into many config files can’t find it.
This does not work. Besides, I already have start baseevents. Anyone has a solution?
I’m having an issue! Everything is updated : essential-mode, es_extended, es_admin2… Even tried to get /revive to work with older versions…
[ 499266] Connecting: =(3)= RalfTech YouTube
[ 500906] Sending heartbeat to live-internal.fivem.net:30110
[ 518719] Connecting: MrMercedes
[ 519125] hitch warning: frame time of 191 milliseconds
[ 520344] Sending heartbeat to live-internal.fivem.net:30110
[ 557281] nil ~= 1
[ 557766] Sending player (1) ELS data
[ 559375] Successfully Loaded Identity For Ralph Lauren
[ 567938] revive by /revive
[ 567953] InvokeNative: execution failed: Argument at index 1 was null.
[ 567969] Error running call reference function for resource esx_ambulancejob: citizen:/scripting/lua/scheduler.lua:351: Execution of native 000000002f7a49e6 in script host failed.
[ 567969] stack traceback:
[ 567969] [C]: in upvalue '_in'
[ 567969] citizen:/scripting/lua/natives_server.lua:256: in function 'TriggerClientEventInternal'
[ 567969] (...tail calls...)
[ 567969] server/main.lua:97: in upvalue 'ref'
[ 567969] citizen:/scripting/lua/scheduler.lua:337: in function <citizen:/scripting/lua/scheduler.lua:336>
[ 567969] [C]: in function 'xpcall'
[ 567969] citizen:/scripting/lua/scheduler.lua:336: in function <citizen:/scripting/lua/scheduler.lua:335>
[ 567969] stack traceback:
[ 567969] [C]: in function 'error'
[ 567969] citizen:/scripting/lua/scheduler.lua:351: in function <citizen:/scripting/lua/scheduler.lua:322>
[ 567984] Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 567984] stack traceback:
[ 567984] [C]: in function 'error'
[ 567984] citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
[ 567984] citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
[ 567984] citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
[ 567984] citizen:/scripting/lua/scheduler.lua:563: in field 'cmd'
[ 567984] server/main.lua:114: in upvalue 'handler'
[ 567984] citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
[ 567984] stack traceback:
[ 567984] [C]: in function 'error'
[ 567984] citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
[ 567984] citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
[ 568000] =(3)= RalfTech YouTube: /revive
[ 576609] Sending player (2) ELS data
[ 578219] Successfully Loaded Identity For Alex Mercedes
[ 602375] [SAVED] =(3)= RalfTech YouTube
[ 602375] [SAVED] MrMercedes
[ 602375] [SAVED] All players
[ 674172] hitch warning: frame time of 223 milliseconds
[ 674172] hitch warning: frame time of 222 milliseconds
[ 700359] Sending heartbeat to live-internal.fivem.net:30110
[ 767078] hitch warning: frame time of 197 milliseconds
[ 767094] hitch warning: frame time of 1261 milliseconds
[ 801219] hitch warning: frame time of 202 milliseconds
[ 832266] hitch warning: frame time of 200 milliseconds
[ 836516] hitch warning: frame time of 198 milliseconds
[ 836516] hitch warning: frame time of 2859 milliseconds
[ 880391] Sending heartbeat to live-internal.fivem.net:30110
[ 1060422] Sending heartbeat to live-internal.fivem.net:30110
[ 1202344] [SAVED] =(3)= RalfTech YouTube
[ 1202344] [SAVED] MrMercedes
[ 1202344] [SAVED] All players
[ 1240422] Sending heartbeat to live-internal.fivem.net:30110
[ 1240781] revive by /revive
[ 1240781] InvokeNative: execution failed: Argument at index 1 was null.
[ 1240781] Error running call reference function for resource esx_ambulancejob: citizen:/scripting/lua/scheduler.lua:351: Execution of native 000000002f7a49e6 in script host failed.
[ 1240781] stack traceback:
[ 1240781] [C]: in upvalue '_in'
[ 1240781] citizen:/scripting/lua/natives_server.lua:256: in function 'TriggerClientEventInternal'
[ 1240781] (...tail calls...)
[ 1240781] server/main.lua:97: in upvalue 'ref'
[ 1240781] citizen:/scripting/lua/scheduler.lua:337: in function <citizen:/scripting/lua/scheduler.lua:336>
[ 1240781] [C]: in function 'xpcall'
[ 1240781] citizen:/scripting/lua/scheduler.lua:336: in function <citizen:/scripting/lua/scheduler.lua:335>
[ 1240781] stack traceback:
[ 1240781] [C]: in function 'error'
[ 1240781] citizen:/scripting/lua/scheduler.lua:351: in function <citizen:/scripting/lua/scheduler.lua:322>
[ 1240797] Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 1240797] stack traceback:
[ 1240797] [C]: in function 'error'
[ 1240797] citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
[ 1240797] citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
[ 1240797] citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
[ 1240797] citizen:/scripting/lua/scheduler.lua:563: in field 'cmd'
[ 1240797] server/main.lua:114: in upvalue 'handler'
[ 1240797] citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
[ 1240797] stack traceback:
[ 1240797] [C]: in function 'error'
[ 1240797] citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
[ 1240797] citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
P.S a solution would be to change
if args[1] ~= nil then
to
if args[2] ~= nil then
However, none of my friends have had to do that… any solutions?