31.10.2011, 10:51
Try this:
pawn Код:
new count_TextDraws;
#define TextDrawCreate TextDrawCreateEx
#define TextDrawDestroy TextDrawDestroyEx
stock Text:TextDrawCreateEx(Float:tdX, Float:tdY, text[])
{
count_TextDraws++;
return TextDrawCreate(tdX, tdY, text);
}
stock TextDrawDestroyEx(Text:tdid)
{
count_TextDraws--;
return TextDrawDestroy(tdid);
}