-
Posts
1885 -
Joined
-
Last visited
Svarog's Achievements
Single Status Update
-
Hi Svarog!
I've done a few items, and i can spawn on my inventory and they work correctly.
I only need the last step:
I dont know how can i configure that they spawn of natural form.
In mymod/lua/server/items i have this archive: MymodDistribution
And, for example, for the Amstel Beer i have this code:
require 'Items/SuburbsDistributions'
/*************Cerveza*************/
table.insert(SuburbsDistributions["all"]["fridge"].items, "Cervezas.Amstel");
table.insert(SuburbsDistributions["all"]["fridge"].items, 3);
table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cervezas.Amstel");
table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 3);
table.insert(SuburbsDistributions["bar"]["counter"].items, "Cervezas.Amstel");
table.insert(SuburbsDistributions["bar"]["counter"].items, 3);
table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cervezas.Amstel");
table.insert(SuburbsDistributions["bar"]["fridge"].items, 3);
table.insert(SuburbsDistributions["kitchen"]["counter"].items, "Cervezas.Amstel");
table.insert(SuburbsDistributions["kitchen"]["counter"].items, 3);can you help me please? i really want to do my first mod!
- Show previous comments 2 more
-
Ok, i really desperate.
I only try with one object, and the result is always the same. I spawn in the same place and tho mod didnt work.
Please, can you check it and say to me something?
I dont know what else to try :/
Seroiously, i am desperate