need help to cop system

#1 by DennisLovesSassi ( deleted ) , Fri Dec 24, 2010 1:06 am

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 `?

DennisLovesSassi
Last edited Fri Dec 24, 2010 2:26 am | Top

RE: need help to cop system

#2 by ozgurx , Fri Dec 24, 2010 2:57 pm

Send the whole file form1.cs can be a problem somewhere else task manager all "insim close" form1.cs and ChatCommands.cs save


ozgurx

ozgurx  
ozgurx
UF1 Cruiser
Posts: 3
Date registered 12.13.2010


RE: need help to cop system

#3 by SpunK , Fri Dec 24, 2010 3:52 pm

i dont know about you guys but i dont like the new copsystem , old one was the best, new one is spamming all the time etc, sorry :/


 
SpunK
RB4 Cruiser
Posts: 42
Date registered 12.13.2010


RE: need help to cop system

#4 by DennisLovesSassi ( deleted ) , Fri Dec 24, 2010 4:39 pm

the samming thing is a bug.

that wil get removed

DennisLovesSassi

RE: need help to cop system

#5 by SpunK , Mon Dec 27, 2010 1:01 am

goodgood , but i wanna get the new copsystem to work :/ sucks no1 doesnt know about coding :S


 
SpunK
RB4 Cruiser
Posts: 42
Date registered 12.13.2010


RE: need help to cop system

#6 by A-Men , Mon Dec 27, 2010 10:18 am

hi guys is this maybe an idee?
When an cadet/officer going to chase someone that the suspect an flashing light in his screen get that the police is chasing him?
it look nice to me but ill dont know if it is posseble

A-Men  
A-Men
RB4 Cruiser
Posts: 11
Date registered 12.20.2010


RE: need help to cop system

#7 by DennisLovesSassi ( deleted ) , Thu Jan 06, 2011 3:38 pm

it is possible mates.

but im at my gf atm becasue im in holidays.

but i will code something soon.

DennisLovesSassi

   

**

Xobor Einfach ein eigenes Xobor Forum erstellen
Datenschutz