PlayerTextDraws not loading.
#1

Hello, I have been try to fix this by my own for a little while but I couldn't solve it.
the filterscript compiles with no errors, but ingame the textdraws don't load.

Код:
here is on player connect code : 
public OnPlayerConnect(playerid)
{
	textdrawexemple					=CreatePlayerTextDraw(playerid, 320.000000, 204.000000, "_");
	PlayerTextDrawAlignment			(playerid, textdrawexemple, 2);
	PlayerTextDrawBackgroundColor	(playerid, textdrawexemple, -1);
	PlayerTextDrawFont				(playerid, textdrawexemple, 1);
	PlayerTextDrawLetterSize		(playerid, textdrawexemple, 0.500000, 16.199998);
	PlayerTextDrawColor				(playerid, textdrawexemple, 255);
	PlayerTextDrawSetOutline		(playerid, textdrawexemple, 1);
	PlayerTextDrawSetProportional	(playerid, textdrawexemple, 1);
	PlayerTextDrawUseBox			(playerid, textdrawexemple, 1);
	PlayerTextDrawBoxColor			(playerid, textdrawexemple, 80);
	PlayerTextDrawTextSize			(playerid, textdrawexemple, 20.000000, 82.000000);
 All the code I put below don't load either : prints , vars .. nothing
        return 1;
}
Reply
#2

Does stuff before that prints? Also, get yourself crashdetect plugin - if something happens it should tell you what.
Reply
#3

Bump, still looking forward solving this.
Reply
#4

Quote:
Originally Posted by Golimad
Посмотреть сообщение
Bump, still looking forward solving this.
The show function is missing, write at least:

Код:
PlayerTextDrawShow(playerid, textdrawexemple);
//Edit: and as text use instead of an underscore space

Greekz
Reply
#5

the issue is "PlayerTextDraws not loading." not "PlayerTextDraws not showing."
The show function is called in another point of code and its working fine. The thing that's not working is the creation and load of the text draws :
All code between OnPlayerConnect doesn't load.

- After some attempts, I have removed all code added between OnPlayerConnect :
Код:
public OnPlayerConnect(playerid)
{
	print("connect");
	return 1;
}
But when I connect it doesn't print anything.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)