Jump to content
  • 0

problema TextDrawCreate


BLitZ

Question

Deci...atunci knd merg la coordonatele Textului..nu imi apare textul ci imi apare casa aia cu albastru si deasupra [bussiness] si nu imi apare textul....asta va va ajuta:

[pawn]new Text:testText;

testText = TextDrawCreate(1770.3512,18.7958,"Scrie /enter ca sa intri in primarie!");[/pawn]

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

PROBLEME GODFATHER!

Doamne multi buti pe lumea asta.

Nu are cum sa fie ala tot TD-u. Trebuie sa ai dimensiunea/culoarea/etc... .

Si daca le are, vezi daca gasesti prin gm ceva de genu: TextDrawShowForPlayer(playerid, testText);

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Pai poti sa faci ceva de genu cu pickup si un timer.

[pawn]

new enpr;

public OnGameModeInit()

{

    enpr = CreatePickup(1274, 2, xPrimarie, yPrimarie, zPrimarie);

    return 1;

}

public OnPlayerPickUpPickup(playerid, pickupid)

{

    if(pickupid == enpr )

    {

        TextDrawShowForPlayer(playerid, testText);

        SetTimer("HideTDE", 5000, 0);//setezi tu timpu dorit sa dispara TD-u.

    }

    return 1;

}

forward HideTDE(playerid);

public HideTDE(playerid)

{

    TextDrawHideForPlayer(playerid, testText);

    return 1;

}

[/pawn]

Sau la public CustomPickups() adauga:

[pawn]

if (PlayerToPoint(2.0, i, xPrimarie,yPrimarie,zPrimarie))

{// Primarie Enter

    TextDrawShowForPlayer(playerid, testText);

    SetTimer("HideTDE", 5000, 0);//setezi tu timpu dorit sa dispara TD-u.

}

[/pawn]

[pawn]

forward HideTDE(playerid);

public HideTDE(playerid)

{

    TextDrawHideForPlayer(playerid, testText);

    return 1;

}

[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.