Resizing model images in mSelector
#1

Well, I am setting up a roleplay mode and I wanted to upgrade the police armory to mSelection
It works great but I when I use model id (not weapon ID cause it shows up skins)
The model is just too big
Any way to resize it ?
Reply
#2

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

There is an 'fZoom' parameter in this function that allows you to control the zoom of the model image.
Quote:

The zoom value, default value 1.0, smaller values make the camera closer and larger values make the camera further away.

Reply
#3

Quote:
Originally Posted by Threshold
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/TextDrawSetPreviewRot

There is an 'fZoom' parameter in this function that allows you to control the zoom of the model image.
Thank you first of all,
Can you show me an example to use it along with mSelection ? (ShowModelSelectionMenu)
Reply
#4

It would require you to edit the include itself.
Reply
#5

Quote:
Originally Posted by Threshold
Посмотреть сообщение
It would require you to edit the include itself.
Does it means that I have to edit the zoom for every Selection textdraw I make ?
Reply
#6

The default zoom is 1.0. So unless the model actually needs changing, then no, it doesn't have to be for EVERY textdraw.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)