Textdraw box only
#6

I am really sorry for double posting, but I got a more urgent question..
I made a sort of tracking system for bone county, pressing a key will open the map for bone county, i got a dot texture-textdraw, and i want it to be tracking the player.. But ofcourse setting the textdraw's x,y coordinates are not the same as the player co-ordinates..
so how would I link these two? either It's not possible or it's possible with a very difficult math formula which I am not aware of..

edit: Here's the map that's covering the entire screen
pawn Код:
Textdraw0 = TextDrawCreate(-503.000000, -78.000000, "samaps:gtasamapbit1");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 4);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 860.000000, 872.000000);

Textdraw1 = TextDrawCreate(357.000000, -78.000000, "samaps:gtasamapbit2");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 4);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawUseBox(Textdraw1, 1);
TextDrawBoxColor(Textdraw1, 255);
TextDrawTextSize(Textdraw1, 860.000000, 872.000000);
Now I only expect someone like ****** or so to come up with such a great math formula, or anyone smart ofcourse

Thanks in advance
Reply


Messages In This Thread
Textdraw box only - by Mike_Peterson - 20.12.2012, 19:35
Re: Textdraw box only - by park4bmx - 20.12.2012, 19:41
Re: Textdraw box only - by Mike_Peterson - 20.12.2012, 19:44
Re: Textdraw box only - by park4bmx - 20.12.2012, 19:47
Re: Textdraw box only - by Mike_Peterson - 20.12.2012, 20:16
Re: Textdraw box only - by Mike_Peterson - 20.12.2012, 20:51
Re: Textdraw box only - by Mike_Peterson - 22.12.2012, 09:17
Re: Textdraw box only - by SKAzini - 22.12.2012, 09:59
Re: Textdraw box only - by park4bmx - 22.12.2012, 10:13
Re: Textdraw box only - by Mike_Peterson - 22.12.2012, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)