18.04.2017, 05:06
Well I guess it isn't possible to count the textdraws created? It gives the no expression error + tag mismatch error.
PHP код:
stock TextDrawCreateEx(Float:x, Float:y, text[])
{
TextDrawCreate(Float:x, Float:y, text[]);
tdc++;
printf("[Current] Simple textdraw: %d",tdc);
return 1;
}
stock CreatePlayerTextDrawEx(playerid, Float:x, Float:y, text[])
{
CreatePlayerTextDraw(playerid, Float:x, Float:y, text[]);
ptd++;
printf("[Current] Player textdraw: %d",ptd);
return 1;
}