26.05.2011, 15:20
Quote:
I KNOW you might not answer, but I happen to get 2 errors, tried some fixing, but no success, I'm a newbie @ VS.
Code:
error C2065: 'MyNat' : undeclared identifier error C2365: 'MyNat' : redefinition; previous definition was 'formerly unknown identifier' Code:
static cell AMX_NATIVE_CALL MyNat(AMX *amx, cell *params) { logprintf("Test, test :p."); return 1; } Code:
AMX_NATIVE_INFO projectNatives[] = { { "MyNat", MyNat } }; |
pawn Code:
static cell AMX_NATIVE_CALL MyNat(AMX *amx, cell *params)
{
logprintf("Test, test :p.");
return 1;
}
pawn Code:
AMX_NATIVE_INFO projectNatives[] =
{
{ "MyNat", MyNat }
};