Hi,
I was making a "Withdraw" button so if you click on it it will display That you have to put in a number lower then 10000 to Withdraw.
This is what the Case looks like :
Problem is i get an error code at Witch is : I am not sure how to fix it but this is needed 
Any help? Thanks!
                
            I was making a "Withdraw" button so if you click on it it will display That you have to put in a number lower then 10000 to Withdraw.
This is what the Case looks like :
<?php 
case 166: // Withdraw
                        {
                            int Withdraw = int.Parse(BTT.Text);
                            if (BTT.Text.Contains("-"))
                            {
                                InSim.Send_MTC_MessageToConnection("^6»^7 Witdraw Error. Please don't use minus values!", BTC.UCID, 0);
                            }
                            if (Withdraw > 10001)
                            {
                                InSim.Send_MTC_MessageToConnection("^6»^7 Maximum Withdraw of ^2$10000^7!", BTC.UCID, 0);
                            }
                            else
                            {
                                if (Connections[GetConnIdx(BTC.UCID)].TotalBankCash > Withdraw)
                                {
                                    Connections[GetConnIdx(BTC.UCID)].TotalBankCash -= Withdraw;
                                    Connections[GetConnIdx(BTC.UCID)].Cash += Withdraw;
                                    InSim.Send_MTC_MessageToConnection("^6»^7 You have succesfully withdrawn ^2$" + Withdraw + " ^7from the bank.", BTC.UCID, 0);
                                    InSim.Send_BTN_CreateButton("^7Your bank balance is ^2$" + Connections[GetConnIdx(BTC.UCID)].TotalBankCash, Flags.ButtonStyles.ISB_LEFT, 4, 40, 65, 54, 163, BTC.UCID, 2, false);
                                }
                                else
                                {
                                    InSim.Send_MTC_MessageToConnection("^6»^7 You don't have enough cash to complete the transaction.", BTC.UCID, 0);
                                }
                            }
                        }
                        break;
?>
<?php 
int Withdraw = int.Parse(BTT.Text);
                            if (BTT.Text.Contains("-"))
?>
<?php 
Error 1 The name 'BTT' does not exist in the current context
?>

Any help? Thanks!