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