21.09.2010, 23:00
The situation you mentioned is generally called a "race condition". You can read more about it at http://en.wikipedia.org/wiki/Race_condition
Usually OOP solves some of the problems, as each objects can have their own state controllers without the need of using globals, but that's just a theory not usable in Pawn. I'd suggest you digging deeper on the article i pasted.
Usually OOP solves some of the problems, as each objects can have their own state controllers without the need of using globals, but that's just a theory not usable in Pawn. I'd suggest you digging deeper on the article i pasted.