Problem using PREVMODEL dialogs -
Q_Lite - 24.05.2015
I am using
Dialogs include for DIALOG_STYLE_PREVMODEL but my some of my models are appearing with large zoom (see those Ak-47, M4 or i mean heavy weapons).
Here is a screenshot:
Here is my code:
pawn Код:
CMD:ammo(playerid)
{
new items_array[] =
{
345,346,347,348,349,350,351,352,352,354,355,356,357
};
ShowPlayerDialog(playerid, 100, DIALOG_STYLE_PREVMODEL, "Do you want to buy some ammunation?", items_array, "Buy", "Cancel");
return 1;
}
How can i set the zoom for different dialogs?
Re: Problem using PREVMODEL dialogs -
SickAttack - 24.05.2015
Код:
SetupPrevModelDialog(Float:mx, Float:my, Float:mz, Float:mzoom = 1.0, mbgcolor = 0x4A5A6BFF, hovercolor = 0x8B0000FF, selectcolor = 0x8B0000FF);
Re: Problem using PREVMODEL dialogs -
Q_Lite - 24.05.2015
No i meant to say, is it possible to set zoom for each dialog's lisitem?
Re: Problem using PREVMODEL dialogs -
SickAttack - 24.05.2015
Have a look at the include. If neither that helps, then edit the include yourself, or ask the author to add an option to do that.
Код:
static Text:Dialog_TextDrawAdd(Float:posX, Float:posY, string[], bgcolor, font, Float:lettersizeX, Float:lettersizeY, textcolor, allign = 0, outline = 1, bool:proportional = true, shadow = 1, bool:usebox = false, boxcolor = 0, Float:textsizeX = -1.0, Float:textsizeY = -1.0, model = 0, Float:rotX = 0.0, Float:rotY = 0.0, Float:rotZ = 0.0, Float:zoom = 1.0)
static PlayerText:Dialog_PlayerTextDrawAdd(playerid, Float:posX, Float:posY, string[], bgcolor, font, Float:lettersizeX, Float:lettersizeY, textcolor, allign = 0, outline = 1, bool:proportional = true, shadow = 1, bool:usebox = false, boxcolor = 0, Float:textsizeX = -1.0, Float:textsizeY = -1.0, model = 0, Float:rotX = 0.0, Float:rotY = 0.0, Float:rotZ = 0.0, Float:zoom = 1.0, selectable = 0)
Re: Problem using PREVMODEL dialogs -
Q_Lite - 24.05.2015
There's no option for that so i think i have to edit it or ask the Autor.
Thanks for replying.