Skip to content

Commit

Permalink
deploy: 795a5a7
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 28, 2024
1 parent 1160cb7 commit d8d3c8d
Show file tree
Hide file tree
Showing 19 changed files with 121 additions and 118 deletions.
4 changes: 2 additions & 2 deletions assets/gta3/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,9 @@ $END

$Debugger
$BEGIN
Disable,00C4,0,0,()
Enable,00C3,0,0,()
Line,0052,0,0,("f1%f" "f2%f" "f3%f" "f4%f" "f5%f" "f6%f")
Off,00C4,0,0,()
On,00C3,0,0,()
$END

$DrugDropOff
Expand Down
26 changes: 13 additions & 13 deletions assets/gta3/gta3.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730125341799,
"version": "0.352",
"last_update": 1730136494760,
"version": "0.353",
"url": "https://library.sannybuilder.com/#/gta3"
},
"extensions": [
Expand Down Expand Up @@ -3867,26 +3867,26 @@
"short_desc": "Returns true if any part of the radius of the specified point is visible on screen"
},
{
"attrs": {
"is_static": true
},
"class": "Debugger",
"id": "00C3",
"member": "On",
"name": "DEBUG_ON",
"num_params": 0,
"short_desc": "Enables the debug mode"
},
{
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"class": "Debugger",
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"member": "Off",
"name": "DEBUG_OFF",
"num_params": 0,
"short_desc": "Disables the debug mode"
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"attrs": {
Expand Down
1 change: 1 addition & 0 deletions assets/gta3/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"008B": "<%= input1 %> = <%= input2 %>",
"009A": "int skin = 40\nrequest_model skin\nload_all_models_now\n\nint woman = create_char {type} PedType.CivFemale {model} skin {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed skin",
"00A5": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"00C4": "debug_off\nbreakpoint \"testing debug off opcode\" // will be ignored",
"00DD": "if\n is_char_in_model $scplayer {model} #AMBULAN\nthen\n print_string_now {text} \"Player in ambulance\" {time} 3000\nend",
"00E1": "while true\n wait 0\n \n if\n is_button_pressed {pad} PadId.Pad1 {buttonId} Button.DpadUp // usually \"G\"\n then\n print_string_now {text} \"Button is down.\" {time} 1\n end\nend",
"0107": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
Expand Down
4 changes: 2 additions & 2 deletions assets/gta3_mobile/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,9 @@ $END

$Debugger
$BEGIN
Disable,00C4,0,0,()
Enable,00C3,0,0,()
Line,0052,0,0,("f1%f" "f2%f" "f3%f" "f4%f" "f5%f" "f6%f")
Off,00C4,0,0,()
On,00C3,0,0,()
$END

$DrugDropOff
Expand Down
26 changes: 13 additions & 13 deletions assets/gta3_mobile/gta3_mobile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730125341916,
"version": "0.289",
"last_update": 1730136494867,
"version": "0.290",
"url": "https://library.sannybuilder.com/#/gta3_mobile"
},
"extensions": [
Expand Down Expand Up @@ -3867,26 +3867,26 @@
"short_desc": "Returns true if any part of the radius of the specified point is visible on screen"
},
{
"attrs": {
"is_static": true
},
"class": "Debugger",
"id": "00C3",
"member": "On",
"name": "DEBUG_ON",
"num_params": 0,
"short_desc": "Enables the debug mode"
},
{
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"class": "Debugger",
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"member": "Off",
"name": "DEBUG_OFF",
"num_params": 0,
"short_desc": "Disables the debug mode"
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"attrs": {
Expand Down
4 changes: 2 additions & 2 deletions assets/gta3_unreal/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@ $END

$Debugger
$BEGIN
Disable,00C4,0,0,()
Enable,00C3,0,0,()
Line,0052,0,0,("f1%f" "f2%f" "f3%f" "f4%f" "f5%f" "f6%f")
Off,00C4,0,0,()
On,00C3,0,0,()
$END

$DrugDropOff
Expand Down
26 changes: 13 additions & 13 deletions assets/gta3_unreal/gta3_unreal.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730125342102,
"version": "0.282",
"last_update": 1730136494949,
"version": "0.283",
"url": "https://library.sannybuilder.com/#/gta3_unreal"
},
"extensions": [
Expand Down Expand Up @@ -3867,26 +3867,26 @@
"short_desc": "Returns true if any part of the radius of the specified point is visible on screen"
},
{
"attrs": {
"is_static": true
},
"class": "Debugger",
"id": "00C3",
"member": "On",
"name": "DEBUG_ON",
"num_params": 0,
"short_desc": "Enables the debug mode"
},
{
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"class": "Debugger",
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"member": "Off",
"name": "DEBUG_OFF",
"num_params": 0,
"short_desc": "Disables the debug mode"
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"attrs": {
Expand Down
4 changes: 2 additions & 2 deletions assets/sa/opcodes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@
{00C0:} set_time_of_day {hours} [int] {minutes} [int]
{00C1:} [var minutesLeft: int] = get_minutes_to_time_of_day {hours} [int] {minutes} [int]
{00C2:} is_point_on_screen {x} [float] {y} [float] {z} [float] {radius} [float]
{00C3:} debug_on
{00C4:} debug_off
{00D6:} if [int]
{00D7:} launch_mission @label
{00D8:} mission_has_finished
Expand Down Expand Up @@ -2189,8 +2191,6 @@
{0B1E:} sign_extend {var_value} [var int] {fromSize} [int]
{0B20:} read_clipboard_data {address} [int] {number} [int]
{0B21:} write_clipboard_data {address} [int] {number} [int]
{00C3:} debug_on
{00C4:} debug_off
{0662:} write_debug {_p1} [any]
{0663:} write_debug_with_int {_p1} [any] {_p2} [any]
{0664:} write_debug_with_float {_p1} [any] {_p2} [any]
Expand Down
48 changes: 24 additions & 24 deletions assets/sa/sa.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730125341674,
"version": "0.783",
"last_update": 1730136494650,
"version": "0.784",
"url": "https://library.sannybuilder.com/#/sa"
},
"extensions": [
Expand Down Expand Up @@ -3673,6 +3673,28 @@
"num_params": 4,
"short_desc": "Returns true if any part of the radius of the specified point is visible on screen"
},
{
"id": "00C3",
"name": "DEBUG_ON",
"num_params": 0,
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"name": "DEBUG_OFF",
"num_params": 0,
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"id": "00C5",
"name": "RETURN_TRUE",
Expand Down Expand Up @@ -60727,28 +60749,6 @@
{
"name": "debug",
"commands": [
{
"id": "00C3",
"name": "DEBUG_ON",
"num_params": 0,
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"name": "DEBUG_OFF",
"num_params": 0,
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"input": [
{
Expand Down
1 change: 1 addition & 0 deletions assets/sa/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
"008B": "<%= input1 %> = <%= input2 %>",
"009A": "int skin = 40\nrequest_model skin\nload_all_models_now\n\nint woman = create_char {type} PedType.CivFemale {model} skin {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed skin",
"00A5": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"00C4": "debug_off\nbreakpoint \"testing debug off opcode\" // will be ignored",
"00DD": "if\n is_char_in_model $scplayer {model} #AMBULAN\nthen\n print_string_now {text} \"Player in ambulance\" {time} 3000\nend",
"00E1": "while true\n wait 0\n \n if\n is_button_pressed {pad} PadId.Pad1 {buttonId} Button.DpadUp // usually \"G\"\n then\n print_string_now {text} \"Button is down.\" {time} 1\n end\nend",
"0107": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
Expand Down
2 changes: 1 addition & 1 deletion assets/support-info.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/vc/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -866,9 +866,9 @@ $END

$Debugger
$BEGIN
Disable,00C4,0,0,()
Enable,00C3,0,0,()
Line,0052,0,0,("f1%f" "f2%f" "f3%f" "f4%f" "f5%f" "f6%f")
Off,00C4,0,0,()
On,00C3,0,0,()
$END

$DynamicLibrary
Expand Down
1 change: 1 addition & 0 deletions assets/vc/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"008B": "<%= input1 %> = <%= input2 %>",
"009A": "int skin = 40\nrequest_model skin\nload_all_models_now\n\nint woman = create_char {type} PedType.CivFemale {model} skin {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed skin",
"00A5": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"00C4": "debug_off\nbreakpoint \"testing debug off opcode\" // will be ignored",
"00DD": "if\n is_char_in_model $scplayer {model} #AMBULAN\nthen\n print_string_now {text} \"Player in ambulance\" {time} 3000\nend",
"00E1": "while true\n wait 0\n \n if\n is_button_pressed {pad} PadId.Pad1 {buttonId} Button.DpadUp // usually \"G\"\n then\n print_string_now {text} \"Button is down.\" {time} 1\n end\nend",
"0107": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
Expand Down
26 changes: 13 additions & 13 deletions assets/vc/vc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1730125341854,
"version": "0.362",
"last_update": 1730136494809,
"version": "0.363",
"url": "https://library.sannybuilder.com/#/vc"
},
"extensions": [
Expand Down Expand Up @@ -3815,26 +3815,26 @@
"short_desc": "Returns true if any part of the radius of the specified point is visible on screen"
},
{
"attrs": {
"is_static": true
},
"class": "Debugger",
"id": "00C3",
"member": "On",
"name": "DEBUG_ON",
"num_params": 0,
"short_desc": "Enables the debug mode"
},
{
"class": "Debugger",
"member": "Enable",
"attrs": {
"is_static": true
},
"class": "Debugger",
"short_desc": "Activates debug features in this script"
},
{
"id": "00C4",
"member": "Off",
"name": "DEBUG_OFF",
"num_params": 0,
"short_desc": "Disables the debug mode"
"class": "Debugger",
"member": "Disable",
"attrs": {
"is_static": true
},
"short_desc": "Deactivates debug features in this script"
},
{
"attrs": {
Expand Down
4 changes: 2 additions & 2 deletions assets/vc_mobile/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,9 @@ $END

$Debugger
$BEGIN
Disable,00C4,0,0,()
Enable,00C3,0,0,()
Line,0052,0,0,("f1%f" "f2%f" "f3%f" "f4%f" "f5%f" "f6%f")
Off,00C4,0,0,()
On,00C3,0,0,()
$END

$Fx
Expand Down
Loading

0 comments on commit d8d3c8d

Please sign in to comment.