Difference between PlayerTextDraws and simple TextDraws - 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)
+--- Thread: Difference between PlayerTextDraws and simple TextDraws (
/showthread.php?tid=520661)
Difference between PlayerTextDraws and simple TextDraws -
kamiliuxliuxliux - 19.06.2014
Can anyone what's the difference between these two points?
For example:
pawn Код:
CreatePlayerTextDraw(playerid,x,y,text[]);
// and
new textdraw[MAX_PLAYERS];
textdraw[playerid] = CreateTextDraw(x,y,text[]);
Because I don't feel difference :////
Re: Difference between PlayerTextDraws and simple TextDraws -
DavidBilla - 19.06.2014
Player Textdraw shows up only for the specific players but global textdraw will be shown for all the players.
Example for player textdraw could be, the fps and ping textdraw in many servers which shows the player's fps and ping.
Example for global textdraw is the server's website name which will be displayed and is the same for all the players.