[Tutorial] Covering up the minimap with few textdraws!
#1

Hello everyone of the SA-MP community!,

Today i am here to show you an easy way to cover up the minimap, ive seen a few topics asking how to do this and people replying on those were suggesting waaaay more harder ways than this. so lets get started with these simple steps.

1. Get iPleomax textdraw editor here: https://sampforum.blast.hk/showthread.php?tid=376758

2. Create a new textdraw and change the text to "O"

3. Set the color to your liking (i suggest black)

4. Change the position by dragging in to the left UPPER corner of your minimap

5. Use the Size tool to make it bigger and big it so its fully covering the minimap

6. repeat step 5 untill you only got a small space open in the middle

7. make a new textdraw and change the text to a "." <-- dot

8. make the dot black or what ever color you want and scale it so it covers up the rest of your open places.

This should only use a couple of textdraws and is a better way then using ~20 textdraw boxes.

Or if your lazy :3 i made it here:

pawn Code:
new Text:Textdraw0;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;

Textdraw0 = TextDrawCreate(71.619049, 360.959930, "O");
TextDrawLetterSize(Textdraw0, 1.115143, 4.514137);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 255);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 1);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);

Textdraw8 = TextDrawCreate(57.523822, 341.759948, "O");
TextDrawLetterSize(Textdraw8, 2.192476, 8.345601);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, 255);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 1);
TextDrawBackgroundColor(Textdraw8, 51);
TextDrawFont(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);

Textdraw9 = TextDrawCreate(32.380989, 315.733306, "O");
TextDrawLetterSize(Textdraw9, 4.090000, 13.546681);
TextDrawAlignment(Textdraw9, 1);
TextDrawColor(Textdraw9, 255);
TextDrawSetShadow(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 1);
TextDrawBackgroundColor(Textdraw9, 51);
TextDrawFont(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 1);

Textdraw10 = TextDrawCreate(76.952423, 372.053344, "O");
TextDrawLetterSize(Textdraw10, 0.692666, 2.137600);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, 255);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawBackgroundColor(Textdraw10, 51);
TextDrawFont(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);

Textdraw11 = TextDrawCreate(81.523773, 375.893218, "O");
TextDrawLetterSize(Textdraw11, 0.350190, 1.075200);
TextDrawAlignment(Textdraw11, 1);
TextDrawColor(Textdraw11, 255);
TextDrawSetShadow(Textdraw11, 0);
TextDrawSetOutline(Textdraw11, 1);
TextDrawBackgroundColor(Textdraw11, 51);
TextDrawFont(Textdraw11, 1);
TextDrawSetProportional(Textdraw11, 1);

Textdraw12 = TextDrawCreate(68.952369, 282.879943, ".");
TextDrawLetterSize(Textdraw12, 3.295335, 14.165340);
TextDrawAlignment(Textdraw12, 1);
TextDrawColor(Textdraw12, 255);
TextDrawSetShadow(Textdraw12, 0);
TextDrawSetOutline(Textdraw12, 0);
TextDrawBackgroundColor(Textdraw12, 51);
TextDrawFont(Textdraw12, 1);
TextDrawSetProportional(Textdraw12, 1);
I hope i helped and good luck !

-Voxel
Reply
#2

It's a bit silly as everyone's mini-map can be in different locations :P
Reply
#3

Updated with code
Reply
#4

Yea, it's good and all that, but as EiresJason said (got your name right this time lol), everyone's mini-map can be in completely different locations by using hud.txd or gta3.img, not sure, .
Reply
#5

It is good keep it up!!,

--------------------------
Im working on a secret gamemode which is so awesome that its gonna beat Project:LA Script. Anyway Im looking for a web creator but i dont have money to pay cuz im a 12 year old kid,but ill give him high rank at my server.its gonna be a awesome server.
Plzz leave a +Rep so ill continue on my script!
Thx...
------------------------
Reply
#6

Thanks!
Reply
#7

Nice tutorial, thank you.
Reply
#8

Quote:
Originally Posted by J4mmyHD
View Post
Nice tutorial, thank you.
Thanks for the reply!
Reply
#9

Could you please show some pictures.
Reply
#10

I realize this thread is quite old, but in my opinion the simplest way is still just covering the entire map with one giant black gang zone.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)