06.01.2014, 19:31
You can do a macro before that a function, this way, the compilation would be more rapid.
In yes, this include is really unnecessary, since you do not have functions added in the same ones ... ... in addition, it would give mistakes for all sides, since they do not go tag's.
This one would be better:
Regards.
In yes, this include is really unnecessary, since you do not have functions added in the same ones ... ... in addition, it would give mistakes for all sides, since they do not go tag's.
This one would be better:
pawn Код:
#define K_TextDrawCreate(Text:%0, Float:%1, Float:%2, %3, %4, %5, %6, %7, Float:%8, Float:%9, %10) \
%0 = TextDrawCreate(%1, %2, %3); \
TextDrawBackgroundColor(%0, %4); \
TextDrawFont(%0, %5); \
TextDrawLetterSize(%0, %6, %7); \
TextDrawColor(%0, %8); \
TextDrawSetOutline(%0, %9); \
TextDrawSetProportional(%0, %10);
#define K_TextDrawShowForPlayer(%0, Text:%1) TextDrawShowForPlayer(%0, %1);
#define K_TextDrawShowForAll(Text%0) TextDrawShowForAll(%0);
#define K_TextDrawHideForPlayer(%0, Text:%1) TextDrawHideForPlayer(%0, %1);
#define K_TextDrawHideForAll(Text:%0) TextDrawShowForAll(%0);
Regards.