Posted: Wed Jan 20, 2021 4:43 am Post subject: Condition is ignored
Hi experts!
Im trying to set this condition up, but i must be missing something, because the condition is ignored, and the value is being written regardless:
Code:
local addr = getAddress"[VehicleMainPtr]+122C"
if addr > 1 then
writeFloat(addr, 3000)
end
I suspect the script is assuming 1 as integer or something, what am i doing wrong here?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum