Hi. I want a code in cruise when player resets car it cost him for example 400. I tryed to make but I just couldnt get it.
List plrCash<int> = new List<int>(); //Holds current cash of each player
if(received ISP_CRS) //Player had his car reset
{
int plID = ISP_CRS.PLID; //Get ID of the player that had his car reset from the ISP_CRS packet
plrCash.at(plID) -= 400; //Lower his cash by 400 bucks
}