My misstake.
I just tried
local allowedGroups = { ["THE_KING"]=true }
col1 = createColSphere (2838.8000488281, -1653.3000488281, 10.800000190735, 10 )
gate1 = createObject (971, 2846.6999511719,-1657.1999511719,13.300000190735,0,359.5,76)
function openGate1 ( player )
if ( allowedGroups [ getElementData ( player, "Group" ) ] ) then
moveObject (gate1, 3000,2846.6999511719,-1657.1999511719,3.5999999046326 )
end
end
addEventHandler("onColShapeHit", col1, openGate1)
function closeGate1()
moveObject(gate1, 3000,2846.6999511719,-1657.1999511719,13.300000190735)
end
addEventHandler("onColShapeLeave", col1, closeGate1)
on my local, with a group resource running. created the gang THE_KING and the gate opens properly except the fact that it's placed in middle of a street.
easiest would be to connect to their irc, join #scripting and having a chat with them, if you ask nicely.