objeto1 = createObject ( 980, 1067.3994140625, 1362, 12.300000190735, 0, 0, 0 )
function Funcion1 ( source )
if ( getElementData ( source, "gang" ) == "Clan" ) then
moveObject ( objeto1, 2000, 1067.3994140625, 1362, 18, 0, 0, 0 )
outputChatBox ( "Bienvenido", source, 0, 255, 0, true )
else
outputChatBox ( "Tu no eres de Clan!", source, 255, 0, 0, true )
end
end
addCommandHandler ( "abrir", Funcion1 )
function Funcion2 ( )
moveObject ( objeto1, 2000, 1067.3994140625, 1362, 12.300000190735, 0, 0, 0 )
outputChatBox ( "Abandonando Base!", source, 0, 255, 0, true )
end
addCommandHandler ( "abrir", Funcion2 )