I been making a little mod for some of my clanmembers.
But i am a real newbie in programming, and i keep running in a problem which is really start to do me now.
this is the piece of the code
pages = UWindowPageControl(createWindow(Class'UWindowPageControl', 0, 0, winWidth, winHeight - 24));
pages.addPage(ezbKeyBindsWindowTab, Class'ezbKeyBindsWindow');
pages.addPage(ezbCreditsWindowTab, Class'ezbCreditsWindow');
Everytime i compile i get this error:
Error, Call to 'addPage': Type mismatch in parameter 2
how can i fix this?
But i am a real newbie in programming, and i keep running in a problem which is really start to do me now.
this is the piece of the code
pages = UWindowPageControl(createWindow(Class'UWindowPageControl', 0, 0, winWidth, winHeight - 24));
pages.addPage(ezbKeyBindsWindowTab, Class'ezbKeyBindsWindow');
pages.addPage(ezbCreditsWindowTab, Class'ezbCreditsWindow');
Everytime i compile i get this error:
Error, Call to 'addPage': Type mismatch in parameter 2
how can i fix this?