30.03.2013, 07:22
(
Последний раз редактировалось NathNathii; 30.05.2013 в 17:24.
)
// Fixed.
That's not Textdraw, That's a GameTextForAll, check the wiki for textdraws. It'll help you.
|
TD_GTXT_TDID[playerid] = CreatePlayerTextDraw(playerid, 320.000000, 200.000000, text);
PlayerTextDrawAlignment(playerid, TD_GTXT_TDID[playerid], 2);
PlayerTextDrawBackgroundColor(playerid, TD_GTXT_TDID[playerid], 255);
PlayerTextDrawFont(playerid, TD_GTXT_TDID[playerid], 3);
PlayerTextDrawLetterSize(playerid, TD_GTXT_TDID[playerid], 0.800000, 2.800000);
PlayerTextDrawColor(playerid, TD_GTXT_TDID[playerid], -1);
PlayerTextDrawTextSize(playerid, TD_GTXT_TDID[playerid], 0, 550);
PlayerTextDrawSetOutline(playerid, TD_GTXT_TDID[playerid], 2);
for(loop blah blah)
{
TD_GameTextForPlayer(i, params, GTXT_PRICEDOWN_THICK);
}
It isn't game text. It's a textdraw.
I'll give you the textdraw code: pawn Код:
http://pastebin.com/ctpwCpUk The function: native TD_GameTextForPlayer(playerid, text[], style=GTXT_CAPITALS_THICK, duration=5000); The font in the image you posted is GTXT_PRICEDOWN_THICK. So do this: pawn Код:
P.S.: There is no 'ForAll' function so you'll have to use a loop (exactly what the include would do anyway). |
C:\Users\Documents\GT Testing\gamemodes\GranTrucking.pwn(67) : fatal error 100: cannot read from file: "YSI\y_hooks
#include <YSI\y_hooks>