objeto = createObject ( 971, 1082.69921875, 1302.8994140625, 13.39999961853, 0, 0, 0 )
x,y,z = getElementPosition (objeto)
Zona = createColCircle ( x,y, 5, 5 )
function Funcion (source)
if ( getElementData ( source, "group_system" ) == "DCChile" ) then
moveObject ( objeto, 6000, 1074.69921875, 1302.8994140625, 13.39999961853, 0, 0, 0 )
outputChatBox ( "Bienvenido", source, 0, 255, 0, true )
else
outputChatBox ( "Tu no eres del clan!", source, 255, 0, 0, true )
end
end
addEventHandler ( "onColShapeHit", Zona, Funcion )
function Funcion2 ()
moveObject ( objeto, 6000, 1082.69921875, 1302.8994140625, 13.39999961853, 0, 0, 0 )
outputChatBox ( "Abandonando Base!", source, 0, 255, 0, true )
end
addEventHandler ( "onColShapeLeave", Zona, Funcion2 )
PD: Estoy aprendiendo este tipo de lenguaje así que si vez algún me lo dices