SpeedMeter textdraw is not showing up
#10

onplayerconnect
pawn Код:
Speedoo[playerid] = TextDrawCreate(510.000000, 371.000000, "Speed:");
    TextDrawBackgroundColor(Speedoo[playerid], 255);
    TextDrawFont(Speedoo[playerid], 1);
    TextDrawLetterSize(Speedoo[playerid], 0.400000, 1.000000);
    TextDrawColor(Speedoo[playerid], -1);
    TextDrawSetOutline(Speedoo[playerid], 1);
    TextDrawSetProportional(Speedoo[playerid], 1);
    TextDrawUseBox(Speedoo[playerid], 1);
    TextDrawBoxColor(Speedoo[playerid], -222);
    TextDrawTextSize(Speedoo[playerid], 640.000000, 0.000000);
    TextDrawSetSelectable(Speedoo[playerid], 0);

    fuel[playerid] = CreatePlayerTextDraw(playerid, 510.000000, 386.000000, "Fuel:");
    PlayerTextDrawBackgroundColor(playerid, fuel[playerid], 255);
    PlayerTextDrawFont(playerid, fuel[playerid], 1);
    PlayerTextDrawLetterSize(playerid, fuel[playerid], 0.409999, 1.000000);
    PlayerTextDrawColor(playerid, fuel[playerid], -1);
    PlayerTextDrawSetOutline(playerid, fuel[playerid], 1);
    PlayerTextDrawSetProportional(playerid, fuel[playerid], 1);
    PlayerTextDrawUseBox(playerid, fuel[playerid], 1);
    PlayerTextDrawBoxColor(playerid, fuel[playerid], -222);
    PlayerTextDrawTextSize(playerid, fuel[playerid], 660.000000, 0.000000);
    PlayerTextDrawSetSelectable(playerid, fuel[playerid], 0);

    dashboard[playerid] = CreatePlayerTextDraw(playerid, 531.000000, 351.000000, "Dash Board");
    PlayerTextDrawBackgroundColor(playerid, dashboard[playerid], 255);
    PlayerTextDrawFont(playerid, dashboard[playerid], 1);
    PlayerTextDrawLetterSize(playerid, dashboard[playerid], 0.400000, 2.000000);
    PlayerTextDrawColor(playerid, dashboard[playerid], 16777215);
    PlayerTextDrawSetOutline(playerid, dashboard[playerid], 1);
    PlayerTextDrawSetProportional(playerid, dashboard[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, dashboard[playerid], 0);

    carhealth[playerid] = CreatePlayerTextDraw(playerid, 510.000000, 401.000000, "Health:");
    PlayerTextDrawBackgroundColor(playerid, carhealth[playerid], 255);
    PlayerTextDrawFont(playerid, carhealth[playerid], 1);
    PlayerTextDrawLetterSize(playerid, carhealth[playerid], 0.319999, 1.000000);
    PlayerTextDrawColor(playerid, carhealth[playerid], -1);
    PlayerTextDrawSetOutline(playerid, carhealth[playerid], 1);
    PlayerTextDrawSetProportional(playerid, carhealth[playerid], 1);
    PlayerTextDrawUseBox(playerid, carhealth[playerid], 1);
    PlayerTextDrawBoxColor(playerid, carhealth[playerid], -222);
    PlayerTextDrawTextSize(playerid, carhealth[playerid], 660.000000, 0.000000);
    PlayerTextDrawSetSelectable(playerid, carhealth[playerid], 0);
Reply


Messages In This Thread
SpeedMeter textdraw is not showing up - by lulo356 - 21.10.2014, 12:36
Re: SpeedMeter textdraw is not showing up - by lulo356 - 21.10.2014, 17:21
Re: SpeedMeter textdraw is not showing up - by Glossy42O - 21.10.2014, 17:28
Re: SpeedMeter textdraw is not showing up - by SaintMikey - 21.10.2014, 17:47
Re: SpeedMeter textdraw is not showing up - by gurmani11 - 21.10.2014, 18:16
Re: SpeedMeter textdraw is not showing up - by lulo356 - 21.10.2014, 18:35
Re: SpeedMeter textdraw is not showing up - by gurmani11 - 21.10.2014, 18:42
Re: SpeedMeter textdraw is not showing up - by lulo356 - 21.10.2014, 18:49
Re: SpeedMeter textdraw is not showing up - by gurmani11 - 21.10.2014, 18:51
Re: SpeedMeter textdraw is not showing up - by lulo356 - 21.10.2014, 18:52

Forum Jump:


Users browsing this thread: 3 Guest(s)