Jump to content

que esta mal con el createWater


iFoReX

Recommended Posts

como dice el titulo e creado un create water para una piscina xD 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 ) 

Link to comment
como dice el titulo e creado un create water para una piscina xD 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...

Link to comment
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...

Link to comment
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 

Link to comment
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 ??

Link to comment
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..

Link to comment

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!

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...