PlayerText never show up.
#1

pawn Код:
new PlayerText:Speedo[MAX_PLAYERS];

public OnPlayerConnect(playerid) {
    Speedo[playerid] = CreatePlayerTextDraw(playerid, 608.5, 198.0, " ");
    PlayerTextDrawAlignment(playerid, Speedo[playerid], 3);
    PlayerTextDrawBackgroundColor(playerid, Speedo[playerid], 255);
    PlayerTextDrawFont(playerid, Speedo[playerid], 6);
    PlayerTextDrawLetterSize(playerid, Speedo[playerid], 0.56, 2.2);
    PlayerTextDrawSetOutline(playerid, Speedo[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Speedo[playerid], 1);
}

public OnPlayerSpawn(playerid) {
    PlayerTextDrawShow(playerid,Speedo[playerid]);
    PlayerTextDrawSetString(playerid, Speedo[playerid], "100 ~r~MPK/H");
    // also not show up by swap them.
    return 1;
}
Reply


Messages In This Thread
PlayerText never show up. - by VivianKris - 15.10.2014, 12:00
Re: PlayerText never show up. - by VivianKris - 15.10.2014, 12:16
Re: PlayerText never show up. - by VishvaJeet - 15.10.2014, 12:27
Re: PlayerText never show up. - by VivianKris - 15.10.2014, 14:02
Re: PlayerText never show up. - by Kyance - 15.10.2014, 14:14
Re: PlayerText never show up. - by VivianKris - 15.10.2014, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)