14.06.2012, 19:52
Quote:
What is with vehicleid 0 ?
if (vehicleid>0) { should be: if(vehicleid != INVALID_VEHICLE_ID) |
EDIT:
What you however could have mentioned is that if the state of the player is "PLAYER_STATE_DRIVER" he MUST be inside of a vehicle so how could it return 0?