SA-MP Forums Archive
Resizing model images in mSelector - 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: Resizing model images in mSelector (/showthread.php?tid=603974)



Resizing model images in mSelector - NeXoR - 29.03.2016

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 ?


Re: Resizing model images in mSelector - Threshold - 30.03.2016

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.




Re: Resizing model images in mSelector - NeXoR - 30.03.2016

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)


Re: Resizing model images in mSelector - Threshold - 30.03.2016

It would require you to edit the include itself.


Re: Resizing model images in mSelector - NeXoR - 30.03.2016

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 ?


Re: Resizing model images in mSelector - Threshold - 30.03.2016

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