[Help] Textrdaw Problem...
#1

Okay so every time I create a text-draw through my own GameMode and I show it when a player connects/spawns the text-draw does not show for some reason... any help?

OnPlayerConnect();
Код:
TextDrawShowForPlayer(playerid, Web);
OnGameModeInit();
Код:
Web = TextDrawCreate(495.000000, 10.000000, "www.cod-sr.tk");
	TextDrawBackgroundColor(Web, 255);
	TextDrawFont(Web, 1);
	TextDrawLetterSize(Web, 0.330000, 1.200000);
	TextDrawColor(Web, 10040319);
	TextDrawSetOutline(Web, 0);
	TextDrawSetProportional(Web, 1);
	TextDrawSetShadow(Web, 1);
and YES I did define the Textdraw at the top:

Код:
new Text:Web;
Any ideas?
Reply
#2

is the player spawned?
Reply
#3

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
is the player spawned?
well as I said the player has only connected not yet spawned. might that be the problem?

EDIT: can't be the problem I guess.

I have this on, OnPlayerSpawn() and still it doesn't show:

Код:
TextDrawShowForAll(ScriptVer);
Reply
#4

Try with TextDrawShowForPlayer(playerid, Web); on OnPlayerConnect and please write a hexadecimal colour-codes in TextDraw Definition, not anything.

And why you show TextDraw ScriptVer to AllPlayers if you want to show Web?
Reply
#5

Quote:
Originally Posted by Manuel1948
Посмотреть сообщение
Try with TextDrawShowForPlayer(playerid, Web); on OnPlayerConnect and please write a hexadecimal colour-codes in TextDraw Definition, not anything.

And why you show TextDraw ScriptVer to AllPlayers if you want to show Web?
Because the website shows for each individual player.
and the version of the script shows for every player.

that said, I want it to prevent any problems.

but I will try it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)