Quick question [2D Array]
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
new bWorker[MAX_BUSINESS_WORKERS][MAX_PLAYER_NAME];
That's a 2D array. For more read here: https://sampforum.blast.hk/showthread.php?tid=318212
Let me redefine what I'm actually saying here, sorry for such a short brief.

This array of
pawn Код:
bWorker[MAX_BUSINESS_WORKERS] = MAX_PLAYER_NAME,
Is actually inside an enum which is part of the following array
pawn Код:
#define MAX_BUSINESS_CREATED 1 //example
pawn Код:
new BusinessInfo[MAX_BUSINESS_CREATED][bInfo];
When using what you have put it is incorrect for the enum I am trying to create/use.

Could you elaborate further on my question now in regards to the new information I have specified.
Reply


Messages In This Thread
Quick question [2D Array] - by FarTooBaked - 08.06.2015, 21:24
Re: Quick question [2D Array] - by Konstantinos - 08.06.2015, 21:26
Re: Quick question [2D Array] - by FarTooBaked - 08.06.2015, 22:54
Re: Quick question [2D Array] - by Konstantinos - 08.06.2015, 23:15
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 00:11
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 12:31
Re: Quick question [2D Array] - by Konstantinos - 09.06.2015, 12:45
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 13:02
Re: Quick question [2D Array] - by Konstantinos - 09.06.2015, 13:14
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)