@@ -64,6 +64,13 @@ Here you can change some settings for the target zone.
6464
6565` * ` All these values are optional and can be removed if you dont want to use them. But please do not remove the target table.
6666
67+ <Callout type = " info" >
68+ If you are using a model the script will automatically set the size and rotation of the target zone.
69+ So you dont need to set the size and rotation if you are using a model. You can just keep the default values.
70+
71+ In some cases the rotation of the target zone is not correct. In this case you can set the rotation manually.
72+ </Callout >
73+
6774---
6875
6976``` lua
@@ -129,7 +136,7 @@ If you use the ox_inventory, please use the following template to add the tables
129136 close = true ,
130137 description = " Item Description" ,
131138 server = {
132- export = " it-drugs.placeProcessingTable "
139+ export = " it-drugs.placeCraftingTable " ,
133140 },
134141 client = {
135142 image = " item_name.png" ,
@@ -143,13 +150,13 @@ If you use the ox_inventory, please use the following template to add the tables
143150 <Accordion title = " Processin table configuration template" >
144151 ``` lua copy
145152 [' simple_crafting_table' ] = {
153+ label = ' Simple Crafting Table' , -- Label for the table
146154 target = {
147155 size = vector3 (1.0 , 1.0 , 1.0 ),
148156 rotation = 0.0 ,
149157 drawSprite = true ,
150158 interactDistance = 1.5 ,
151159 },
152- label = ' Weed Processing Table' , -- Label for the table
153160 model = ' v_res_tre_table2' , -- Exanples: freeze_it-scripts_empty_table, freeze_it-scripts_weed_table, freeze_it-scripts_coke_table, freeze_it-scripts_meth_table
154161 restricCrafting = {
155162 [' onlyOnePlayer' ] = true , -- Only one player can use the table at a time
0 commit comments