12.11.2017, 18:05
at mos i have 3 items because i can own at most 3 items so i use it like this:
All vehicle model ids are taken from database, they work fine in the string with dialog.like vehicle model ids cola's and colb's are taken in same query with model ids but still i see them on front with random colors. Not even a slight bit of rotation happens..
Code:
Dialog_SetListitemPreviewRot(playerid, 0, 45.0, 5.0, 2.0, 10.0, cola1, colb1); Dialog_SetListitemPreviewRot(playerid, 1, 45.0, 5.0, 2.0, 1.0, cola2, colb2); Dialog_SetListitemPreviewRot(playerid, 2, 45.0, 5.0, 2.0, 1.0, cola3, colb3); ShowPlayerDialog(playerid, 6969, DIALOG_STYLE_PREVMODEL, "Vehicle's list", string, "Spawn", "Close");