Transparent SA map (txd file)
#1

Hi,

As we know we've got San Andreas map in SA-MP custom txd file (samaps.txd), and I'm trying to make that map transparent. I know it's possible because I did it couple of months ago and it worked, but now I'm doing the same thing and it doesn't want to.

Here's the code:
pawn Код:
Map = TextDrawCreate(120.0, 20.0, "samaps:map");
TextDrawFont(Map, 4);
TextDrawColor(Map, 0xFFFFFF44);
TextDrawTextSize(Map, 400.0, 400.0);
If someone could check that code for me, and tell me does it work for him, that'd be great.

Thanks.
Reply
#2

Seriously? No one even tested it?
Reply
#3

You just forgot to show it.
Код:
TextDrawShowForPlayer(playerid,Map);
Reply
#4

Seems like that you can't actually make "textured" text draws transparent.
Reply
#5

Quote:
Originally Posted by RowdyrideR
Посмотреть сообщение
You just forgot to show it.
Код:
TextDrawShowForPlayer(playerid,Map);
Textdraw is creating in Init callback, I am showing it in the command.

Quote:
Originally Posted by BigETI
Посмотреть сообщение
Seems like that you can't actually make "textured" text draws transparent.
Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Hi,

As we know we've got San Andreas map in SA-MP custom txd file (samaps.txd), and I'm trying to make that map transparent. I know it's possible because I did it couple of months ago and it worked, but now I'm doing the same thing and it doesn't want to.

Here's the code:

If someone could check that code for me, and tell me does it work for him, that'd be great.

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)