Enums question
#2

pawn Код:
#define INFINITY (Float:0x7F800000)
#define MAX_PLANTS INFINITY
I guess that wouldn't work. Or would it?
Or if this doesn't, just define max plants as something you'll never reach, 9000000000000, something like that, which will be wasting memory.
Reply


Messages In This Thread
Enums question - by PaulDinam - 12.05.2013, 16:52
Re: Enums question - by RajatPawar - 12.05.2013, 16:54
Re: Enums question - by PaulDinam - 12.05.2013, 16:58
Re: Enums question - by ReVo_ - 12.05.2013, 17:36
Re: Enums question - by PaulDinam - 12.05.2013, 18:34
Re: Enums question - by Cameltoe - 12.05.2013, 18:43
Re: Enums question - by Vince - 12.05.2013, 19:22

Forum Jump:


Users browsing this thread: 4 Guest(s)