Difference between revisions of "SET FOLLOW VEHICLE CAM OFFSET"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |np=4 |p1t=integer |p1d=Flollow camera id |2t=float |p2d=X offset |p3t=float |p3d=Y offset |p4t=float |p4d=Z offset |r=0 }} Change...")
 
Line 3: Line 3:
 
|p1t=integer
 
|p1t=integer
 
|p1d=[[SET_FOLLOW_VEHICLE_CAM_SUBMODE|Flollow camera id]]
 
|p1d=[[SET_FOLLOW_VEHICLE_CAM_SUBMODE|Flollow camera id]]
|2t=float
+
|p2t=float
 
|p2d=X offset
 
|p2d=X offset
 
|p3t=float
 
|p3t=float

Revision as of 18:21, 25 March 2015

SET_FOLLOW_VEHICLE_CAM_OFFSET
Number of parameters: 4
Parameter #TypeDescription
1.integerFlollow camera id
2.floatX offset
3.floatY offset
4.floatZ offset
Return value:
TypeDescription
None

Changes follow camera offset to specifed offset (p2,p3,p4). BUT disables camera moving with mouse.
For example SET_FOLLOW_VEHICLE_CAM_OFFSET(1, 0.000, 0.550,0.00) - makes nice FPS view from vehicle dash board.