|fs.Position = 0x00; //Offset for Current money|
fs.WriteByte(Convert.ToByte(1000)); //Write the money ($1000) into the offset
This can't be the right way to do it because if the value is between 0 - 255 the game screen goes to black with a unhandled exeption after the "Vice city" splash screen before the main menu, if it's over 255 then my application throws an overflow error
Also, I really wanted to be able to grab an amount entered into a textbox and write that amount into the offset, does anyone know how?
Edited by The_Sorrow, 18 May 2013 - 09:24 PM.