Posts: 729
Threads: 66
Joined: Jun 2013
Quote:
Originally Posted by CutX
as BKarner said, you've merely created these Textdraws.
What you need to do to make the visible to players is this: TextDrawShowForPlayer
example:
pawn Код:
//-inside some command, for example-// TextDrawShowForPlayer(playerid,Textdraw0); TextDrawShowForPlayer(playerid,Textdraw1); TextDrawShowForPlayer(playerid,Textdraw2); TextDrawShowForPlayer(playerid,Textdraw3); TextDrawShowForPlayer(playerid,Textdraw4); TextDrawShowForPlayer(playerid,Textdraw5); TextDrawShowForPlayer(playerid,Textdraw6); TextDrawShowForPlayer(playerid,Textdraw7); TextDrawShowForPlayer(playerid,Textdraw8); TextDrawShowForPlayer(playerid,Textdraw9); //will show them all
you can hide them again ofc. using TextDrawHideForPlayer - simple.
but i highly recommend you to use PlayerTextdraw's
they get destroyed automatically after the player showing themdisconnects
and you can surpass the max textdraws limit like this (256 per player)
|
thank you +REp