Skip to content

Commit 57ce553

Browse files
committed
2 parents 0a3cb8c + 0bfef97 commit 57ce553

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

EntryPoint.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static void Main()
2020
{
2121
GameFiber.Yield();
2222

23-
// If the player is aimaing and the delete key is pressed, mark the entity for deletion
23+
// If the player is aiming and the Delete key is pressed, mark the entity for deletion
2424
if (!entityMarked && Game.IsKeyDown(System.Windows.Forms.Keys.Delete) && Game.LocalPlayer.IsFreeAiming)
2525
{
2626
selectedEntity = Game.LocalPlayer.GetFreeAimingTarget();
@@ -41,12 +41,13 @@ public static void Main()
4141
GameFiber.Yield();
4242
}
4343

44-
// If the entity is marked for deletion and the delete key is pressed, try deleting the entity
44+
// If the entity is marked for deletion and the Delete key is pressed again, try deleting the entity
4545
if (entityMarked && Game.IsKeyDown(System.Windows.Forms.Keys.Delete))
4646
{
4747
if (selectedEntity.Exists())
4848
{
4949
selectedEntity.Delete();
50+
// If the entity still exist, show a message saying that the deletion as failed
5051
if (selectedEntity.Exists())
5152
{
5253
Game.DisplaySubtitle("~o~Unable to delete this entity", 1000);
@@ -75,4 +76,4 @@ public static void Main()
7576
});
7677
}
7778
}
78-
}
79+
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# DeleteThatEntity - *RPH Plugin*
22

3+
RAGE Plugin Hook Plugin allowing to delete most entities from the GTA 5 map.
4+
35
## Usage
46
- Aim a weapon at an entity, then press `Delete`.
57
The selected entity should become partially transparent.
@@ -9,4 +11,4 @@
911
![Overview screenshot](example.png)
1012

1113
## `` Prerequisite
12-
- [RAGE Plugin Hook](https://ragepluginhook.net/Downloads.aspx)
14+
- [RAGE Plugin Hook](https://ragepluginhook.net/Downloads.aspx)

0 commit comments

Comments
 (0)