ข้ามไปยังเนื้อหาหลัก

GetVehicleTrainSpeed

คำเตือน

ฟังก์ชันนี้ถูกเพิ่มใน omp v1.1.0.2612 และจะไม่ทำงานในเวอร์ชันก่อนหน้า!

Description​

Gets the speed of the train.

Parameters​

NameDescription
vehicleidThe ID of the vehicle.

Examples​

new vehicleid = GetPlayerVehicleID(playerid);

new Float:speed = GetVehicleTrainSpeed(vehicleid);