Originally posted by TehK9
bool nameofthebool;//ontop of the button (using hue)
if(hue == false)//inside your button {}
{
//your mods here (ON)
hue = true;
}
else
{
//your mods here (off)
hue = false;
}
//every time u make a toggle u must make a new bool
or you could compare the memory. example
if (PS3.Extension.ReadByte(UAVAddress) == 0x00)
{ PS3.SetMemory(UAVAddress, new byte[] { 0x01 }); }
else
{ PS3.SetMemory(UAVAddress, new byte[] { 0x00 }); }