Перейти до основного вмісту

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);