Difference between revisions of "SET FOLLOW VEHICLE CAM OFFSET"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 2: Line 2:
 
|np=4
 
|np=4
 
|p1t=integer
 
|p1t=integer
|p1d=[[SET_FOLLOW_VEHICLE_CAM_SUBMODE|Flollow camera id]]
+
|p1d=[[SET_FOLLOW_VEHICLE_CAM_SUBMODE|Follow camera id]]
 
|p2t=float
 
|p2t=float
 
|p2d=X offset
 
|p2d=X offset

Latest revision as of 19:35, 25 March 2015

SET_FOLLOW_VEHICLE_CAM_OFFSET
Number of parameters: 4
Parameter #TypeDescription
1.integerFollow 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.