Jump to content

How to edit water color in map


Recommended Posts

Posted

Omg.

http://en.wikipedia.org/wiki/Punctuation

!

It's very hard to understad you..

If you want to have availability to change water color not from script but from meta.xml - don't ask us to script it for you. Learn scripting.

If you want to change water color from script (it's only one line actually) -> https://wiki.multitheftauto.com/wiki/SetWaterColor

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

I Understand Him,

I Think he is Arabic like me,

and I Know a lot About this Stupid Language they Talk with :)

As Castillo Said :

Go to the Wiki

and Make the .lua File, and Input the Scripts

and Then,

Go to your Meta.xml

Like This :

<meta> 
    <info gamemodes="race" type="map" name="[DM]Happy New 2011 Year" author="MI550" version="2011" description="New Map, For the New Year ;)" /> 
    <map src="race-2011.map" dimension="0" /> 
    <settings> 
        <setting name="#skins" value='[ "cj" ]' /> 
        <setting name="#maxplayers" value="[ 32 ]" /> 
        <setting name="#gamespeed" value="[ 1 ]" /> 
        <setting name="#ghostmode" value='[ "false" ]' /> 
        <setting name="#time" value="12:0" /> 
        <setting name="#vehicleweapons" value='[ "false" ]' /> 
        <setting name="#minplayers" value="[ 0 ]" /> 
        <setting name="#weather" value="[ 9 ]" /> 
        <setting name="#gravity" value="[ 0 ]" /> 
        <setting name="#waveheight" value="[ 0 ]" /> 
        <setting name="#respawntime" value="[ 5 ]" /> 
        <setting name="#locked_time" value="[ false ]" /> 
        <setting name="#duration" value="[ 1800 ]" /> 
        <setting name="#respawn" value='[ "timelimit" ]' /> 
    </settings> 
</meta> 
  

and add this Line :

     
<script src="Your Script File Name.lua" type="client" /> 
  

So the Meta.xml Will be :

  
<meta> 
    [color=#FF0000]<script src="Your Script File Name.lua" type="client" />[/color] 
    <info gamemodes="race" type="map" name="[DM]Happy New 2011 Year" author="MI550" version="2011" description="New Map, For the New Year ;)" /> 
    <map src="race-2011.map" dimension="0" /> 
    <settings> 
        <setting name="#skins" value='[ "cj" ]' /> 
        <setting name="#maxplayers" value="[ 32 ]" /> 
        <setting name="#gamespeed" value="[ 1 ]" /> 
        <setting name="#ghostmode" value='[ "false" ]' /> 
        <setting name="#time" value="12:0" /> 
        <setting name="#vehicleweapons" value='[ "false" ]' /> 
        <setting name="#minplayers" value="[ 0 ]" /> 
        <setting name="#weather" value="[ 9 ]" /> 
        <setting name="#gravity" value="[ 0 ]" /> 
        <setting name="#waveheight" value="[ 0 ]" /> 
        <setting name="#respawntime" value="[ 5 ]" /> 
        <setting name="#locked_time" value="[ false ]" /> 
        <setting name="#duration" value="[ 1800 ]" /> 
        <setting name="#respawn" value='[ "timelimit" ]' /> 
    </settings> 
</meta> 
  

Thanks dzek for bearing my stupid questions as a noob. You helped me become a better programmer.

Now I understand how important it is to help those who SUCK at programming.

  • 4 weeks later...

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