09.06.2012, 12:11
Please, help me. I don't understand, why does it happens . Please, fix it
pawn Код:
stock function( playerid, vehicleid )
{
new
Float:offsetPos[ 3 ],
Float:result[ 3 ]
;
GetVehicleModelInfo( GetVehicleModel( vehicleid ), VEHICLE_MODEL_INFO_WHEELSFRONT, offsetPos[ 0 ], offsetPos[ 1 ], offsetPos[ 2 ] );
MPProjectPointOnVehicle( vehicleid, offsetPos[ 0 ], offsetPos[ 1 ], offsetPos[ 2 ], result[ 0 ], result[ 1 ], result[ 2 ], 1 );
printf( "%f %f %f", result[ 0 ], result[ 1 ], result[ 2 ] );
CreateObject( 324, result[ 0 ], result[ 1 ], result[ 2 ], 0.0, 0.0, 0.0 );
return false;
}