17.07.2016, 07:06
(
Последний раз редактировалось Tass007; 17.07.2016 в 07:56.
)
I'm trying to make a TextDraw for connection and disconnection alerts.
However the textdraw cuts itself off and goes on the next line.
Does anyone have any suggestions? I don't get any errors or anything. I'll post the textdraw itself code and a picture.
The textdraw is the bottom right that isn't working properly.
Another problem that I'm having is with my Speedo. On the OnPlayerSpawn callback I'm trying to display a speedo Textdraw however I get three warnings.
Here is my Textdraw code.
Warnings are on 673, 674, 675
Thanks for your time.
PS Sorry for the huge picture
However the textdraw cuts itself off and goes on the next line.
Does anyone have any suggestions? I don't get any errors or anything. I'll post the textdraw itself code and a picture.
The textdraw is the bottom right that isn't working properly.
PHP код:
if (JoinText == Text:-1) {
JoinText = TextDrawCreate(622.0, 389.0, name);
TextDrawLetterSize(JoinText, 0.35, 1.0);
TextDrawSetShadow(JoinText, 1);
TextDrawAlignment(JoinText, 3);
}
Код:
(673) : warning 213: tag mismatch (674) : warning 213: tag mismatch (675) : warning 213: tag mismatch
PHP код:
TextDrawShowForPlayer(playerid,SpeedoText[playerid]);
SpeedoText[playerid] = TextDrawCreate(530.0, 340.5, "");
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
PHP код:
PlayerTextDrawLetterSize(playerid, SpeedoText[playerid], 0.5, 1.6);
PlayerTextDrawSetProportional(playerid, SpeedoText[playerid], 1);
PlayerTextDrawSetOutline(playerid, SpeedoText[playerid], 1);
PS Sorry for the huge picture