Show Textdraw
#1

Код:
	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
Reply
#2

TextDrawShowForPlayer(playerid, GUI_HuongDan[playerid][0]);
Reply
#3

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.
Reply
#4

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.
Reply
#5

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

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

its just an exemple
Reply
#7

hello Dawkin i Mr Son
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)