Difference between revisions of "00AD"

From GTAMods Wiki
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
| ini        = 00AD=2, %1d%  %2d%
+
| games      = {{Icon|t}}
| description = Sets the car max speed.
+
| command    = SET_CAR_CRUISE_SPEED
| p1          = Existing car handle
+
| description = Sets the vehicle's cruise speed
| p2          = Max Speed (Floating-point)
+
| syntax1    = 00AD: set_car [''car handle''] max_speed_to [''flt'']
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
| p2t        = [''flt'']
 +
| p2d        = Speed
 
}}
 
}}
This opcode sets one's car max speed. 
 
  
==Sanny Builder Example==
+
This opcode sets the vehicle's cruise speed. It does not have an effect if the player is driving the vehicle.
  
<source lang="scm">00AD: set_car 36@ max_speed_to 10.0</source>
+
== Keywords ==
 
+
set, car, vehicle, max, cruise, speed
==Keywords==
 
car, max speed, set
 

Latest revision as of 06:14, 29 January 2016

GTA III Vice City San Andreas SET_CAR_CRUISE_SPEED


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