Difference between revisions of "00AD"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|t}} |
− | | description = Sets the | + | | command = SET_CAR_CRUISE_SPEED |
− | | | + | | description = Sets the vehicle's cruise speed |
− | | | + | | syntax1 = 00AD: set_car [''car handle''] max_speed_to [''flt''] |
− | | | + | | p1t = [''car handle''] |
+ | | p1d = The handle of the vehicle | ||
+ | | p2t = [''flt''] | ||
+ | | p2d = Speed | ||
}} | }} | ||
− | |||
− | + | This opcode sets the vehicle's cruise speed. It does not have an effect if the player is driving the vehicle. | |
− | + | == Keywords == | |
− | + | set, car, vehicle, max, cruise, speed | |
− | ==Keywords== | ||
− | car, max speed |
Latest revision as of 06:14, 29 January 2016
- Description
- Sets the vehicle's cruise speed
- Syntax
- 00AD: set_car [car handle] max_speed_to [flt]
- Parameter
- [car handle]
- The handle of the vehicle
- [flt]
- Speed
This opcode sets the vehicle's cruise speed. It does not have an effect if the player is driving the vehicle.
Keywords
set, car, vehicle, max, cruise, speed