is there a problem with this function:
function h2i takes handle h returns integer
return h
return 0
endfunction
i have this function in my map, and everytime i save it an error always occur. the error is "invalid type for specified operator". what does it mean? then the "return 0" is highlighted. is there a problem with two returns? btw, i'm using 1.24b patch. pls help. thanks.
function h2i takes handle h returns integer
return h
return 0
endfunction
i have this function in my map, and everytime i save it an error always occur. the error is "invalid type for specified operator". what does it mean? then the "return 0" is highlighted. is there a problem with two returns? btw, i'm using 1.24b patch. pls help. thanks.