iFoReX Posted April 21, 2012 Posted April 21, 2012 como dice el titulo e creado un create water para una piscina pero el agua no aparece D: y en el debugging no me aparece ningun error water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 como dice el titulo e creado un create water para una piscina pero el agua no aparece D: y en el debugging no me aparece ningun error water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) lo dejaste en server side? ahh, es asi quiza: water = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) setWaterLevel ( 10 ) Quiza estabas creando agua sin tamaño... Developer @ MYVAL
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 no se llena la piscina solo el mar sube de nivel elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 no se llena la piscina solo el mar sube de nivel waterp = createWater( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) setWaterLevel (waterp,10) quiza si ponemos la variable... Developer @ MYVAL
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 me da error en el 1 argumento de setWaterLevel elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 me da error en el 1 argumento de setWaterLevel intentalo asi setWaterLevel ( [waterp,] 10 ) Developer @ MYVAL
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 unexpected symbol near '[' elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 unexpected symbol near '[' es el ejemplo de la wiki: bool setWaterLevel ( [water theWater,] float level ) ahora podes intentar asi: setWaterLevel ( 10, waterp ) Aunq no creo Developer @ MYVAL
Castillo Posted April 21, 2012 Posted April 21, 2012 waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 Solid me aparece el mensaje de else "el agua no se creo " elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 Solid me aparece el mensaje de else "el agua no se creo " lo tienes en server side? Developer @ MYVAL
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 Sii elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 function piscina() waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end addEventHandler("onResourceStart", getRootElement(), piscina) Serviria ?? elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Alexs Posted April 21, 2012 Posted April 21, 2012 function piscina() waterp = createWater ( 174.3408203125, -1755.365234375, 4.5, 174.3447265625, -1750.3193359375, 4.5, 163.822265625, -1755.3642578125, 4.5, 163.822265625, -1750.3271484375, 4.5 ) if ( waterp ) then setWaterLevel ( waterp, 10 ) else outputChatBox ( "El agua no se creo!" ) end addEventHandler("onResourceStart", getRootElement(), piscina) Serviria ?? Pruebalo y dinos.. Developer @ MYVAL
iFoReX Posted April 21, 2012 Author Posted April 21, 2012 "el agua no se creo!" elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Renkon Posted April 22, 2012 Posted April 22, 2012 RECUERDA DEBES ORDENARLO ASI: x1, y1, z1: position of bottom left (south-west) corner. x2, y2, z2: position of bottom right (south-east) corner. x3, y3, z3: position of top left (north-west) corner. x4, y4, z4: position of top right (north-east) corner. SI NO NO SECREA!
iFoReX Posted April 22, 2012 Author Posted April 22, 2012 si man ya lo ordene asi elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Renkon Posted April 22, 2012 Posted April 22, 2012 si no te funciona, ES POR ESO. Porque esta perefcto
Recommended Posts