06.03.2014, 20:02
(
Последний раз редактировалось CutX; 07.03.2014 в 06:29.
)
as BKarner said, you've merely created these Textdraws.
What you need to do to make them visible to players is this: TextDrawShowForPlayer
example:
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 them disconnects
so you don'tr have to worry about that part
and you can surpass the max textdraws limit like this (256 per player)
What you need to do to make them 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
but i highly recommend you to use PlayerTextdraw's
they get destroyed automatically after the player showing them disconnects
so you don'tr have to worry about that part
and you can surpass the max textdraws limit like this (256 per player)