Skip to content

Commit

Permalink
📝 update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Cowboy-69 committed Oct 29, 2024
1 parent 576eb73 commit 33e70c0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
37 changes: 22 additions & 15 deletions gta_iv/gta_iv.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730218628225,
"version": "0.87",
"last_update": 1730219436473,
"version": "0.88",
"url": "https://library.sannybuilder.com/#/gta_iv"
},
"extensions": [
Expand Down Expand Up @@ -2408,7 +2408,7 @@
],
"name": "ATTACH_CAM_TO_OBJECT",
"num_params": 2,
"short_desc": "Attaches a camera to an object",
"short_desc": "Attaches a camera to an object. Use UNATTACH_CAM to detach the camera",
"class": "Camera",
"member": "AttachToObject"
},
Expand All @@ -2425,7 +2425,7 @@
],
"name": "ATTACH_CAM_TO_PED",
"num_params": 2,
"short_desc": "Attaches a camera to a ped",
"short_desc": "Attaches a camera to a ped. Use UNATTACH_CAM to detach the camera",
"class": "Camera",
"member": "AttachToPed"
},
Expand All @@ -2442,7 +2442,7 @@
],
"name": "ATTACH_CAM_TO_VEHICLE",
"num_params": 2,
"short_desc": "Attaches a camera to a vehicle",
"short_desc": "Attaches a camera to a vehicle. Use UNATTACH_CAM to detach the camera",
"class": "Camera",
"member": "AttachToVehicle"
},
Expand Down Expand Up @@ -7844,8 +7844,11 @@
"num_params": 1,
"short_desc": "Returns a boolean indicating if the specified camera handle is allocated in the game",
"attrs": {
"is_condition": true
}
"is_condition": true,
"is_static": true
},
"class": "Camera",
"member": "DoesExist"
},
{
"name": "DOES_CAMERA_EXIST_WITH_NETWORK_ID",
Expand Down Expand Up @@ -33121,8 +33124,8 @@
{
"input": [
{
"name": "cam",
"type": "int"
"name": "self",
"type": "Camera"
},
{
"name": "_p2",
Expand All @@ -33134,7 +33137,9 @@
}
],
"name": "SET_CAM_SHAKE",
"num_params": 3
"num_params": 3,
"class": "Camera",
"member": "SetShake"
},
{
"name": "SET_CAM_SPLINE_CUSTOM_SPEED_GRAPH",
Expand Down Expand Up @@ -36276,21 +36281,23 @@
{
"input": [
{
"name": "cam",
"type": "Cam"
"name": "self",
"type": "Camera"
},
{
"name": "val",
"name": "value",
"type": "float"
},
{
"name": "time",
"name": "timeInMs",
"type": "int"
}
],
"name": "SET_DRUNK_CAM",
"num_params": 3,
"short_desc": "Sets the specified camera to the 'drunken' mode"
"short_desc": "Sets the specified camera to the 'drunken' mode",
"class": "Camera",
"member": "SetDrunk"
},
{
"input": [
Expand Down
1 change: 1 addition & 0 deletions gta_iv/snippets/default/SET_DRUNK_CAM.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
myCamera.setDrunk(0.2, 15000);
2 changes: 1 addition & 1 deletion gta_iv/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.87
0.88

0 comments on commit 33e70c0

Please sign in to comment.