Preskoči na glavni sadržaj

GetVehicleTrainSpeed

Upozorenje

Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.

Description​

Gets the speed of the train.

Parameters​

NameDescription
vehicleidThe ID of the vehicle.

Examples​

new vehicleid = GetPlayerVehicleID(playerid);

new Float:speed = GetVehicleTrainSpeed(vehicleid);