Difference between revisions of "00AD"
Jump to navigation
Jump to search
(Created page with '{{OpCode | ini = 00AD=2, %1d% %2d% | description = Sets the car max speed. | p1 = Existing car handle | p2 = Max Speed (Floating-point) | game …') |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
| − | | | + | | games = {{Icon|t}} |
| − | | description = Sets the car | + | | 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