22.02.2014, 01:41
don't do that..
and it isn't a "do this for me please" section. we don't mind helping you with your code, but we won't do all the work.
find out what the error means -> fix it (****** will help)
you have y_ini, so load the data from the file, store the values you want setplayerpos and spawn them when they logs in. y_ini has information all over the place and the docs are good, so TRY something first, then post here..
you should know how to make a command, so fremove the file and showplayerdialog (which i assume re-creates the file)
and it isn't a "do this for me please" section. we don't mind helping you with your code, but we won't do all the work.
Quote:
but the variables always shadow some others at a preceding level. |
Quote:
When the player logs in successfully, instead of opening dialog 1 and going through the skin changer, have the player spawn at the coords they logged out with, that's it. The position data should be saved and loaded from the same file as the money and skin file. |
Quote:
I would like for you to add a dcmd command that will ask a player if they want to reset their stats -- deleting their ini file, and resetting to show them the registration dialog (or just kicking them and telling them to relog to set up a new account) |