Posts: 654
Threads: 161
Joined: Dec 2015
Reputation:
0
I've been searching all over the forums and the internet for a guide on creating a master account and within said account contains multiple accounts registered within the master account. Are there any tutorials/fs/guides out there that can help me out?
Posts: 889
Threads: 4
Joined: Mar 2013
Reputation:
0
If you're using MySQL, you can create an accounts table and a characters table. Make a foreign key column in the characters table that refers to the account ID of the user.
When the user logs in, fetch the characters that correspond to the users account ID. Then, present a list dialog that allows the user to choose which character he wants to spawn as.
Posts: 1,168
Threads: 60
Joined: Dec 2016
Reputation:
0
You gotta add some kind of character creation.
I have it in my gamemode to. Next thing you want to do is something like this:
SetPlayerName(playerid, Characternamevariable[playerid]);
Hope this helped you.
If you can't figure it out yourself, i could do it for you. Contact me then
Posts: 654
Threads: 161
Joined: Dec 2015
Reputation:
0
Thanks guys!
@jasperschellekens thanks for the offer but I've considered this as a challenge. I really love challenges. My "philosophy" states that one can learn from his/her succeeded and/or failed challenges given.