[RELEASE][ESX] KASHacters Multi Character

Can’t seem to get it to work properly, reinstalled the complete server and ended up with the same result.

Esx_identity seems to be floating on top of the character selection menu.
Selecting a premade character results a blank screen with the esx_identity still floating there and the error within the servers console:

SCRIPT ERROR: citizen:/scripting/lua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil)
> handler (@esx_kashacters/server/main.lua:33)

This refers to

spawn = GetSpawnPos(src)

within

RegisterServerEvent("kashactersS:CharacterChosen")

Selecting to make a new character it moves the camera to the position, spawns in a character, with esx_identity menu still floating there and unable to select anything. Also not being able to move the character.

i’m getting the same as above soo your not alone in that @k0lm

Hello

I’m having a problem on my server with the script “esx_ambulancejob”, basically the problem is that when a player die, if he disconnect from the server and reconnect he spawns alive and with everything on his inventory, in resume, the DataBase doesn’t record if a player disconnected alive or dead and assume that the player was alive when he disconnected .

When I am alive it appears (0) in the database and when I die in the database it appears (1) but I am still alive when I enter the server again!
Any solution for this? (and yes the Config.AntiCombatLog is set - true)

I’m using esx_kashacter and it works well !! I’ve tried the fix for esx_kashacters instructions ## Ambulance Fix but it doesn’t work! and it only worsens the situation instead of getting dead I spawn as an NPC …

What can I do to fix this?

I appreciate help

@iiDropp

You can fix that error by configuring your AV and/or firewall properly.
In my case it was caused by trying to setup the server offline, which does not seem to be supported.

1 Like

Well i can get everything to work EXCEPT last position.
For some reason upon disconnect it makes a new row with identifier “steam:…” and sets position instead of looking in identifier for the current char and updating position.

Does it work with the newest ESX Version

Kash can be edited to work with the new version… but requires a bit of work to get it done. I do not think this version has been updated as of yet. I have got a version working with new esx by doing a small bit of editing to spawnmanager and then chaning everything in this script to look for licience instead of steam.

SpikE

1 Like

Can you send me the code? I tried to make it work yesterday but it didnt work…

Hi SpikE I’ve tried to get this to work under the new ESX files as well and have not been able to have this working as it was without throwing so many errors.
Are you able to share your configuration and/or changes that you made to both files?
Are you also still using essentialmode for yours to work?
Thanks

Does anyone know how to get the /switch command to also change your characters skin? Right now if I switch characters it keeps the skin of my last character but everything else changes to the character I selected.

1 Like

Please don’t encourage users to edit the stock resources (spawnmanager) instead use the spawnmanager api, if you are missing functionality you can create a pull request on the cfx-server-data repository

I dont have a table called “user_accounts” how do I get that?

I keep getting this error and i cant customize my character
Error: (node:2192) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.values ()
at execute.then (mysql-async.js:5002:48)
Error: (node:2192) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:2192) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Did anyone know how to remove TREW HUD UI and why this happening. (My friend dont have problem with this). There is no errors. I cleared cache and restart pc. It worked then start this… (sorry for my bad english)


When i registered and restarted server i get this:

Hello all ngl bit new to the whole fivem server hosting but have ran other servers before like rust just wanting a little bit of help with installing this if that is possible as I added to my server but it did nothing?

is there a way to make it so when you spawn in you spawn in where you left off

I’m getting this when I first load in. Any Ideas on how to fix this? Have only KASHacters pop up, then Identity, then skin all individually one after another?

Pls make it vrp i wil be so so happy pls

check your DB!

Asked this already and seen others ask with no reply so will ask again. Keep spawning at 0 0 0 once the character has been selected. Any ideas as to why this is and how it can be fixed. Looked everywhere and found nothing.