Hey guys,
I created a gate but it's not movin'
Here's my script
Server:
gate = createObject(985,-1698.5302734375, 1392.7216796875, 7.1786022186279, 0,0,130.67932128906 )
colRect = createColRectangle(-1704.3125,1393.1953125,5,5)
addEventHandler("onColShapeHit",colRect,
function(thePlayer,matchingDimension)
if getElementType(thePlayer) == "Player" || "Vehicle" then
outputChatBox("You Entered colshape",getRootElement(),255,255,0)
movegate = moveObject(gate , 3000 ,-1704.1123046875, 1398.6796875, 8.4775257110596 ,0,0,130.67932128906)
end
end)
Please Help!!!