andrex123 Posted July 18, 2012 Posted July 18, 2012 function puerta51 () 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 function comensar () setTimer ( outputChatBox, 50, 1, "La puerta se abrira dentro de 1 minuto", getRootElement(), 0, 0, 0, false) setTimer ( outputChatBox, 50, 1, "1 Minuto Restante", getRootElement(), 255, 0, 0, true) setTimer ( outputChatBox, 30000, 1, "30 Segundos Restantes", getRootElement(), 255, 0, 0, true) setTimer ( outputChatBox, 65000, 1, "5 Segundos Restantes", getRootElement(), 0, 255, 0, true) setTimer ( puerta51, 65000, 1 ) end addCommandHandler ("comensar",comensar) La idea, es que cuando ponga el comando /comensar , me diga que se abrira la puerta etc, me dise los segundos restantes, pero no me funciona el : setTimer ( puerta51, 65000, 1 ) no funciona, no ocurre lo esperado (que se muevan los objetos): function puerta51 () 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 Que esta fallando ¿?
Castillo Posted July 19, 2012 Posted July 19, 2012 Algun error en el debugscript? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted July 19, 2012 Posted July 19, 2012 Ah, bueno... Pues el debugscript es para saber si el script tiene errores, pone /debugscript 3 en el chat. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
andrex123 Posted July 22, 2012 Author Posted July 22, 2012 Bueno, nose que paso, pero de repente empeso a funcionar , igual, Gracias
Castillo Posted July 22, 2012 Posted July 22, 2012 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts