Skip to content

Commit

Permalink
📝 update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Dec 5, 2024
1 parent 2330c41 commit df73fae
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gta3/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog
7 changes: 7 additions & 0 deletions gta3_mobile/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog
7 changes: 7 additions & 0 deletions gta3_unreal/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog
7 changes: 7 additions & 0 deletions sa/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog
7 changes: 7 additions & 0 deletions sa_mobile/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog
7 changes: 7 additions & 0 deletions sa_unreal/snippets/default/00E2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128

// as multiplier
float analog =# state
analog /= 128.0 // -1.0 to 1.0 range

print_formatted_now {format} "state: %d, analog: %f" {time} 5000 {args} state analog

0 comments on commit df73fae

Please sign in to comment.