Jump to content

create water


BennyBunny

Recommended Posts

I have try to crate a water area but when i add this script:

function waterfun( ) 
   water = createWater ( -2172, 2328, 15, -2146, 2328, 15, -2146, 2307, 15, -2169, 2307, 15 ) 
-- setWaterLevel ( 10 ) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), waterfun) 

and is see nothing :/

Then i have try set the water level but then was the water all over gta sa.

I wanna add a new water area and not the full map under water.

In the meta file have i add client 8)

In the wiki is really no help and the example script there is really not helpful :/

So how can i add the water there???? And can someone add some better example for creatwater in wiki!!

Link to comment

ok now i have understand how that works...

function thaResourceStarting( ) 
WasserBla = createWater ( 1867, -1444, 10, 1968, -1443, 10, 1867, -1372, 10, 1968, -1370, 10 ) 
setWaterLevel (WasserBla,20 ) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), thaResourceStarting) 

that is a good info script for wiki lol

Link to comment

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...