[HELP] Textdraw
#5

no, like this:
pawn Код:
// Create TextDraw in OnPlayerConnect ! this is not all code and this is example !
    TDFuel[playerid] = TextDrawCreate(200.000000, 200.000000, "LD_SPAC:white");
    TextDrawTextSize(TDFuel[playerid], 100.000000, 10.000000);
so i read in wiki sa-mp and i do this:
pawn Код:
TextDrawHideForPlayer(playerid, TDFuel[playerid]);
    TextDrawTextSizeT(TDFuel[playerid],VehFuel[GetPlayerVehicleID(playerid)], 10.000000);
    TextDrawShowForPlayer(playerid,TDFuel[playerid]);
but won't be change the size of Textdraw !
=================================
https://sampwiki.blast.hk/wiki/TextDrawTextSize | In tip:
PHP код:
If you want to change the text size of a textdraw that is already shownyou don't have
to recreate it.Simply use TextDrawShowForPlayer/TextDrawShowForAll after
modifying the textdraw and the change will be visible. 
and one thing ! if you wanna say "maybe fuel not get diminish " i must say, i create a command and i checked and work ! problem is from Textdraw. i don't know how to change the size of Textdraw (TextSize)
Reply


Messages In This Thread
[HELP] Textdraw - by M0HAMMAD - 30.05.2015, 16:23
Re: [HELP] Textdraw - by M0HAMMAD - 30.05.2015, 18:07
Re: [HELP] Textdraw - by M0HAMMAD - 31.05.2015, 07:28
Re: [HELP] Textdraw - by dominik523 - 31.05.2015, 08:30
Re: [HELP] Textdraw - by M0HAMMAD - 31.05.2015, 10:48
Re: [HELP] Textdraw - by PepsiCola23 - 31.05.2015, 11:33
Re: [HELP] Textdraw - by M0HAMMAD - 31.05.2015, 15:13
Re: [HELP] Textdraw - by DarkLored - 31.05.2015, 15:23
Re: [HELP] Textdraw - by M0HAMMAD - 31.05.2015, 17:17
Re: [HELP] Textdraw - by M0HAMMAD - 01.06.2015, 09:24

Forum Jump:


Users browsing this thread: 1 Guest(s)