PlayerTextDrawSetPreviewModel - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: PlayerTextDrawSetPreviewModel (
/showthread.php?tid=614050)
PlayerTextDrawSetPreviewModel -
Mencent - 03.08.2016
Hello guys.
I want to report a little bug. When I create a preview model textdraw and somewhere else in the script I want to change the model index of this textdraw I have to use PlayerTextDrawSetPreviewModel. But I have to use PlayerTextDrawShow too so that the model index will update.
I hope you understand what I mean.
Re: PlayerTextDrawSetPreviewModel -
Spmn - 03.08.2016
There's no bug. That's how textdraws are supposed to work.
Re: PlayerTextDrawSetPreviewModel -
Mencent - 03.08.2016
Why it's not possible only to use PlayerTextDrawSetPreviewModel?
Re: PlayerTextDrawSetPreviewModel -
Spmn - 03.08.2016
I guess it's a way to save bandwidth.
At TD creation, you (usually) set its text, color, box and many other properties with different function calls (>10). To save bandwidth, all those properties are not sent to clients individually and instantly after call, but they are saved in server memory and sent at (Player)TextDrawShow*.
Re: PlayerTextDrawSetPreviewModel -
Mencent - 04.08.2016
Ah, okay. Thanks!