(i removed the script, because it doesnt work)
But why i only have to upload the file when in the tutorial is written that i have to add the commands additional to the query
1 hour later:
Now i tried it with the Re-Design and it’s the same.
The “Background” is loading but not the menu to choose the character. .-.
Oh excuse me if I know that it is inspired by NP, I also try to do it, I really like that role they have, that’s why I made that stylo or similar on my server,
You made your own or edited an existing one, we are very good: D
ok so i keep getting people stuck at a blurry screen and it seems there characters are duping. Not sure what i have done wrong can someone please help…ERROR] [MySQL] An error happens on MySQL for query “UPDATE users SET identifier = ‘Char3:11000010f93e900’ WHERE identifier = ‘steam:11000010f93e900’ {=}”: Duplicate entry ‘Char3:11000010f93e900’ for key ‘identifier’ e[91mSCRIPT ERROR in reference call: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: indexe[0m Duplicate entry ‘Char3:11000010f93e900’ for key ‘identifier’
so this is a prob i have on the server the cloth and stored colth is shearing true the chars how can i fix that it is the same with items anny help would be help full and it dosnt gives anny error anny thing i have notice in the datastore it dosent create a new line for eatch char
in the sql is like
id name owner data
548 property steam123 the cloth id
but when i change char it is still
548 property owner char123 the cloth id
sorry for my bad english but it just swap frome owner steam123 to char123 and i cant understand why ?
I have a doubt there are 2 identifier tables or where the steam comes out: 123123123
the “user” and the Employed, the employee side where should I go? I don’t know if I let myself understand thank you very much.
Here I leave the script, and I adapted it to work correctly with the kasharacter only missing the side of the employee who does not change or recognizes the steam: 123123123
on the “employed” side the steam identifiers are stored (steam: 123123)
On which side should I put that table in the kasharacter I hope you understand me.
Can i create a KASHacter player that would autoload an NPC skin… ? i have done great things so far with KASHacter but i dont know where to look… just a hint would be appreciated, i can do the rest. thx!
In “users” table, column “skin” … can i swap a blob of {data} that could be interpreted as an NPC skin ?
so some of my players are having an issue with the mouse loading up on they screen. Everytime i use the latest version of mysql-async it causes it. So i downgrade one time and it works fine any fix for the latest version as for im using esx_police_cad and its not compatible with older versions.
Hello have u done essentialmode/client/main.lua line 6-16
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if NetworkIsSessionStarted() then
TriggerServerEvent('es:firstJoinProper')
TriggerEvent('es:allowedToSpawn')
return
end
end
end)```
TO
–[[Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if NetworkIsSessionStarted() then
TriggerServerEvent('es:firstJoinProper')
TriggerEvent('es:allowedToSpawn')
return
end
end
end)]]–```
And make sure your esx_kashacters/client/main.lua line 53 is
RegisterNetEvent('kashactersC:SpawnCharacter')
AddEventHandler('kashactersC:SpawnCharacter', function(spawn, isnew)
TriggerServerEvent('es:firstJoinProper')
TriggerEvent('es:allowedToSpawn')
TriggerEvent('esx_ambulancejob:multicharacter')
SetTimecycleModifier('default')
local pos = spawn
SetEntityCoords(GetPlayerPed(-1), pos.x, pos.y, pos.z)
DoScreenFadeIn(500)
Citizen.Wait(500)
cam2 = CreateCamWithParams("DEFAULT_SCRIPTED_CAMERA", -1355.93,-1487.78,520.75, 300.00,0.00,0.00, 100.00, false, 0)
PointCamAtCoord(cam2, pos.x,pos.y,pos.z+200)
SetCamActiveWithInterp(cam2, cam, 900, true, true)
Citizen.Wait(900)
if isnew then
TriggerEvent('esx_identity:showRegisterIdentity')
end