AMARANT Posted January 21, 2014 Posted January 21, 2014 Hello there. How can I check that a player got caught in the rain? I know I can easily check the weather to see if it rains. But I want to do it more accurately so the player could seek shelter from the rain. For example, if you stand under the bridge while raining then my script won't have any effect. Thanks in advance.
Dretax Posted August 9, 2017 Posted August 9, 2017 This is actually interesting. Is rain some sort of a collosion or wut?
_DrXenon Posted August 9, 2017 Posted August 9, 2017 (edited) @Dretax no, rain actually sucks in GTA:SA. I can easily recognize it as long dx lines on your 2D screen, especially when you set the rain level into a great level. Anyway, using processLineOfSight function will allow you to check whether or not you got a bridge above you and if returned true this means that rain can't reach you because the bridge is above not because the function checked if rain can reaxh you or not. Edited August 9, 2017 by SuperCroz
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