Jump to content

setWaterLevel issue


Rhino

Recommended Posts

Posted

Hi, guys. It seems I have a problem with water again.

So I used this line to raise water to the height I need - 302, and it only raised a part of water.

setWaterLevel (302) 

The other part stays on the default height. Has anything changed since 1.1 came out?

Here are screenshots of what happens:

57ed4e152439358.jpgb56d98152440193.jpg

This used to work fine in 1.0.5... :(

Posted

If you don't mind you should probably post whole script so we can see the errors and stuff. OR is it only that line?

It was been always like that and always will be (will it be like that?)

Also i believe theres a server side script to make to Change all the levels of water at same time, if you get what i mean.

Posted
If you don't mind you should probably post whole script so we can see the errors and stuff. OR is it only that line?
It was been always like that and always will be (will it be like that?)

Also i believe theres a server side script to make to Change all the levels of water at same time, if you get what i mean.

There's no server side script for that, scripts doesn't works out of MTA bounds..

Posted
Hi, guys. It seems I have a problem with water again.

So I used this line to raise water to the height I need - 302, and it only raised a part of water.

setWaterLevel (302) 

The other part stays on the default height. Has anything changed since 1.1 came out?

Here are screenshots of what happens:

57ed4e152439358.jpgb56d98152440193.jpg

This used to work fine in 1.0.5... :(

Report this in bug tracker

Posted

Eh, I wouldn't call it a bug. GTA:SA only has water tiles around where the water should be(i.e., lakes, rivers and blah blah), not the whole map (that would be a disaster for singleplayer :D).

Simple solution:

  
--create a water tile that covers the entire SA area 
local water = createWater(-3000, -3000, 0, 3000, -3000, 0, -3000, 3000, 0, 3000, 3000, 0) 
--set the default water's level to -100 or less 
setWaterLevel(-150) 
--set the water level of the tile you just created to your desired height 
setWaterLevel(water, 302) 

  • MTA Team
Posted

I doubt he means that, I think he is talking about the titles outside the GTA world, you must have seen it on DKR (flood friday) that THAT part of the map is not flooded up ;)

Posted
I doubt he means that, I think he is talking about the titles outside the GTA world, you must have seen it on DKR (flood friday) that THAT part of the map is not flooded up ;)

True.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...