Jump to content

¿Como ago esto?


Recommended Posts

Posted

Usa esta funcion al usar el comando:

isElementWithinColShape 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

haci?

  
marker = createMarker ( x, y,  z,  "checkpoint", 4.0) 
  
function puerta51 () 
        local detection = isElementWithinColShape ( thePlayer, marker ) 
    if detection then 
        moveObject ( puerta1, 4000, 213.30000305176, 1875.3000488281, 10.60000038147) 
    moveObject ( puerta2, 5000, 214, 1876.5, 7.8000001907349) 
    moveObject ( puerta3, 5000, 226.39999389648, 1870, 12.60000038147) 
    end 
end 
  
addCommandHandler ("prueva", puerta51) 

Posted

Te olvidaste de definir: "thePlayer".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

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