getVehicleCurrentGear
Devolve a marcha em que o câmbio está.
Sintaxe
Seção intitulada “Sintaxe”number getVehicleCurrentGear ( vehicle oVeiculo )Retorno
Seção intitulada “Retorno”O número da marcha. Um veículo fora de stream devolve 0. Um argumento que não é veículo devolve false, com um aviso no console de debug.
Exemplo
Seção intitulada “Exemplo”outputDebugString("marcha " .. getVehicleCurrentGear(veiculo))Veja também
Seção intitulada “Veja também”areVehicleLightsOn— Diz se os faróis estão realmente acesos neste momento.