StanMarsh Posted May 18, 2013 Share Posted May 18, 2013 Hola, Tengo Un Pequeño Problema Con el script de la Puerta para un team El problema es que no se donde van las coordenadas gracias por su atencion, Aqui les dejo el Script. objeto = createObject ( idObjeto, X, Y, Z, 0, 0, 90 ) x,y,z = getElementPosition (objeto) Zona = createColCircle ( x,y, 5, 5 ) function Funcion (source) playerTeam = getPlayerTeam ( source ) Clann = getTeamFromName ( "G.O.W" ) if ( playerTeam ) == Clann then moveObject ( objeto, 6000, X, Y, Z, 0, 0, 0 ) outputChatBox ( "Bienvenido A La Base G.O.W Tenga Un buen dia.", source, 0, 255, 0, true ) else outputChatBox ( "Tu no eres del clan G.O.W Vete ¡¡", source, 255, 0, 0, true ) end end addEventHandler ( "onColShapeHit", Zona, Funcion ) function Funcion2 () moveObject ( objeto, 6000, X, Y, Z, 0, 0, 0 ) end addEventHandler ( "onColShapeLeave", Zona, Funcion2 ) Link to comment
StanMarsh Posted May 18, 2013 Author Share Posted May 18, 2013 Donde pusiste "X, Y, Z". Ah gracias Link to comment
Recommended Posts