SA-MP Forums Archive
PlayerTextDrawSetPreviewModel question - 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: PlayerTextDrawSetPreviewModel question (/showthread.php?tid=488070)



PlayerTextDrawSetPreviewModel question - PawnoQ - 16.01.2014

hi,

in case i use this function: PlayerTextDrawSetPreviewModel
https://sampwiki.blast.hk/wiki/PlayerTex...etPreviewModel

to display a skin (person) is there a way i can for example mark the head or the shoulder of that skin in the textdraw?
By for example changing the heads colour or smth (if i want to mark the head)? (Can i use another texture/material in that textdraw or smth?)


Please give me an idea.


Re: PlayerTextDrawSetPreviewModel question - amirab - 16.01.2014

no
Preview model is just for objects
and just objects
and just objects
and just objects

i mean just objects


Re: PlayerTextDrawSetPreviewModel question - PawnoQ - 16.01.2014

i know, objects, skins and vehicles.
But i can simply get the skin of a player, display it using the preview model function, adding the same skins the player currently has.
Now my question is if i can somehow mark certain body parts in that textdraw that displays my skin preview...


Re: PlayerTextDrawSetPreviewModel question - quagga - 16.01.2014

There is no way to "mark" a certain portion of a model, you can only select the model id and preview it. The only parameters that can be set are the rotation and the zoom. I suppose that you could however create some sort of semi-transparent red square text draw over each portion of the body and name them accordingly, then display which ever one you want to highlight over a certain portion of the skin. That would be the only way I could think of to highlight/mark a part of the model.