14.12.2018, 14:01
I've tried different stuff, and it ain't working. I've also searched for tutorials but I can't find one, if there's one then I may have not used the proper keyword. Anyways, I'm trying to make a referral function. Here:
A new player joins the server. I want to make a dialog input that will ask "Who referred you to join this server?" There will be a box that they can input the name of that user, example "DarkMythHunter" then in the database column "Referrals" it will add "1". But if the user don't put a registered name ( can be checked through database column "Username" it won't accept it and ask for a valid username". I hope someone helps me, thanks a lot.
A new player joins the server. I want to make a dialog input that will ask "Who referred you to join this server?" There will be a box that they can input the name of that user, example "DarkMythHunter" then in the database column "Referrals" it will add "1". But if the user don't put a registered name ( can be checked through database column "Username" it won't accept it and ask for a valid username". I hope someone helps me, thanks a lot.