Which is the better method?
#3

I would recommend method 1. Create areas around the dumpsters (so they are dynamic)

Arent the dynamic area callbacks called when you're in a car aswell?
If not, do what jlalt said - check under "OnPlayerStateChange" to ensure the area is / isn't what you want.

Alternatively you could check whenever the cars(dumpsters) stream in for the player, and then proceed with the code. No sure what you want to do with the checks btw.

This way you do not need a timer. Personally I don't like having timers for these types of things.
Reply


Messages In This Thread
Which is the better method? - by m4karow - 11.08.2018, 16:06
Re: Which is the better method? - by Dennis12 - 11.08.2018, 16:12
Re: Which is the better method? - by denNorske - 11.08.2018, 16:26
Re: Which is the better method? - by m4karow - 11.08.2018, 16:35
Re: Which is the better method? - by iLearner - 11.08.2018, 17:29
Re: Which is the better method? - by Pottus - 11.08.2018, 17:31
Re: Which is the better method? - by NaS - 11.08.2018, 17:35
Re: Which is the better method? - by m4karow - 11.08.2018, 17:45

Forum Jump:


Users browsing this thread: 2 Guest(s)