PlayerTextDrawSetPreviewModel question
#1

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.
Reply
#2

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

i mean just objects
Reply
#3

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...
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)