Installed perfect. Had an issue at first, only to realize it was an issue with my DB. Otherwise works perfect! Made it have 6 slots looks clean. Thnx for the awesome release!!
Hi. I got a Problem.
After Relog i always join on the same Position nevermind where i did logout.
And i spawn under the World. Can someone gimme a Hint how to fix it ?
I have the same problem, did you solve it?
how to fix text that you have Play Roleplay i mean just buttons how to get them in the middle of everything
Does anyone has the same problem as me ?
That when ever i join my server most of the time i get a default gta ped instead of my esx_skin characterâŚ
If anyone has or had the same problem and go tit fixed please let me know iâm stuck on this one
Donât you see that âgetLastPositionâ? Look for your saving positionsâŚ
Iâve got an issue with the switch characters. Weâve added this line of code here - RegisterCommand(âswitchâ, function() TriggerEvent(âkashactersC:ReloadCharactersâ) end) Now whenever we do /switch is just takes us to a blank screen. Any idea why this would be happening?
Put this line of code at line 114 in client/main.lua
RegisterCommand('switch', function()
TriggerEvent('kashactersC:ReloadCharacters')
end)
And it should work, you need to have it in the right order as well. Not like this!
RegisterCommand(âswitchâ, function() TriggerEvent(âkashactersC:ReloadCharactersâ) end)
Dont use the command. Doesent work. Only bring you back to the char select. But you will still have the same skin
Use that for the command switch in the server side :
RegisterServerEvent(âkashactersS:CharacterChosenâ)
AddEventHandler(âkashactersS:CharacterChosenâ, function(charid, ischar)
local src = source
local spawn = {}
SetLastCharacter(src, tonumber(charid))
SetCharToIdentifier(GetPlayerIdentifiers(src)[1], tonumber(charid))
if ischar == âtrueâ then
spawn = GetSpawnPos(src)
TriggerClientEvent(âkashactersC:Skinchangerâ, src)
else
TriggerClientEvent(âskinchanger:loadDefaultModelâ, src, true, cb)
spawn = { x = -1045.31, y = -2750.69, z = 20.36 } â DEFAULT SPAWN POSITION
end
TriggerClientEvent(âkashactersC:SpawnCharacterâ, src, spawn)
end)
and this in client side :
RegisterNetEvent(âkashactersC:Skinchangerâ)
AddEventHandler(âkashactersC:Skinchangerâ, function(source)
local source_ = source
ESX.TriggerServerCallback(âesx_skin:getPlayerSkinâ, function(skin, jobSkin)
TriggerEvent(âskinchanger:loadSkinâ, skin)
end)
end)
It works but I get this error when I pick the first time âError running call reference function for resource esx_skin: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:39: attempt to index a nil value (local âxPlayerâ)â
Someone have a issue with tattoo because if i have tattoo in one character all the other will have the same tattoosâŚ
doesn´t work for meâŚ
Hello, first of all thanks for the awesome script but i have a question. Everything works correctly when i creating a new character, it appears on the map after leaving the server, reconnecting and selecting the same character receives such an error. The position of the character is also written in a strange way only x: and z: had any of you a similar problem and maybe knows the solution?
Then you didnât add the table in the lua file.
Any errors?
i realized where the problem are. if iâm right the problem lies on es_extended side ( Saving cords problem ) im using now es_extended v1.0.14 and problem its gone
if I choose to create a character, something like this pops up
Have you been able to fix this yet?