Also if I change it will the players have to do the same or is it in the server.pbo?
Edit: Actually if its in the dayz_code I can just add it to my custom compiles right?
Haha!! I didn't notice that parsing error thanks. It all works now. But....:D...ONE more issue. When the plant destroys itself after being harvested it makes the sound of a building being destroyed and falls in the ground as you would expect, the problem is if a player is too close to it when...
It didn't work. I may have put it in wrong but here's what I have currently.
hemp.sqf:
_countHemp = count nearestObjects [player, ["fiberplant"], 5];
_Hemp = nearestObjects [player, ["fiberplant"], 5];
if (_countHemp > 0) then {
if !(harvesting) then {
harvesting = true;
cutText...
Also it would help more if you joined my Teamspeak so I can talk more directly to you. Our TS is ts3.xenagosgaming.com. Sorry if I'm not supposed to post ip's.
The reason for that is that to actually harvest the hemp you have to right click harvest on the machete. I have a another script that can add actions to right click on for whatever items I choose. Basically it adds the text "Harvest Hemp" to the machete and it then activates a script which is...
THANK YOU SOOOO MUCH!!! xD That fixed the issue and the plants are no longer indestructible so people can't get infinite amounts.. But... there is a new issue :D
When a player right clicks on the Harvest Hemp option on the machete, the right click menu remains there and clickable to gather as...
Hello I'm new to this, so I hope I do this right.
I run a server with a hemp field so you can harvest the weed and then sell it at a trader. The only problem is that the weed plants (fiberplants) don't get destroyed once someone harvests them. Therefor a player can infinetly harvest from one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.