Hello folks.
I installed esx_identity on my server. But I always have the problem when I go on my server and make a char I get this error:
Error during character creation. Please contact an admin.
This can usually mean 1 of 2 things.
- You are already registered (a multicharacter script like esx_multicharacter should avoid this if installed and configured correctly).
OR
- Your character name is invalid (invalid characters/symbols, too many spaces, etc).
See the below server callback of esx_identity:registerIdentity
for more info.
1 Like
Thank you for replying.
I checked and the name is valid. I deleted the character from the database and every thing like the bank account. But it is still not working, the error is still showing up.
It’s not just the name, as you can see in the code block I linked.
if checkNameFormat(data.firstname) and checkNameFormat(data.lastname) and checkSexFormat(data.sex) and checkDOBFormat(data.dateofbirth) and checkHeightFormat(data.height) then
Maybe the date format is wrong? DD/MM or MM/DD when it wants the other one?
Or height or something. It seems something is invalid.
1 Like
It worked I just had to copy and paste the main.lua from git hub. Tank’s mate