I believe this should work writeInteger('ModelTarget', tonumber(readString("ModelSource", 7, true))), though I wouldn't expect a 4 character Unicode string to be 7 bytes since typically each unicode character is 2 bytes... _________________
I believe this should work writeInteger('ModelTarget', tonumber(readString("ModelSource", 7, true))), though I wouldn't expect a 4 character Unicode string to be 7 bytes since typically each unicode character is 2 bytes...
Thanks this works if I put pointers instead of the "Model" declared.
And here is an example which panraven gave me that works very good!
Thanks to both you !
Code:
function FixBadStuff(sender)
local num = readString("[[Model+8]+10]+1A", 7, true)
num = num and num:match"^%d+"
num = num and tonumber(num)
if num then
WriteInteger("[[[[Model]+1348]+18]+18]+A90C", num)
WriteInteger("[[[[Model]+1348]+18]+18]+A88C", num)
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