Transparent SA map (txd file) - 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: Transparent SA map (txd file) (
/showthread.php?tid=472918)
Transparent SA map (txd file) -
Riddick94 - 31.10.2013
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.
Re: Transparent SA map (txd file) -
Riddick94 - 01.11.2013
Seriously? No one even tested it?
Re: Transparent SA map (txd file) -
RowdyrideR - 01.11.2013
You just forgot to show it.
Код:
TextDrawShowForPlayer(playerid,Map);
AW: Transparent SA map (txd file) -
BigETI - 01.11.2013
Seems like that you can't actually make "textured" text draws transparent.
Re: Transparent SA map (txd file) -
Riddick94 - 01.11.2013
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.
|