It was for Qbus fw, I just converted it to ESX and after a long time I said I would make a share.
First of all, you should use v1 final and integrate it. I used cid to separate the characters, add it to the users' table, other than that, there may be errors that I missed, errors, etc. may be in my detections.