Hello,
I get this error when trying to compile:
error 181: function argument named 'topmenu' differs from prototype
This is the code it's referring to:
PHP Code:
public void OnAdminMenuReady(TopMenu topmenu) {
if(obj_dmcommands == INVALID_TOPMENUOBJECT) {
OnAdminMenuCreated(topmenu);
}
if(topmenu == hAdminMenu) {
return;
}
hAdminMenu = topmenu;
// TODO: Add stuff to the menu
}
It also gives me the same error on OnAdminMenuCreated()
What does that error actually mean?
I was following
this tutorial.
__________________