Hi. Looking for some help with client functions.
I added my new test function in client.cpp:
int FOClient::SScriptFunc::Global_test_a()
{
return 666666;
}
client.h in ScriptFunc block:
static int Global_test_a();
and scriptbind.cpp by FOCLASSIC_CLIENT defined:
RegisterGlobalFunction( engine, "int test()", focFUNCTION( BIND_CLASS Global_test_a ), asCALL_CDECL );
Server is compiling without any errors. But trying to start with new function in client_main, i get "No matching signatures" error.
May be i didn't add my new function somewhere? But all other native functions are working.