OnPlayerClickPlayerTextDraw
#5

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
Yes you have to calculate it for every one. Requires a lot of testing and trieing. An example:

Код:
	CapacityText[playerid] = CreatePlayerTextDraw(playerid, 32.000000, 290.000000, "Vehicle Capacity (0/10)");
	PlayerTextDrawBackgroundColor(playerid, CapacityText[playerid], 255);
	PlayerTextDrawFont(playerid, CapacityText[playerid], 1);
	PlayerTextDrawLetterSize(playerid, CapacityText[playerid], 30.200000, 1.000000);
	PlayerTextDrawColor(playerid, CapacityText[playerid], -1);
	PlayerTextDrawSetOutline(playerid, CapacityText[playerid], 1);
	PlayerTextDrawSetProportional(playerid, CapacityText[playerid], 1);
	PlayerTextDrawSetSelectable(playerid, CapacityText[playerid], 0);
	CapacityBar[playerid] = CreatePlayerProgressBar(playerid, 30.000000, 304.000000, 118.500000, 6.199999, -1429936641, TRASH_LIMIT, 0);
PlayerTextDrawLetterSize(playerid, textdrawid, width, heigth);
their is no problem in lettertextsize problem was in textsize
after removing that its fixed ok
Reply


Messages In This Thread
OnPlayerClickPlayerTextDraw - by CrystalGamer - 27.04.2018, 15:58
Re: OnPlayerClickPlayerTextDraw - by Lokii - 27.04.2018, 16:03
Re: OnPlayerClickPlayerTextDraw - by CrystalGamer - 27.04.2018, 16:07
Re: OnPlayerClickPlayerTextDraw - by jasperschellekens - 27.04.2018, 16:11
Re: OnPlayerClickPlayerTextDraw - by CrystalGamer - 27.04.2018, 16:21
Re: OnPlayerClickPlayerTextDraw - by RedRex - 27.04.2018, 16:38
Re: OnPlayerClickPlayerTextDraw - by jasperschellekens - 27.04.2018, 16:47

Forum Jump:


Users browsing this thread: 2 Guest(s)