That code you posted makes no sense, did you intend:
PHP Code:
test[id] = (test[id] > 0.0 ? -1.0 : 1.0)
floatVar = (test[id] > 0.0 ? -1.0 : 1.0)
This compiles fine:
PHP Code:
new Float:test[33], Float:s, id
s = test[id] - (test[id] > 0.0 ? -1.0 : 1.0)
__________________