19.12.2013, 21:47
but i want xyz_2 not xyz_LOL
result
xyz_2
Called: 345
so called xyz_LOL not _2
pawn Код:
#include <a_samp>
#define ABC:%1(%2) \
forward xyz_%1(%2); \
public xyz_%1(%2)
#define LOL 2
main()
{
print("xyz_"#LOL);
CallLocalFunction("xyz_LOL", "i", 345);
}
ABC:LOL(playerid)
{
printf("Called: %d",playerid);
return 1;
}
xyz_2
Called: 345
so called xyz_LOL not _2