Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Textdraw count

$
0
0
Well I guess it isn't possible to count the textdraws created? It gives the no expression error + tag mismatch error.
PHP Code:

stock TextDrawCreateEx(Float:xFloat:ytext[])
{
    
TextDrawCreate(Float:xFloat:ytext[]);
    
tdc++;
    
printf("[Current] Simple textdraw: %d",tdc);
    return 
1;
}

stock CreatePlayerTextDrawEx(playeridFloat:xFloat:ytext[])
{
    
CreatePlayerTextDraw(playeridFloat:xFloat:ytext[]);
    
ptd++;
    
printf("[Current] Player textdraw: %d",ptd);
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles