Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
Not that i know of.
But you could implement your own function using GetPlayerTime quite easily. Also if you set the weather you would need to take that into account.
You would need to look how dark it is (once per in-game hour) and make your own luminosity rating, it's doable.
IIRC the darkness only changes on the hour. (may be wrong about that)
Posts: 22
Threads: 5
Joined: Aug 2010
Reputation:
0
Hi,
Tanks for your reply.
In fact, I want to detect if a player is in the shadow (of a bridge, in the subway, ...). I don't want to know the global luminosity of a weather.
I can develop workaround (specify dark zones manually), but I try to find a better way.
++
Posts: 232
Threads: 16
Joined: Apr 2010
Reputation:
0
There are no functions to detect it.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
You mean when the player icon on the radar turns blue? Not possible.
Posts: 15
Threads: 0
Joined: Nov 2011
Reputation:
0
+Using Shadow enhancing mods like enb or colormod on client side will have those players be hidden not only in the specified zones, but also in dark shadows outside.
This could result in dumb modders wondering why the things you want to do with hidden players don't work when they are actually hidden.
So they will spam you with bug-reports at 4am in the morning, and you'll wake up and get out of the bed to check the messages, stumble over your shoes and fall on the edge of your desk with your head and die.
So... better not implement it :3
Posts: 1,177
Threads: 27
Joined: Sep 2011
Reputation:
0
Weather 2 allows sirens at any day time. I'm not sure about car lights but it should probably allow them.