Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 917 Bytes

File metadata and controls

49 lines (38 loc) · 917 Bytes

d_rem.inc

Pawn REM - Comments.

Go back to the home page...

How to use?

stock Func(args, ...)
{
  return ...;
}
@rem(.level = BUG) : "This code above may cause bugs!";

#define DISABLE_OPTION 3

@rem(.level = NOTE) : "This code will only work if it is placed before the include import.";

forward public Func(...) return 1;

@rem(.level = HACK) : "This is incredibly nice thing!";

$some_macro<>=#DATA;

@rem(.level = IMPORTANT) : "This is some retarded macro! Don't reuse it!";
  • You can use it like this:
als function OnGameModeInit(@rem(.level = BUG) : "cool";)
{
    printf("This works! LOL");
    return als break;
}
  • Or even as a return or inside a function:
stock cool()
{
  	@rem(.level = NOTE) : "note";
    code;
    return @rem(.level = IMPORTANT) : "really cool";;
}
  • Anywhere!
#define SUPER_COOL_DEFINE @rem(.level = BUG) : "cool";