Server connectivity with discord

Hello one and all. I have a qurstion, as i am a starter in developing i wanted to ask for ideas how could i fulfil my idea.
I am trying out a freeroam server, in my native language. Right now i am using the framework from Los santos 5 freeroam
And i was thinking,in what way i can make it,that when a new person comes in,he would be frozen in a passive mode,not being able to move,he would be only able to use the chat. He would have to go to discord, access the discord server,he would get a personal code on discord that he would have to type in in the fivem server,which would save in the database,and only then he would be able to play on the server.i know about the whitelist bots and etc, and i could implement it, just don’t really know how to make it with the personal code that would read from discord to fivem server. Any ideas would be greatly appreciated

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.