#define PUBLIC%0(%1) forward%0(%1); \ public%0(%1) and use PUBLIC AntiSpawnkill(playerid){ //.... your code }