Jump to content

Group


Recommended Posts

un ejemplo, son numeros aleatorios tu editalo a tu gusto si no entiendes algo dime:

puerta = createObject ( 971, 1082.69921875, 1302.8994140625, 13.39999961853, 0, 0, 0 ) 
col = createColRectangle ( -3125.88,1105.99, 5, 5 ) 
  
function mover (source) 
if ( getElementData ( source, "gang" ) == "Clan" ) then -- Clan el nombre del group 
        moveObject ( puerta, 6000, 1074.69921875, 1302.8994140625, 13.39999961853, 0, 0, 0 ) 
    outputChatBox ( "Hola", source, 0, 255, 0, true ) 
    else 
    outputChatBox ( "No tienes derecho de entrar ya que no perteneces a este Clan.", source, 255, 0, 0, true ) 
end 
end 
addEventHandler ( "onColShapeHit", col, mover ) 
  

Link to comment
  • Recently Browsing   0 members

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