14.09.2009, 01:20
Ok, I'm trying to store my player's level securley, by making it in a diffrent area other than "Level" and if they login sucsfully, then it sets their level to what ever is in the "pLevel" area within their playerfile..
I'm using dini and I was thinking something like when they login, it gets their "pLevel" from their file and sets that to their "Level" in their file.. but how would I do this..
Better explination
Players "pLevel" is set to 5 (in their file (ex. "pLevel=5")
Player logs in sucsfully
Players "Level" is set to what their "pLevel" is
and then (i know how to do this)
Player disconnects and "Level" is set to 0, so they no one can go on their account, not login and use admin commands.
Sorry, I'm not the best at explaining things..
I'm using dini and I was thinking something like when they login, it gets their "pLevel" from their file and sets that to their "Level" in their file.. but how would I do this..
Better explination
Players "pLevel" is set to 5 (in their file (ex. "pLevel=5")
Player logs in sucsfully
Players "Level" is set to what their "pLevel" is
and then (i know how to do this)
Player disconnects and "Level" is set to 0, so they no one can go on their account, not login and use admin commands.
Sorry, I'm not the best at explaining things..