Недавнее содержимое от BlueFire

  1. B

    [C++] How to check if Player is in Vehicle

    Fixed it. Just manuel reseted it (Players->GetInCarData(i)->sVehicleID = 0;) Other Problem. Passenger pos does not seem to get Updated: Players->GetPassengerData(i)->sVehicleID gives the right vehicle id. But: Players->GetPassengerData(i)->fPosition are the data from the point he entered the...
  2. B

    [C++] How to check if Player is in Vehicle

    How do you check if a Player is in a Vehicle? I have the following; if(Players->GetInCarData(i)->sVehicleID == 0) { //No Vehicle } else { //Vehicle } Unfortunatly, once entered a Vehicle the sVehcileID stays. So if he is once in a Vehicle he is "always" in a vehicle. Is there another way to check?