Saving System
#6

About your DIALOG_REGISTER
Basically what you do is:
Write A in the file with value : 0
Write B in the file with value : 2

Then you call in the saving function that saves the player data. That function does this:
Write A in the file with value : [whatever value the variable has at that very moment]
Write B in the file with value : [whatever value the variable has at that very moment]

Since the player just registered, you overwrite the file twice with the exact same data. Not wrong, but a useless thing to do.

Can you show me the following function?:
pawn Код:
public LoadUser_data(playerid, name[], value[])
Reply


Messages In This Thread
Saving System - by MrCallum - 31.12.2014, 20:20
Re: Saving System - by CalvinC - 31.12.2014, 20:32
Re: Saving System - by MrCallum - 31.12.2014, 21:05
Re: Saving System - by AndySedeyn - 31.12.2014, 21:08
Re: Saving System - by MrCallum - 31.12.2014, 21:12
Re: Saving System - by AndySedeyn - 31.12.2014, 21:21
Re: Saving System - by MrCallum - 31.12.2014, 21:23
Re: Saving System - by AndySedeyn - 31.12.2014, 21:27
Re: Saving System - by MrCallum - 31.12.2014, 21:29
Re: Saving System - by AndySedeyn - 31.12.2014, 21:31

Forum Jump:


Users browsing this thread: 5 Guest(s)