[?]TextDraws on FS[RESOLVED]
#1

When i go on my server textdraws wont show.
But other textdraw on gm shows.

Код:
public OnPlayerConnect(playerid)
{
  TextDrawShowForPlayer(playerid, Text:Textdraw0);
  TextDrawShowForPlayer(playerid, Text:Textdraw1);
  TextDrawShowForPlayer(playerid, Text:Textdraw2);

  TextDrawShowForPlayer(playerid, Text:Textdraw4);
  TextDrawShowForPlayer(playerid, Text:Textdraw5);
  TextDrawShowForPlayer(playerid, Text:Textdraw6);

  TextDrawShowForPlayer(playerid, Text:Textdraw8);
  TextDrawShowForPlayer(playerid, Text:Textdraw9);
  TextDrawShowForPlayer(playerid, Text:Textdraw10);
  TextDrawShowForPlayer(playerid, Text:Textdraw11);

	return 1;
}
ALL THE FS:
http://pastebin.com/m59fe4e9
ignore line 6
Reply
#2

Shouldn't it be:

pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0);
I don't think it needs the extra "Text:"
Reply
#3

Quote:
Originally Posted by Weirdosport
Shouldn't it be:

pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0);
I don't think it needs the extra "Text:"
I will try it.
EDIT:Still the same problem
Код:
  TextDrawShowForPlayer(playerid, Textdraw0);
  TextDrawShowForPlayer(playerid, Textdraw1);
  TextDrawShowForPlayer(playerid, Textdraw2);

  TextDrawShowForPlayer(playerid, Textdraw4);
  TextDrawShowForPlayer(playerid, Textdraw5);
  TextDrawShowForPlayer(playerid, Textdraw6);

  TextDrawShowForPlayer(playerid, Textdraw8);
  TextDrawShowForPlayer(playerid, Textdraw9);
  TextDrawShowForPlayer(playerid, Textdraw10);
  TextDrawShowForPlayer(playerid, Textdraw11);
now it looks like this
Reply
#4

Ok. Resolved i just putted textdrawshowforplayer under onplayerspawn
Reply
#5

Quote:
Originally Posted by Don_Lake
Ok. Resolved i just putted textdrawshowforplayer under onplayerspawn
?
Lol xD
I tough there were no difference between OnPlayerConnect and OnPlayerSpawn to show TextDraws to a player.
Does the TextDraw «hide» when a player spawns?
Reply
#6

why would it hide, if you show it when a players spawns?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)