SA-MP Forums Archive
SetPlayerMapIcon on textdraw help me please? - 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: SetPlayerMapIcon on textdraw help me please? (/showthread.php?tid=651549)



SetPlayerMapIcon on textdraw help me please? - Charisma - 22.03.2018

SetPlayerMapIcon on textdraw help me please?


Re: SetPlayerMapIcon on textdraw help me please? - Charisma - 22.03.2018



How to add MapIcon on textdraw?


Re: SetPlayerMapIcon on textdraw help me please? - BulletRaja - 22.03.2018

Quote:
Originally Posted by Charisma
Посмотреть сообщение


How to add MapIcon on textdraw?
You can use this
Код:
hud:radar_airyard
Код:
To make it in textdraw use TDEditor
right click on new and click on SPRITE_TEXTDRAW and then right click on "TEXT" and type hud:radar_airyard
and edit the position their you want
OTHERWISE

Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
MAP[playerid] = TextDrawCreate(x, y, "hud:radar_airyard");
TextDrawShowForPlayer(playerid, MAP[playerid]);

then hide it when player type command or make it on timer so it hide automatically.



Re: SetPlayerMapIcon on textdraw help me please? - v1k1nG - 22.03.2018

You can add such icons by using editors, more easy way than copy pasting code around. I can say best is TDE for me

https://sampforum.blast.hk/showthread.php?tid=543002