Quote:
Originally Posted by Gigi-The-Beast
Does anyone know why streamer plugin reverses the order of added data in E_STREAMER_EXTRA_ID ?
I mean when you add an array.
|
It won't always be in reverse order. E_STREAMER_EXTRA_ID is implemented as an unordered_map (hash table), so the order is just not respected. This is done for fast lookups and insertions (i.e., using Streamer_IsInArrayData and Streamer_AppendArrayData). I suppose something like E_STREAMER_EXTRA_ID_ORDERED could be easily added if you don't care about those things, though.
Quote:
Originally Posted by Riddick94
edit3:// IMPORTANT FIX
Okey fellas, I have downgraded my SA-MP server from 0.3z R2-2 to SA-MP 0.3z R1 (downloaded from SA-MP.com) and I don't receive any error anymore. So, please, Incognito if you could fix it? Thanks.
|
I don't receive that message on any version. The only way it can be printed to the console is if the native is called directly from a script. The underlying function is not used internally.