01.07.2011, 12:38
No, it isn't that simple. If you aren't familiar with how extremely difficult concurrency is in multithreaded programming, I'd suggest deeply researching the topic before you attempt to write anything at all.
As I said earlier, the AMX functions aren't thread-safe—meaning, of course, that they are only designed to be called from a single thread. Unless you want to rewrite the PAWN language, there is simply no way to extend this kind of functionality to scripts without creating serious problems.
As I said earlier, the AMX functions aren't thread-safe—meaning, of course, that they are only designed to be called from a single thread. Unless you want to rewrite the PAWN language, there is simply no way to extend this kind of functionality to scripts without creating serious problems.