intro 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: intro textdraws (
/showthread.php?tid=529510)
intro textdraws -
capottematias - 02.08.2014
hello which is the error of this
InterpolateCameraPos(playerid, 187.600982, -1791.727050, 119.087432, 193.731567, -1789.235473, 118.845245, 5000);
InterpolateCameraLookAt(playerid, 189.006942, -1790.279785, 114.512641, 195.057144, -1788.512817, 114.078620, 5000);
SetTimerEx("OnPlayerFinishInterpolateCamera", 5000-600, 0, "id", playerid, 1);
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
show me only the first Textdraws others not charge someone help me
Re: intro textdraws -
Sharpadox - 02.08.2014
Could it be, that you have reached the Textdraw-Limit? The Limit for textdraws is 2048 TD's.
If you create 3 global TD's with player-variable:
pawn Код:
new Textdraw0[MAX_PLAYERS];
new Textdraw1[MAX_PLAYERS];
new Textdraw2[MAX_PLAYERS];
This would be 1500 Textdraws (3 * MAX_PLAYERS [MAX_PLAYERS = 500])
You should use "PlayerTextDraws".