SA-MP Forums Archive
Show 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: Show Textdraw (/showthread.php?tid=657024)



Show Textdraw - Dawkin - 30.07.2018

Код:
	GUI_HuongDan[playerid][0] = CreatePlayerTextDraw(playerid, 115.073242, 55.833335, "mdl-2001:main_interface");
	PlayerTextDrawLetterSize(playerid, GUI_HuongDan[playerid][0], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, GUI_HuongDan[playerid][0], 512.000000, 349.000000);
	PlayerTextDrawAlignment(playerid, GUI_HuongDan[playerid][0], 1);
	PlayerTextDrawColor(playerid, GUI_HuongDan[playerid][0], -1);
	PlayerTextDrawSetShadow(playerid, GUI_HuongDan[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, GUI_HuongDan[playerid][0], 0);
	PlayerTextDrawBackgroundColor(playerid, GUI_HuongDan[playerid][0], 255);
	PlayerTextDrawFont(playerid, GUI_HuongDan[playerid][0], 4);
	PlayerTextDrawSetProportional(playerid, GUI_HuongDan[playerid][0], 0);
	PlayerTextDrawSetShadow(playerid, GUI_HuongDan[playerid][0], 0);
How to show this textdraw ?
TextDrawShowForPlayer(playerid, GUI_HuongDan[0]); not work
Help me


Re: Show Textdraw - Florin48 - 30.07.2018

TextDrawShowForPlayer(playerid, GUI_HuongDan[playerid][0]);


Re: Show Textdraw - Rufio - 30.07.2018

Quote:
Originally Posted by Florin48
Посмотреть сообщение
TextDrawShowForPlayer(playerid, GUI_HuongDan[playerid][0]);
No.


Use PlayerTextDrawShow(playerid, PlayerText:GUI_HuongDan[playerid][0]);

TextDrawShowForPlayer is for global textdraws, PlayerTextDrawShow is for player ones and yours is a player textdraw.


Re: Show Textdraw - Rufio - 30.07.2018

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

If you’ve declared the array correctly, you don’t need a tag override.
Weird. Is it mentioned in the wiki? Welp, you learn something new every day.


Re: Show Textdraw - Dawkin - 30.07.2018

Please tell me how to show/destroy this textdraw with cmd (zcmd)


Re: Show Textdraw - Florin48 - 30.07.2018

CMDhowtd(playerid, params[])
{
new id;
if(sscanf(params,"u",id)) return 1;
PlayerTextDrawShow(id, GUI_HuongDan[id][0]);
return 1;
}

its just an exemple


Re: Show Textdraw - sonn51280 - 03.08.2018

hello Dawkin i Mr Son