Untitled

From Blush Tamarin, 11 Years ago, written in C, viewed 737 times.
URL https://paste.godclan.hu/view/uNaUSOPE Embed
Download Paste or View Raw
  1.       case 26:
  2.         sscanf(string, "%i %i", &v49, &v51);
  3.         v36 = v51;
  4.         if ( CVehicleData__Exists(vehicleData, v51) )
  5.         {
  6.           pVehicle = CVehicleData__GetInstance(vehicleData, v36);
  7.           pVehicle_ = pVehicle;
  8.           if ( pVehicle )
  9.           {
  10.             executeSCMOpcode((int)&get_car_heading_, pVehicle->handle, &rot);
  11.             if ( rot > 359.0 || rot < 1.0 )
  12.               rot = 0.0;
  13.             rot = rot + 0.1;
  14.             CVehicleInstance__SetAngle(pVehicle_, rot);
  15.           }
  16.         }
  17.         break;

Reply to "Untitled"

Here you can reply to the paste above