Numbers stay in 1.
#4

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Because you are creating PCount in this code, not global and with loading.
As said you are creating variable pCount each time someone registers and setting it to 0.
pawn Код:
new PCount = 0;
Then you add 1 unit to it:
pawn Код:
PCount++;
PCount is now 1.
And then it saves it as one. Each time someone registers same process happens. To fix this add
pawn Код:
new pCount = 0;
When someone registers only
pawn Код:
PCount++;
Reply


Messages In This Thread
Numbers stay in 1. - by RollTi - 14.04.2012, 09:51
Re: Numbers stay in 1. - by RollTi - 14.04.2012, 11:24
Re: Numbers stay in 1. - by IstuntmanI - 14.04.2012, 11:25
Re: Numbers stay in 1. - by [MG]Dimi - 14.04.2012, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)