SA-MP Forums Archive
[HELP] (+REP) Textdraw (TextSize) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] (+REP) Textdraw (TextSize) (/showthread.php?tid=576379)



[HELP] (+REP) Textdraw (TextSize) - M0HAMMAD - 03.06.2015

Hi.
I Created a Textdraw In My OnGameModeInit with Box (using TextSize)
so i wanna change it after i created in OnGameModeInit. how?
please if your try it and you done it tell me ! thanks.


Re: [HELP] (+REP) Textdraw (TextSize) - Nenzittow - 03.06.2015

Do you want to change what? The TextSize? Please, explain better what do you want, and then I will help you.

@Edit:

I think I understood what to you want.

To change the TextSize from the Textdraw, you can use these functions:

» https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
» https://sampwiki.blast.hk/wiki/PlayerTextDrawHide

So you will show the Textdraw X with X TextSize, and then you will hide it and show the Textdraw Y with Y TextSize.


Re: [HELP] (+REP) Textdraw (TextSize) - M0HAMMAD - 03.06.2015

Quote:
Originally Posted by Nenzittow
Посмотреть сообщение
Do you want to change what? The TextSize? Please, explain better what do you want, and then I will help you.

@Edit:

I think I understood what to you want.

To change the TextSize from the Textdraw, you can use these functions:

» https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
» https://sampwiki.blast.hk/wiki/PlayerTextDrawHide

So you will show the Textdraw X with X TextSize, and then you will hide it and show the Textdraw Y with Y TextSize.
i know that and i read that on wiki-samp. but my problem is how ?


Re: [HELP] (+REP) Textdraw (TextSize) - Nenzittow - 03.06.2015

Imagine this:

You have the Textdraw with A TextSize.

Then, you will hide that Textdraw and you will show another Textdraw that was created before with B TextSize. You will just hide one Textdraw and show another with different TextSize.

I don't know if it is this that you want. Just explain what do you mean with the "how?".

You just explained what do you want in a very fast way and it's difficult to understand, lol.


Re: [HELP] (+REP) Textdraw (TextSize) - M0HAMMAD - 04.06.2015

Quote:
Originally Posted by Nenzittow
Посмотреть сообщение
Imagine this:

You have the Textdraw with A TextSize.

Then, you will hide that Textdraw and you will show another Textdraw that was created before with B TextSize. You will just hide one Textdraw and show another with different TextSize.

I don't know if it is this that you want. Just explain what do you mean with the "how?".

You just explained what do you want in a very fast way and it's difficult to understand, lol.
Imagine i created a Textdraw With Textsize 10.0,10.0
like this?
pawn Код:
TextDrawHideForPlayer(playerid, Textdraw);
TextDrawTextSize(Textdraw,5.0,5.0);
TextDrawShowForPlayer(playerid, Textdraw);