Jump to content

Restrict Reload Difficulty


betterthantrav

Recommended Posts

Use setOptionReloadDifficulty(int)

 

Example Code:

AmmoReload = {}

AmmoReload.Hardcore = function() --function
        getCore():setOptionReloadDifficulty(3); --set Reload Difficulty 1 = easy 2 = normal 3 = hardcore.
end
Events.EveryTenMinutes.Add(AmmoReload.Hardcore);--Check every ten minutes.
Link to comment
Share on other sites

14 hours ago, Sky_Orc_Mm said:

Use setOptionReloadDifficulty(int)

 

Example Code:


AmmoReload = {}

AmmoReload.Hardcore = function() --function
        getCore():setOptionReloadDifficulty(3); --set Reload Difficulty 1 = easy 2 = normal 3 = hardcore.
end
Events.EveryTenMinutes.Add(AmmoReload.Hardcore);--Check every ten minutes.

Does this go in serverOptions.ini?
 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...