14.09.2012, 17:08
(
Last edited by [HLF]Southclaw; 18/09/2012 at 01:42 PM.
)
No, I just searched all my includes (well, my entire SA:MP folder) with notepad++ search in files and it didn't crop up elsewhere, it's only defined in the gamemode, used there and in one include.
Edit: Found out the reason, it seemed to be case sensitive:
That code works fine, but try this code:
Not sure why that would happen but hey, it fixed my problem (renamed to "e_admin_data")
Edit: Found out the reason, it seemed to be case sensitive:
pawn Code:
#include <a_samp>
#include <md-sort>
enum some_enum
{
string[32],
integer
}
new gAdminData[1][some_enum];
main()
{
SortDeepArray(gAdminData, integer, .order = SORT_DESC);
}
pawn Code:
#include <a_samp>
#include <md-sort>
enum SOME_ENUM
{
string[32],
integer
}
new gAdminData[1][SOME_ENUM];
main()
{
SortDeepArray(gAdminData, integer, .order = SORT_DESC);
}