mardi 18 novembre 2014

Auto Increament (Player ID)

Hey. Well, I'm scripting a Character System, in 'Yini'. I know, MySQL does that stuff better, but I'll give it a try. Okay well, the way I'm gonna let it work is... Make an enumerator for the Master Account(in a folder), and use an ID to link it with the characters, present in 'Accounts' folder.

Well, I can't figure out, first of all, how to get the ID to increase automatically, on every Registeration. Like, it assigns ID 0, to the first person who registered, ID 1 to the second and so on...

Please help.

Sincerely,

JonathanW




Aucun commentaire:

Enregistrer un commentaire