look this is atm
// Alter this line to adjust busted timer
//
if (Conn.BustedTimer == 4)
{
InSim.Send_MST_Message("/msg ^6>^7 " + Conn.PlayerName + "^7 busts " + Conn.ChaseePlayerName + "^7!");
InSim.Send_MTC_MessageToConnection("^1DO NOT MOVE UNTIL CLEARED BY OFFICER!", Connections[ChaseeIndex].UniqueID, 0);
InSim.Send_MTC_MessageToConnection("^1!!!!^3WAIT FOR FINE/WARNING^1!!!!", Connections[ChaseeIndex].UniqueID, 0);
InSim.Send_BTN_CreateButton("", Flags.ButtonStyles.ISB_RIGHT | Flags.ButtonStyles.ISB_DARK, 40, 60, 60, 70, 124, Conn.UniqueID, 40, false);
InSim.Send_BTN_CreateButton("^2You have busted " + Conn.ChaseePlayerName, Flags.ButtonStyles.ISB_C2, 5, 60, 65, 70, 42, Conn.UniqueID, 40, false);
(Conn.ChaseCondition == 1)
{
InSim.Send_BTN_CreateButton("^2Condition 1 max fine ^1$300", "Type the Fines", Flags.ButtonStyles.ISB_CLICK, 5, 60, 70, 70, 43, 43, Conn.UniqueID, 40, false);
}
else if (Conn.ChaseCondition == 2)
{
InSim.Send_BTN_CreateButton("^2Condition 2 max fine ^1$600", "Type the Fines", Flags.ButtonStyles.ISB_CLICK, 5, 60, 70, 70, 43, 43, Conn.UniqueID, 40, false);
}
else if (Conn.ChaseCondition == 3)
{
InSim.Send_BTN_CreateButton("^2Condition 3 max fine ^1$1000", "Type the Fines", Flags.ButtonStyles.ISB_CLICK, 5, 60, 70, 70, 43, 43, Conn.UniqueID, 40, false);
}
else if (Conn.ChaseCondition == 4)
{
InSim.Send_BTN_CreateButton("^2Condition 4 max fine ^1$1400", "Type the Fines", Flags.ButtonStyles.ISB_CLICK, 5, 60, 70, 70, 43, 43, Conn.UniqueID, 40, false);
}
else if (Conn.ChaseCondition == 5)
{
InSim.Send_BTN_CreateButton("^2Condition 5 max fine ^1$1800", "Type the Fines", Flags.ButtonStyles.ISB_CLICK, 5, 60, 70, 70, 43, 43, Conn.UniqueID, 40, false);
}
InSim.Send_BTN_CreateButton("^1Type the Reason of Chase", "Type the Reason", Flags.ButtonStyles.ISB_CLICK, 5, 60, 75, 70, 48, 48, Conn.UniqueID, 40, false);
InSim.Send_BTN_CreateButton("^1Fine", Flags.ButtonStyles.ISB_LIGHT | Flags.ButtonStyles.ISB_CLICK, 5, 10, 85, 80, 125, Conn.UniqueID, 40, false);
InSim.Send_BTN_CreateButton("^1Release", Flags.ButtonStyles.ISB_LIGHT | Flags.ButtonStyles.ISB_CLICK, 5, 10, 85, 110, 126, Conn.UniqueID, 40, false);
Conn.OpenBustedBox = 1;
#################################
So if u click to the "Condition X max fine is X" it opnes a screen to enter your fineprice.
if i enter my fineprice and click to ok, it dont saves the entered text.
the same is for the reason button..
than if officer click to "fine"-button it should close the buttons.
and oens a button to the busted guy ( bad guys ) this button should tell hn his fine and his reason.
and ther eshould be a "acpept"-button , if he cick the acpet button,
the cash will get fined of them and the cash shuld go to the officer.
and if he runs away without pay his fine autofine of 1800
#############################
anyone can help me pls `?