Search the Community
Showing results for tags 'water'.
-
i have a problem il water level wan i use sea Water Level not all the water included the water in the corners of the map
-
- water level
- setwaterlevel
-
(and 4 more)
Tagged with:
-
Hello Everyone! I have the following code: local thePlayer = localPlayer local x, y, z = getElementPosition(thePlayer) local rot = getPedRotation(thePlayer) local newX, newY = getPointFromDistanceRotation(x, y, 3, rot+180) So, this code calculates the coordinates (x and y) 3 meters in front of the player's position. Now, I want to check if the highest point at these coordinates is water (true) or not (false). This is to ensure that the action is only performed if there is water in front of the player. How can I achieve this?
-
Today i proudly present to you: OSWS (OpenSourceWaterShader) for MTA: San Andreas! What is this? This resource is a project that i started long ago in order to finally (!) get a decent water shader working for MTA that benefits everybody. The main goal is to get an amazing shader where everyone should contribute to make it the very best looking water that we can get for this game engine. The code is pretty well optimized and the performance should be good for everyone, but a shader model 3.0 graphics card is REQUIRED for this resource! The effect is applied to the water texture itself. It is NOT a post-processing water shader. This means that we do not have to deal with any issues that come with post-processing, for example smoke and any other effect that is rendering behind the drawn water. The downside of this method is the fact that we can not (as far as i know) add refraction to the stuff that is below the water surface. But maybe some genius knows a way to make it happen, or fix the rendering issues of post-processed water. Stuff like that is the main reason why i decided to make this resource a community project, improvements for everyone! Features: Water reflections, surface refraction: Shore fading, shore foam: Dynamic_sky support with sun + moon specular lighting: DOWNLOAD: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18239 DOWNLOAD DYNAMIC_SKY RESOURCE BY @Ren_712: https://community.multitheftauto.com/index.php?p=resources&s=details&id=6828
- 10 replies
-
- 19
-
-
-
Hey, it seems to be impossible to create water in a different dimension than 0? Is there a way to move it to another dimension? On my server, dimension 0 is not used at all, so I cannot create water because of that as it seems. Bonsai
-
hello guys, i'm making my own gamemode but i have a problem, when the map starts the player fall in the water because the map download isn't finished. how can i checks if the map download finished? What functions should i use? Greetings.