SA-MP Forums Archive
Disable the radar with textdraw? - 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: Disable the radar with textdraw? (/showthread.php?tid=293326)



Disable the radar with textdraw? - godknightx - 28.10.2011

Hi

My question is, how can i hide the radar with textdraw? Which character(s) and how? I tried find the solution, but i dont found any things.
Can you paste the textdraw code of it?

Thank you.


Re: Disable the radar with textdraw? - Jeffry - 28.10.2011

You can only hide it by creating a black box-textdraw over the Radar. Is this what you want?


Re: Disable the radar with textdraw? - Vince - 28.10.2011

I suggest using an ingame textdraw editor to create the box. Use _ (underscore) as text.


Re: Disable the radar with textdraw? - godknightx - 28.10.2011

Yes i want to use a textdraw with a character like o, not a rectangle, it is possible?


Re: Disable the radar with textdraw? - Stigg - 28.10.2011

Quote:
Originally Posted by godknightx
Посмотреть сообщение
Yes i want to use a textdraw with a character like o, not a rectangle, it is possible?
Found this with a little search, it uses GangZoneCreate though:

pawn Код:
//At The Top Of The Script:
new BlackRadar;

//Under OnGameModeInit
BlackRadar= GangZoneCreate(-3334.758544, -3039.903808, 3049.241455, 3184.096191);

//Under OnPlayerSpawn:
GangZoneShowForPlayer(playerid, BlackRadar, 0x000000FF);
Pic:

http://forum.sa-mp.com/attachment.ph...1&d=1299435060

Thread:

http://forum.sa-mp.com/showthread.ph...k+radar&page=2

Should help you get started.


Re: Disable the radar with textdraw? - godknightx - 28.10.2011

Wow! I tryed to find it, but i dont found this. Thanx man!


Re: Disable the radar with textdraw? - Stigg - 28.10.2011

Quote:
Originally Posted by godknightx
Посмотреть сообщение
Wow! I tryed to find it, but i dont found this. Thanx man!
No prob's, glad i could help.


Re: Disable the radar with textdraw? - Jeffry - 28.10.2011

@Stigg: I am happy that you were faster. That's a great solution. Learned something today.
+1 Rep for you.

EDIT: Wow, I gave you rep, and it jumped from 37 to 42. O.o Enjoy.