Skip to content

Commit

Permalink
📝 update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 28, 2024
1 parent 561de4b commit 0f3c301
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sa/snippets/default/0806.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
int prevKillCount = get_total_number_of_peds_killed_by_player $player1
while true
wait 250

int killCount = get_total_number_of_peds_killed_by_player $player1
killCount -= prevKillCount

if
killCount > 0
then
print_formatted_now {format} "Another %d bites the dust!" {time} 3000 {args} killCount
add_one_off_sound {pos} 0.0 0.0 0.0 {soundId} ScriptSound.SoundCheckpointRed
end

prevKillCount = get_total_number_of_peds_killed_by_player $player1
end
16 changes: 16 additions & 0 deletions sa_mobile/snippets/default/0806.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
int prevKillCount = get_total_number_of_peds_killed_by_player $player1
while true
wait 250

int killCount = get_total_number_of_peds_killed_by_player $player1
killCount -= prevKillCount

if
killCount > 0
then
print_formatted_now {format} "Another %d bites the dust!" {time} 3000 {args} killCount
add_one_off_sound {pos} 0.0 0.0 0.0 {soundId} ScriptSound.SoundCheckpointRed
end

prevKillCount = get_total_number_of_peds_killed_by_player $player1
end
16 changes: 16 additions & 0 deletions sa_unreal/snippets/default/0806.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
int prevKillCount = get_total_number_of_peds_killed_by_player $player1
while true
wait 250

int killCount = get_total_number_of_peds_killed_by_player $player1
killCount -= prevKillCount

if
killCount > 0
then
print_formatted_now {format} "Another %d bites the dust!" {time} 3000 {args} killCount
add_one_off_sound {pos} 0.0 0.0 0.0 {soundId} ScriptSound.SoundCheckpointRed
end

prevKillCount = get_total_number_of_peds_killed_by_player $player1
end

0 comments on commit 0f3c301

Please sign in to comment.