PetrolCap question
#1

I'm trying to get the position of the petrol cap for a vehicle, but it would print me the native positions, not vehicle's.

pawn Код:
new Float: sPos[3];
GetVehiclePos(id, sPos[0], sPos[1], sPos[2]);
GetVehicleModelInfo(carVariables[id][cModel], VEHICLE_MODEL_INFO_PETROLCAP, sPos[0], sPos[1], sPos[2]);
printf("%f %f %f", sPos[0], sPos[1], sPos[2]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)