Jump to content

How i can decrease value


Avlis

Recommended Posts

Posted

I have a vlue 100 for example.

i try put -1, i want de value go for 99.

but value add 65535 e go for 65635.

how i descrease value ?

 

obs: i cant edit 100 for 99 direct.

  • Administrators
Posted

If game use unsigned numbers then you can not use negative number.

May be you can use overflow, but look like your 100 is dword and changed value is word. Then it lead to 65535 addition of -1 word. This too many. Then you can not decrease this value.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.