14.10.2017, 21:04
(
Последний раз редактировалось iAmir; 14.10.2017 в 22:19.
)
New update , added 2 more little function as you asked for in this thread :
PHP код:
stock iMenu_SetDefaultPreview(playerid , im_preview_model = -1 , Float:im_rx = 0.0 , Float:im_ry = 0.0 , Float:im_rz = 0.0 , Float:im_zoom = 1.0 , previewbg = 255 , vehcol1=-1 , vehcol2=-1)
// to set default preview model before selecting any items
// playerid - ID of player
// im_preview_model - ID of object for showing in the box
// Float:im_rx - Rot X if this item uses preview model
// Float:im_ry - Rot Y if this item uses preview model
// Float:im_rz - Rot Z if this item uses preview model
// Float:im_zoom - Zoom if this item uses preview model
// previewbg - Info in Tutorials of Colors
// vehcol1 - Info in Tutorials of Colors
// vehcol2 - Info in Tutorials of Colors
PHP код:
stock iMenu_RemoveItem(playerid , im_item_number)
// removes a specific item
// playerid - ID of player
// im_item_number - Item Number