TextDraw Help
#1

It isn't showing up. Please help i seriously don't understand why it isn't working.

Top.
Код:
new Text:test;
OnGameModeInit
Код:
	test = TextDrawCreate(269, 223, "text");
	TextDrawAlignment(test, 1);
	TextDrawFont(test, 1);
	TextDrawLetterSize(test, 3.7, 3.7);
	TextDrawColor(test, 0xF5FDFAFF);
	TextDrawShowForAll(test);
Reply
#2

I think the textdraw won't be shown to players who connected after 'TextDrawShowForAll(test)' has been used, and since that's in OnGameModeInit, nobody is connected at that time.
Try TextDrawShowForPlayer(test, playerid) in the OnPlayerConnect or OnPlayerSpawn callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)