Textdraws not displaying (I believe after 0.3.7).
#1

I might be missing something, but I'm not sure why my textdraws are no longer showing. Here's where I'm showing them:

pawn Код:
CMD:tdtest(playerid, params[])
{
    TextDrawShowForPlayer(playerid, LArmBlTD);
    TextDrawShowForPlayer(playerid, RArmBlab);
    TextDrawShowForPlayer(playerid, TorsoBlTD);
    TextDrawShowForPlayer(playerid, GroinBlTD);
    TextDrawShowForPlayer(playerid, HeadshotTD);
    return 1;
}
Where they're created (Under OnGameModeInit).
pawn Код:
//BODY PART DAMAGE TEXTDRAWS
    LArmBlTD = TextDrawCreate(530 ,370 , "Left Arm: Bleeding");
    TextDrawFont(LArmBlTD , 1);
    TextDrawLetterSize(LArmBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(LArmBlTD , 0xff0000FF);
    TextDrawSetOutline(LArmBlTD , true);
    TextDrawSetProportional(LArmBlTD , true);
    TextDrawSetShadow(LArmBlTD , 1);
   
    //TextDrawShowForPlayer(playerid,LArmBlTD);
    LArmBrTD = TextDrawCreate(530 ,370 , "Left Arm: Broken");
    TextDrawFont(LArmBrTD , 1);
    TextDrawLetterSize(LArmBrTD , 0.2, 1.4000000000000001);
    TextDrawColor(LArmBrTD , 0xff0000FF);
    TextDrawSetOutline(LArmBrTD , true);
    TextDrawSetProportional(LArmBrTD , true);
    TextDrawSetShadow(LArmBrTD , 1);
    //TextDrawShowForPlayer(playerid,LArmBrTD);

    LArmBlab = TextDrawCreate(530 ,370 , "Left Arm: Broken & Bleeding");
    TextDrawFont(LArmBlab , 1);
    TextDrawLetterSize(LArmBlab , 0.2, 1.4000000000000001);
    TextDrawColor(LArmBlab , 0xff0000FF);
    TextDrawSetOutline(LArmBlab , true);
    TextDrawSetProportional(LArmBlab , true);
    TextDrawSetShadow(LArmBlab , 1);
   
    //TextDrawShowForPlayer(playerid,LArmBlab);
   
    RArmBlTD = TextDrawCreate(530 ,350 , "Right Arm: Bleeding");
    TextDrawFont(RArmBlTD , 1);
    TextDrawLetterSize(RArmBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(RArmBlTD , 0xff0000FF);
    TextDrawSetOutline(RArmBlTD , true);
    TextDrawSetProportional(RArmBlTD , true);
    TextDrawSetShadow(RArmBlTD , 1);

    //TextDrawShowForPlayer(playerid,BFText);
   
    // Blindfold
    BFText = TextDrawCreate(641.199951, 1.500000, "usebox");
    TextDrawLetterSize(BFText, 0.000000, 49.378147);
    TextDrawTextSize(BFText, -2.000000, 0.000000);
    TextDrawAlignment(BFText, 3);
    TextDrawColor(BFText, -1);
    TextDrawUseBox(BFText, true);
    TextDrawBoxColor(BFText, 255);
    TextDrawSetShadow(BFText, 0);
    TextDrawSetOutline(BFText, 0);
    TextDrawBackgroundColor(BFText, 255);
    TextDrawFont(BFText, 1);
   


    RArmBrTD = TextDrawCreate(530 ,350 , "Right Arm: Broken");
    TextDrawFont(RArmBrTD , 1);
    TextDrawLetterSize(RArmBrTD , 0.2, 1.4000000000000001);
    TextDrawColor(RArmBrTD , 0xff0000FF);
    TextDrawSetOutline(RArmBrTD , true);
    TextDrawSetProportional(RArmBrTD , true);
    TextDrawSetShadow(RArmBrTD , 1);
   
    //TextDrawShowForPlayer(playerid,RArmBrTD);

    RArmBlab = TextDrawCreate(530 ,350, "Right Arm: Broken & Bleeding");
    TextDrawFont(RArmBlab , 1);
    TextDrawLetterSize(RArmBlab , 0.2, 1.4000000000000001);
    TextDrawColor(RArmBlab , 0xff0000FF);
    TextDrawSetOutline(RArmBlab , true);
    TextDrawSetProportional(RArmBlab , true);
    TextDrawSetShadow(RArmBlab , 1);
   
    //TextDrawShowForPlayer(playerid,RArmBlab);
   
    TorsoBlTD = TextDrawCreate(530 ,330 , "Chest: Bleeding"); //530 390
    TextDrawFont(TorsoBlTD , 1);
    TextDrawLetterSize(TorsoBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(TorsoBlTD , 0xff0000FF);
    TextDrawSetOutline(TorsoBlTD , true);
    TextDrawSetProportional(TorsoBlTD , true);
    TextDrawSetShadow(TorsoBlTD , 1);
   
    //TextDrawShowForPlayer(playerid,TorsoBlTD);
    GroinBlTD = TextDrawCreate(530 ,390 , "Groin: Bleeding");
    TextDrawFont(GroinBlTD , 1);
    TextDrawLetterSize(GroinBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(GroinBlTD , 0xff0000FF);
    TextDrawSetOutline(GroinBlTD , true);
    TextDrawSetProportional(GroinBlTD , true);
    TextDrawSetShadow(GroinBlTD , 1);
   
    LLegBlab = TextDrawCreate(530 ,410, "Left Leg: Broken & Bleeding");
    TextDrawFont(LLegBlab , 1);
    TextDrawLetterSize(LLegBlab , 0.2, 1.4000000000000001);
    TextDrawColor(LLegBlab , 0xff0000FF);
    TextDrawSetOutline(LLegBlab , true);
    TextDrawSetProportional(LLegBlab , true);
    TextDrawSetShadow(LLegBlab , 1);
   
    RLegBlab = TextDrawCreate(530 ,430, "Right Leg: Broken & Bleeding");
    TextDrawFont(RLegBlab , 1);
    TextDrawLetterSize(RLegBlab , 0.2, 1.4000000000000001);
    TextDrawColor(RLegBlab , 0xff0000FF);
    TextDrawSetOutline(RLegBlab , true);
    TextDrawSetProportional(RLegBlab , true);
    TextDrawSetShadow(RLegBlab , 1);
   
    LLegBlTD = TextDrawCreate(530 ,410, "Left Leg: Bleeding");
    TextDrawFont(LLegBlTD , 1);
    TextDrawLetterSize(LLegBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(LLegBlTD , 0xff0000FF);
    TextDrawSetOutline(LLegBlTD , true);
    TextDrawSetProportional(LLegBlTD , true);
    TextDrawSetShadow(LLegBlTD , 1);
   
    RLegBlTD = TextDrawCreate(530 ,430, "Right Leg: Bleeding");
    TextDrawFont(RLegBlTD , 1);
    TextDrawLetterSize(RLegBlTD , 0.2, 1.4000000000000001);
    TextDrawColor(RLegBlTD , 0xff0000FF);
    TextDrawSetOutline(RLegBlTD , true);
    TextDrawSetProportional(RLegBlTD , true);
    TextDrawSetShadow(RLegBlTD , 1);

    //TextDrawShowForPlayer(playerid,GroinBlTD);
   
    HeadshotTD = TextDrawCreate(530 ,310 , "HEADSHOT");
    TextDrawFont(HeadshotTD , 1);
    TextDrawLetterSize(HeadshotTD , 0.2, 1.4000000000000001);
    TextDrawColor(HeadshotTD , 0xff0000FF);
    TextDrawSetOutline(HeadshotTD , true);
    TextDrawSetProportional(HeadshotTD , true);
    TextDrawSetShadow(HeadshotTD , 1);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)