Defining help
#10

Quote:
Originally Posted by Larry123
View Post
Are you sure the problem is in using not in definition?
It is, didnt noticed it in the other topic

You can only use one dimension within enum because an enum is just a list of constant variables!

The easist way would be to create a new array
pawn Code:
#define MAX_CONTACTS (15)

enum cInfo {
     ContactNumber,
     ContactName[30]
};
new ContactInfo[sizeof PlayerInfo][MAX_CONTACTS][cInfo];
Reply


Messages In This Thread
Defining help - by Larry123 - 10.11.2012, 17:54
Re: Defining help - by Konstantinos - 10.11.2012, 18:01
Re: Defining help - by Larry123 - 10.11.2012, 18:09
Re: Defining help - by Larry123 - 10.11.2012, 19:05
Re: Defining help - by ViniBorn - 10.11.2012, 19:19
Re: Defining help - by Steven82 - 10.11.2012, 19:29
Re: Defining help - by Larry123 - 10.11.2012, 19:31
Re: Defining help - by Steven82 - 10.11.2012, 19:32
Re: Defining help - by Larry123 - 10.11.2012, 19:38
AW: Re: Defining help - by Nero_3D - 10.11.2012, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)