Problems with R/C 6ch transmission

So, if i have understand you well, for use mode variable, the gMode is a variable that I must declare before setup or is something that I can use becouse the library have it.
And when I use if stament I understand that I am allowing to read and copy, but when I am out the flags from rc control will change but the arduino don´t go becouse gMode != RC_CONTROL but Will I need to change gMode to oder value in the code,not? which value/state is this??