Skip to content

Commit

Permalink
📝 update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Dec 13, 2024
1 parent 6fc74fe commit 76d1106
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sa/snippets/1.0/0x504F80.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
int playerChar = get_player_char 0
int entity = get_ped_pointer playerChar
CAEWeaponAudioEntity_WeaponFire wf = entity + 0x394
wf(22, entity, 145)
int charPtr = get_ped_pointer playerChar
int weaponAudioPtr = charPtr + 0x394
const weaponType = 22 // Pistol
CAEWeaponAudioEntity_WeaponFire(weaponAudioPtr, weaponType, charPtr, 145)

0 comments on commit 76d1106

Please sign in to comment.