ORMtnMan Posted March 21, 2015 Share Posted March 21, 2015 All, I am working on my mod which adds new guns and ammos to the PZ world, I am working on a distributions script to give a chance for spare empty magazines to show up, however I don't want them showing up if the reload difficulty is set on easy... I have tried a couple of things testing it out on an item spawning script to no avail... does someone have an idea what that scrip would be? Much thanks in advance! Link to comment Share on other sites More sharing options...
ORMtnMan Posted March 22, 2015 Author Share Posted March 22, 2015 Well... after much trial and error I finally figured it out... Add this line: local diff = ReloadManager[1]:getDifficulty(); Then create and if/then as follows: if diff == 2 then There you go, in case anyone else was curious. WolfeClaw 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now