Code: Select all
sub open_door()
var i
dim asd[8]
asd[0] = "0x068D"
asd[1] = "0x068F"
asd[2] = "0x06A5"
asd[3] = "0x06A7"
asd[4] = "0x06AD"
asd[5] = "0x06AF"
asd[6] = "0x0824"
asd[7] = "0x0826"
#for i = 0 to 3
if uo.getDistance(asd[i]) then
uo.usefromground(asd[i])
return
end if
#next
end sub
line 307: Bad operations for this type of variable - ASD
the line 307 is this
Code: Select all
if uo.getDistance(asd[i]) then