MySQL problem.
#1

Hello everyone, I'm with a problem in the MySQL inside the public SaveAccounts I had to do a strcat in the meantime each time the player calls the public, it makes an EOS and I lose the data of the player.
In conclusion, each time the public is called it resets the player data, how can I solve this problem?

Thanks.
Reply
#2

BUMP!
Reply
#3

Don't bump... "07:38 PM - 08:26 PM..." read the rules.
Reply
#4

In a code like this:
pawn Код:
stock SomeFunction()
{
    new variable;
    variable ++;
}
You cannot expect this code:
pawn Код:
SomeFunction();
SomeFunction();
SomeFunction();
... to finally set the value of variable to 3. It will recreate every time, assigned value 0 by default. Try using the static keyword (search the wiki.sa-mp.com for information) or show us some more of your code so I can give more specific help.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)