15.09.2009, 18:18
Here's an example:
pawn Код:
MyFunction()
{
printf("DEBUG: debugMsg0 - MyFunction init.");
CallMyFunction2(playerid);
printf("DEBUG: debugMsg1 - passed.");
// other code.
if(_WHATEVER_DEFINE_ == 1)
{
// other code.
printf("DEBUG: debugMsg2 - _WHATEVER_DEFINE_ is 1.");
// other code.
}
// other code.
return 1;
}