which is better
#1

i have made object system for houses,which is better,to make enum for each one,like enum for houses and enum for objects and mix them together or make enum for houses and put the objects in the houses enum,so it will be hInfo[houseid][object][objectid], OR hInfo[houseid][house enum] and oInfo[objectid][houseid]?
NOTE:I am using alot of dialogs in that system so i wanna keep amx size small
Reply
#2

Amx will be still the same size for both, but you might run into issues with maximum array dimensions. Zeex's compiler soon will be able to handle more dimensions, though he hadn't merged important patch yet.
Reply
#3

but which one is better,and by the way i made it using 2 enums,enum for objects and one for houses and it increased like 3000 kb and .pwn is 59 kb
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)