09.09.2017, 00:47
Your indexing is wack dude, seems to me you are overly thinking your problem with a dash of using the wrong kind of data usage.
You shouldn't need an iterator at all here it is pretty bad that people are giving you poor solutions to make your system design even worse.
Then just reference the data by playerid example.
You shouldn't need an iterator at all here it is pretty bad that people are giving you poor solutions to make your system design even worse.
Код:
enum JOBDATA { e_CurrJob, e_Jobs[MAX_JOBS], bool:e_InJob[MAX_JOBS], } static g_JobData[MAX_PLAYERS][JOBDATA];
Код:
if(g_JobData[playerid][e_InJob][g_JobData[playerid][e_CurrJob]]) { }