SA-MP Forums Archive
[?]TextDraws on FS[RESOLVED] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [?]TextDraws on FS[RESOLVED] (/showthread.php?tid=72674)



[?]TextDraws on FS[RESOLVED] - dafel2 - 10.04.2009

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


Re: [?]TextDraws on FS - Weirdosport - 10.04.2009

Shouldn't it be:

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


Re: [?]TextDraws on FS - dafel2 - 10.04.2009

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


Re: [?]TextDraws on FS [Resolved] - dafel2 - 10.04.2009

Ok. Resolved i just putted textdrawshowforplayer under onplayerspawn


Re: [?]TextDraws on FS [Resolved] - -zriptarusk - 10.04.2009

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?


Re: [?]TextDraws on FS[RESOLVED] - Rks25 - 10.04.2009

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