Affichage des articles dont le libellé est TEXTDRAW HELP. Afficher tous les articles
Affichage des articles dont le libellé est TEXTDRAW HELP. Afficher tous les articles

dimanche 24 juillet 2016

Textdraw Help

Yo, I have problem, I am working with Player Textdraws, and I wanted to create if player press ESC to textdraw hide, but how should I do it while I am using OnPlayerClickPlayerTextDraw. Also I read on wiki and forums that I need to use OnPlayerClickTextDraw callback for that, I did, but I get warning showing up: (4 : warning 213: tag mismatch
Line is: if(clickedid == INVALID_TEXT_DRAW)// ESC

Any help?

Let's block ads! (Why?)



Textdraw Help

mardi 19 juillet 2016

TextDraw Help

Hi. I have a textdraw that displays zones. But I want to hide the textdraw whilst in requestclass and whilst dead.

I've tried creating the textdraw under OnPlayerSpawn, however whenever I do that. Once I die, it creates a new one over the top and then bugs the textdraw. I've tried adding TextDrawHideForPlayer under the callback OnPlayerDeath, but it doesn't hide... I've tried TextDrawDestroy, under the callback OnPlayerDeath, it did end up destroying.

However it would only fix it for one player. Then I decided that I'd try change the textdraw to a PlayerText and I managed to get it to work perfectly, but it only works perfectly for one person. If another person joins the server the whole textdraw won't appear.

This is my text draw.

PHP Code:

    SetTimer("Zones_Update"5001);
    for(new 
i=0i<MAX_PLAYERSi++)
    {
           
Zones[i] = CreatePlayerTextDraw(playerid,6.5425.4"_");
           
PlayerTextDrawLetterSize(playeridZones[i], 0.652.1);
           
PlayerTextDrawSetOutline(playeridZones[i], 1);
     } 

I have it being destroyed under OnPlayerDeath

PHP Code:

PlayerTextDrawDestroy(playerid,Zones[playerid]); 

Does anyone have any ideas?

Let's block ads! (Why?)



TextDraw Help

jeudi 14 juillet 2016

TEXTDRAW HELP

[unable to retrieve full-text content]

Help Me To Fix SelectTextDraw Bug. Look At Screen. Image: http://ift.tt/29T7wLB

TEXTDRAW HELP