quindo Posted July 5, 2010 Share Posted July 5, 2010 Hey im new in mapping and scripting, im trying to make a race map with added water... i have 3 files: Jumps-DD-by-Quindo.map meta.xml jumpsded.lua jumpsded.lua addEventHandler('onClientResourceStart', resourceRoot, function() createWater ( 3397, -1991, 578, 3397, -1944, 578, 3347, -1992, 578, 3347, 1933, 578 ) end ) meta.xml <meta> <info gamemodes="race" type="map" version="1.0.0" /> <map src="Jumps-DD-by-Quindo.map" dimension="0" /> <settings> <setting name="#skins" value='[ "cj" ]' /> <setting name="#maxplayers" value="[ 128 ]" /> <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="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <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> what to do to test it? PS: Im totally new at that... Link to comment
Burger_Man Posted July 5, 2010 Share Posted July 5, 2010 In the MTA main menu is Host Server button, press it and it gives you a box where you can type in Server's name and stuff. In the Right corner is some choose resources - button or something like that i think press that, and it gives you list of resources you have. then in the right, find the resources (script and map) click the resource and click left arrow in the middle of the GUI box it looks like << do that same with all your resources you want there then press host game and it sets up a server where you can test your map and scripts. Hope that helps --- Burger Link to comment
quindo Posted July 6, 2010 Author Share Posted July 6, 2010 I tried to do it, and i dont have water on the place where i created it, maybe something wrong with script? Link to comment
Faw[Ful] Posted July 6, 2010 Share Posted July 6, 2010 You cant creat water outside the gta sa map Link to comment
quindo Posted July 6, 2010 Author Share Posted July 6, 2010 I having a one more error, i have a meta.xml code: <meta> <info gamemodes="race" type="map" version="1.0.0" /> <script src="woda.lua" type="client" /> <map src="Water park.map" dimension="0" /> <settings> <setting name="#skins" value='[ "cj" ]' /> <setting name="#maxplayers" value="[ 128 ]" /> <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="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <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 when i try to test map here comes that: please help me! Link to comment
Orange Posted July 7, 2010 Share Posted July 7, 2010 *Usuń spacje z nazwy pliku .map i popraw w pliku meta.xml* He knows what I said Link to comment
[DKR]Kenny Posted July 8, 2010 Share Posted July 8, 2010 I having a one more error, i have a meta.xml code: <meta> <info gamemodes="race" type="map" version="1.0.0" /> <script src="woda.lua" type="client" /> <map src="Water park.map" dimension="0" /> <settings> <setting name="#skins" value='[ "cj" ]' /> <setting name="#maxplayers" value="[ 128 ]" /> <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="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <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 when i try to test map here comes that: please help me! This also could be because you named the script wrong. Did you call your resource something like "Wadda Luada"? With space? If yes, thats the problem, no spaces allowed Rename for something like WaddaLuada Link to comment
quindo Posted July 8, 2010 Author Share Posted July 8, 2010 Dzieki ci wielkie Orange! He knows what I said Link to comment
quindo Posted July 8, 2010 Author Share Posted July 8, 2010 Qrwa, to zaczyna mnie wkurzac. I have those files now: Water-park.map woda.lua meta.xml meta.xml: <meta> <info gamemodes="race" type="map" version="1.0.0" /> <script src="woda.lua" type="client" /> <map src="Water-park.map" dimension="0" /> <settings> <setting name="#skins" value='[ "cj" ]' /> <setting name="#maxplayers" value="[ 128 ]" /> <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="[ 0 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <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> woda.lua: addEventHandler('onClientResourceStart', resourceRoot, function() createWater ( 1969, -1443, 12, 1969, -1358, 12, 1865, -1443, 12, 1865, -1358, 12 ) end ) i have no water in place where i created it.... 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