File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff line change 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.
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 )
You can’t perform that action at this time.
0 commit comments