Jump to page content
English English  Polish Polish  Dutch Dutch  Russian Russian  German German  Hungarian Hungarian  Norwegian Norwegian  Swedish Swedish  Finnish Finnish  Romanian Romanian  Spanish Spanish  Portuguese Portuguese  Latvian Latvian 
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers






rsswater_level (water_level)

Category:script
Author(s):Dr4x
Downloads:16974
Rate:You need to be logged in to vote
Rating:3.8 (45 Votes)
Description:
This resource allows to change the water level.
when typing /water you will get a GUI window to change the water level. but /water with a given leve (ie. /water 5 ) also works and won't show the GUI.
The change is done smoothly, as in flood resource (thanks to Callum)
The resource is fully configurable.
You can choose if you want to show messages when a flood is coming or leaving.
You can change the speed,
You can disallow negatives values (it's activated by default)
You can select the weather you want while flooding (Storming by default) or put it blank not to change the weather.
You can also select a weather when the flood is stopping or leaving.
You can set the group having the permissions to change water level (Admin by default) but you can put it blank to allow everyone.

To install:
First of all, extract files in server\mods\deathmatch\resources\water_level\

Then, add the resource in the startup list in the mtaserver.conf, add the following line:

<resource src="water_level" startup="1" protected="0" />

I'd like to thanks Callum, for having first script it. I based my work on his, but extended it much as you will see and appreciate.

Enjoy!
http://dr4x.com
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.1.5 2010-03-18 15:54:01 - Allow negatives put to true by default
- Optimized code to prevent server crash
- Fixed a bug on destroyElement not working on Water. (i put the water to z: -500)
- Added the command line /water level so that the GUI isn't showing up
- initialize is now done properly on the resource and not when any resource was started
Download
1.0.1 2010-03-17 11:07:38 Removed a Debug message
Fixed a bug when window appeared for guests while admins can only change value
Download
1.0.0 2010-03-16 18:52:06 First public release Download