LooooP Posted June 12, 2010 Share Posted June 12, 2010 Well, I'm making a map(race), and I want to raise the water/sea level. How Can I do it? My Meta: - <meta> <info gamemodes="race" type="map" name="[DM] LooooP v3 - Fuck The Gravity" author="LooooP" version="1.0.0" description="Enjoy my new map :D" /> <map src="[DM]LooooP v3 - Fuck The Gravity.map" dimension="0" /> <script src="Cores.lua" type="client" /> - <settings> <setting name="#skins" value="[ "random" ]" /> <setting name="#maxplayers" value="[ 32 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> <setting name="#ghostmode" value="[ "false" ]" /> <setting name="#time" value="0:0" /> <setting name="#vehicleweapons" value="[ "true" ]" /> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#weather" value="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#waveheight" value="[ 1 ]" /> <setting name="#respawntime" value="[ 5 ]" /> <setting name="#locked_time" value="[ true ]" /> <setting name="#duration" value="[ 600 ]" /> <setting name="#respawn" value="[ "none" ]" /> </settings> </meta> and I have a lua file (Cores.lua), I wrote it on my lua file: setSkyGradient(255, 0, 0, 0, 0, 0) setWaterColor(238, 18, 137) Can I make a script into my lua file for raise the sea/water level? How is it? Link to comment
Callum Posted June 12, 2010 Share Posted June 12, 2010 Use https://wiki.multitheftauto.com/wiki/SetWaterLevel Link to comment
50p Posted June 12, 2010 Share Posted June 12, 2010 Add setWaterLevel to your script... setWaterLevel( LEVEL ); -- replace LEVEL with your level Link to comment
LooooP Posted June 12, 2010 Author Share Posted June 12, 2010 Oh, thank you Example: setWaterLevel(30) /\ Is it right? Link to comment
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