eldelahoz Posted January 5, 2013 Posted January 5, 2013 Hola lo que pasa es que estaba viendo es te scripting lo use y no me funciona y como puedo hacer para que solamente le abra la puerta automáticamente a los del clan theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) x,y,z = getElemntPosition (theObject) Zona = createColRectangle ( x,y, 10, 10) function funcion () moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) end addEventHandler ( "onColShapeHit", Zona, funcion ) function funcion2 () moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) end addEventHandler ( "onColShapeLeave", Zona, funcion2 ) ¡Saludos!
Alexs Posted January 5, 2013 Posted January 5, 2013 Depende de como manejes los clanes. Developer @ MYVAL
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Depende de como manejes los clanes. ok pero cual funcion uso y por que no me baja la puerta?
Alexs Posted January 5, 2013 Posted January 5, 2013 x,y,z = getElemntPosition (theObject) Eso no existe y no te puedo decir que función usar si no se como manejas los clanes. Developer @ MYVAL
Castillo Posted January 5, 2013 Posted January 5, 2013 Estas usando mi sistema de gangs? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Estas usando mi sistema de gangs? no ce que es eso
Castillo Posted January 5, 2013 Posted January 5, 2013 Explica lo siguiente: A que te referis con clan. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
NodZen Posted January 5, 2013 Posted January 5, 2013 Quieres que solo se abra para un team o clan? Ademas està mal echo ese script ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Alexs Posted January 5, 2013 Posted January 5, 2013 Disculpa @NOD pero creo que es poco productivo que le digas 'ese script esta mal echo' sin decirle que hizo mal. Developer @ MYVAL
NodZen Posted January 5, 2013 Posted January 5, 2013 Disculpa @NOD pero creo que es poco productivo que le digas 'ese script esta mal echo' sin decirle que hizo mal. Ya le dijiste que estaba mal x,y,z = getElemntPosition (theObject) ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
eldelahoz Posted January 5, 2013 Author Posted January 5, 2013 Miren ya lo e cambiado pero sigue sin funcionar theObject = createObject ( 980, 439.10000610352, 945.5, 3.9000000953674) x,y,z = getElementPosition (theObject) Zona = createColRectangle ( x,y, 10, 10) function funcion () if z == 3.9000000953674 then moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, -1.9000000953674 ) elseif z == -1.9000000953674 then moveObject ( theObject, 10000, 430.29998779297, 937.29998779297, 3.9000000953674 ) end end addEventHandler ( "onColShapeHit", Zona, funcion ) Arreglen lo o diganme que esta mal por favor
Moderators Cuervo_fi Posted January 6, 2013 Moderators Posted January 6, 2013 Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros.. Discord: cuervo_fi#9549
eldelahoz Posted January 6, 2013 Author Posted January 6, 2013 Sí me agregas a Skype te ayudo con eso, pero tendrás que explicar como manejas los clanes, porque puede ser por team, acl y setElementData entre otros.. Ok dime tu skype
Moderators Cuervo_fi Posted January 6, 2013 Moderators Posted January 6, 2013 ._. esta en mi descripción 'cuervo-f.i.' Discord: cuervo_fi#9549
eldelahoz Posted January 7, 2013 Author Posted January 7, 2013 ._. esta en mi descripción 'cuervo-f.i.' ya te agrege
Recommended Posts