Argument!
#6

That's not an efficient way of doing this.

What you can do is set a variable to hold the id of the robbery checkpoint a player has entered. And when they leave the checkpoint, set the variable to -1.

And use the variable for reference. There's no need for a loop and it avoids using extra conditions. It's optimal for a hotkey such as LEFT ALT as well.
Reply


Messages In This Thread
Argument! - by vassilis - 28.02.2016, 22:54
Re: Argument! - by EiresJason - 28.02.2016, 23:07
Re: Argument! - by vassilis - 28.02.2016, 23:11
Re: Argument! - by EiresJason - 28.02.2016, 23:15
Re: Argument! - by vassilis - 28.02.2016, 23:21
Re: Argument! - by SickAttack - 29.02.2016, 00:42

Forum Jump:


Users browsing this thread: 2 Guest(s)