Jump to content

Una Pregunta Facil.


Recommended Posts

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
  • Recently Browsing   0 members

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