A question about checkpoints.
#1

So I'm working with checkpoints atm for a new roleplay job, and I thought to myself:
We seperate them checkpoints from each other using an array, right?
Код:
new CheckpointStatus[MAX_PLAYERS];
Now when playerid 22 logs, he uses box 22 in the array, and lets say he was in the middle of a checkpoint and /qed.
Another player now gets in the game, with ID 22. Wouldn't his checkpoint status already be something different from 0?
I was wondering why no tutorial included anything in OnPlayerDisconnect like:
Код:
CheckpointStatus[playerid] = 0;
Is it un-necessary? why?
Reply


Messages In This Thread
A question about checkpoints. - by itaialroy - 01.11.2015, 20:34
Re: A question about checkpoints. - by jamesbond007 - 01.11.2015, 20:45
Re: A question about checkpoints. - by Kevln - 01.11.2015, 20:49
Re: A question about checkpoints. - by Omer. - 01.11.2015, 21:02
Re: A question about checkpoints. - by PrO.GameR - 01.11.2015, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)