eldelahoz Posted January 6, 2013 Share Posted January 6, 2013 Hola lo que pasa es que segui este tuto de como bajar la puerta con un solo comando pero no se por que no meda y tengo el scrip al pie de la letra object = createObject ( 980, 773.5, 836.79998779297, 7.6999998092651, 0, 0, -90 ) addCommandHandler ("puerta", function (source) if getElementData ( source, "Puerta" ) == "ON" then moveObject ( object, 5000, 773.5, 836.79998779297, 0 ) setElementData ( source, "Puerta", "OFF" ) elseif getElementData ( source, "Puerta" ) == "OFF" then moveObject ( object, 5000, 773.5, 836.79998779297, 7.6999998092651 ) setElementData ( source, "Puerta", "ON" ) end end ) Link to comment
Castillo Posted January 6, 2013 Share Posted January 6, 2013 Algun error en el debugscript? pusiste el script como client o server side? Link to comment
iPrestege Posted January 6, 2013 Share Posted January 6, 2013 Se puede usar en el client-side o server-side . Link to comment
Castillo Posted January 6, 2013 Share Posted January 6, 2013 No, porque addCommandHandler no tiene argumento de jugador en el client side. Link to comment
iPrestege Posted January 6, 2013 Share Posted January 6, 2013 Me olvidé de esto me siento. Link to comment
eldelahoz Posted January 6, 2013 Author Share Posted January 6, 2013 Ya lo cambia a client y ya me sirvio gracias Link to comment
Recommended Posts