Icons and Texdraws.
#1

Hey there. Does anyone know how or what functions should be used to created something like this ?
Look on the right side.

Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawSetPreviewModel

This is textdraw - you have to create normal textdraw with font TEXT_DRAW_FONT_MODEL_PREVIEW and use function TextDrawSetPreviewModel.
Reply
#3

Use iPLEOMAX's textdraw creator to create an empty textdraw on the position you want (easier InGame than on Internet I think).

Then, get the code of the empty textdraw and replace the font by TEXT_DRAW_FONT_MODEL_PREVIEW, and use the function ball have mentionned above to set a preview model into the empty textdraw.
Reply
#4

Okay,so by using "TextDrawSetPreviewModel" I can make the model be that pizza or bottle?
Reply
#5

Absolutely.

Put the model in TextDrawSetPreviewModel as you would put it in first parameter in Create(Dynamic)Object.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)