25.06.2012, 16:58
I'm not actually sure what it is supposed to do. I spotted one bug straight away. Your calling a function with CallRemoteFunction but it has not yet been forwarded or defined.
EDIT: Also your macro Test is defined as having 3 params you supply 4 in your code.
This wont produce an error but it is still bugged because it's calling a function that does not exist. Problem is i have no idea what your trying to do.
EDIT: Also your macro Test is defined as having 3 params you supply 4 in your code.
This wont produce an error but it is still bugged because it's calling a function that does not exist. Problem is i have no idea what your trying to do.
pawn Код:
#define Test(%0,%1,%2) forward @%0(%2); public @%0(%2) { CallRemoteFunction(#%0,#%1,%2); } forward %0(%2); public %0(%2)
Test(FuncTest, "is", playerid)
{
printf("is", playerid);
return 1;
}