variable reset? +rep!
#1

hi,

if you have variables in your script e.g. like:

pawn Code:
new Money[MAX_PLAYERS];
Where would you reset them?
On OnPlayerConnect or under OnPlayerDisconnect?
Does it make any difference at all?
pawn Code:
Money[playerid]=0;

thank you.
Reply


Messages In This Thread
variable reset? +rep! - by PawnoQ - 03.03.2012, 16:01
Re: variable reset? +rep! - by Walsh - 03.03.2012, 16:05
Re: variable reset? +rep! - by PawnoQ - 03.03.2012, 16:10
Re: variable reset? +rep! - by Konstantinos - 03.03.2012, 16:11
Re: variable reset? +rep! - by Walsh - 03.03.2012, 16:11
Re: variable reset? +rep! - by PawnoQ - 03.03.2012, 16:13
Re: variable reset? +rep! - by Walsh - 03.03.2012, 16:21
Re: variable reset? +rep! - by PawnoQ - 03.03.2012, 16:23
Re: variable reset? +rep! - by Walsh - 03.03.2012, 16:25
Re: variable reset? +rep! - by PawnoQ - 03.03.2012, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)