Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Item decay… :(


rrashintoast
 Share

Recommended Posts

Help me, this sucks, I have messed with the

Public Const ITEM_DESPAWN_TIME As Long = 99000000 ' 1:30 seconds

for ages, and its not doing anything different, my items decay after like 2-3min lol…

How do i make them stay on the ground for say an hour or 2? :(

thnx in advance.
Link to comment
Share on other sites

  • 3 years later...
You also have to make sure u add a save and load sub when the server shuts down or is restarted. If u make them stay on the map there is nothing in the code that makes it save them to map so when server is restarted they will be gone. I have this in my source I did something similar for a house system. I can share with you when I get home if u have issues
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
 Share

×
×
  • Create New...