Aiming Raycast Results (+ Source)
1,612
27
1,612
27
This mod uses RayCasting, It comes in handy when detecting/fetching details of entities infront of the ray and manipulating them however you wish.
Code edits:
Added instant ped headshot aimbot
Added ped spawner (spacebar)
Update log:
Forgot to add the source... lol...
Ped spawner is so you can mess with the aimbot....
To use aimbot, Point your gun at a ped, press the E key and the aimbot will shoot the ped in the head instantly even if you stopped aiming at the ped.
Aimbot is way too fast for ped aim animation so just ignore that.
I've included the source code of this mod so that you may learn from it and it would help bring better mods, Raycasting is one of the most fun functions of this game once you know how to use it, I used it in my slipstream mod too.
I've not added any methods to do anything with the object as this is way too easy to do by using the raycast result parameter and casting it to a new ped/prop/vehicle
then manipulating that ped/prop/vehicle accordingly.
What this mod does is fetch details about the entity you've aimed at.
To use this mod you need to press the 'Divide Key' = / On your numpad to enable or disable this mod.
To use this mod you require both scripthookv and scripthookvdotnet.
I hope this comes in handy, I've got a bunch of natives in there that might be useful to someone.
Please dontate if you find this useful and or the source code.
Please donate to support my mods and future mods
Donators:
rappo
Big thanks to donators! Your continued support will help me massively!
Your donations are unforgetable!
Code edits:
Added instant ped headshot aimbot
Added ped spawner (spacebar)
Update log:
Forgot to add the source... lol...
Ped spawner is so you can mess with the aimbot....
To use aimbot, Point your gun at a ped, press the E key and the aimbot will shoot the ped in the head instantly even if you stopped aiming at the ped.
Aimbot is way too fast for ped aim animation so just ignore that.
I've included the source code of this mod so that you may learn from it and it would help bring better mods, Raycasting is one of the most fun functions of this game once you know how to use it, I used it in my slipstream mod too.
I've not added any methods to do anything with the object as this is way too easy to do by using the raycast result parameter and casting it to a new ped/prop/vehicle
then manipulating that ped/prop/vehicle accordingly.
What this mod does is fetch details about the entity you've aimed at.
To use this mod you need to press the 'Divide Key' = / On your numpad to enable or disable this mod.
To use this mod you require both scripthookv and scripthookvdotnet.
I hope this comes in handy, I've got a bunch of natives in there that might be useful to someone.
Please dontate if you find this useful and or the source code.
Donators:
rappo
Big thanks to donators! Your continued support will help me massively!
Your donations are unforgetable!
First Uploaded: July 06, 2015
Last Updated: July 06, 2015
Last Downloaded: 1 day ago
30 Comments
More mods by Enumerator:
This mod uses RayCasting, It comes in handy when detecting/fetching details of entities infront of the ray and manipulating them however you wish.
Code edits:
Added instant ped headshot aimbot
Added ped spawner (spacebar)
Update log:
Forgot to add the source... lol...
Ped spawner is so you can mess with the aimbot....
To use aimbot, Point your gun at a ped, press the E key and the aimbot will shoot the ped in the head instantly even if you stopped aiming at the ped.
Aimbot is way too fast for ped aim animation so just ignore that.
I've included the source code of this mod so that you may learn from it and it would help bring better mods, Raycasting is one of the most fun functions of this game once you know how to use it, I used it in my slipstream mod too.
I've not added any methods to do anything with the object as this is way too easy to do by using the raycast result parameter and casting it to a new ped/prop/vehicle
then manipulating that ped/prop/vehicle accordingly.
What this mod does is fetch details about the entity you've aimed at.
To use this mod you need to press the 'Divide Key' = / On your numpad to enable or disable this mod.
To use this mod you require both scripthookv and scripthookvdotnet.
I hope this comes in handy, I've got a bunch of natives in there that might be useful to someone.
Please dontate if you find this useful and or the source code.
Please donate to support my mods and future mods
Donators:
rappo
Big thanks to donators! Your continued support will help me massively!
Your donations are unforgetable!
Code edits:
Added instant ped headshot aimbot
Added ped spawner (spacebar)
Update log:
Forgot to add the source... lol...
Ped spawner is so you can mess with the aimbot....
To use aimbot, Point your gun at a ped, press the E key and the aimbot will shoot the ped in the head instantly even if you stopped aiming at the ped.
Aimbot is way too fast for ped aim animation so just ignore that.
I've included the source code of this mod so that you may learn from it and it would help bring better mods, Raycasting is one of the most fun functions of this game once you know how to use it, I used it in my slipstream mod too.
I've not added any methods to do anything with the object as this is way too easy to do by using the raycast result parameter and casting it to a new ped/prop/vehicle
then manipulating that ped/prop/vehicle accordingly.
What this mod does is fetch details about the entity you've aimed at.
To use this mod you need to press the 'Divide Key' = / On your numpad to enable or disable this mod.
To use this mod you require both scripthookv and scripthookvdotnet.
I hope this comes in handy, I've got a bunch of natives in there that might be useful to someone.
Please dontate if you find this useful and or the source code.
Donators:
rappo
Big thanks to donators! Your continued support will help me massively!
Your donations are unforgetable!
First Uploaded: July 06, 2015
Last Updated: July 06, 2015
Last Downloaded: 1 day ago
@Enumerator GREAT MOD!!!! and you can tweak to hit when aiming were only in the head (of all weapons) ???
@Jeka_82 Can you clarify what you mean?
@Enumerator AIMBOT HEADSHOT 100%
Yeah it should be easy, You get the ped from the raycast, cast that ped as a new ped using its handle then you get the bone location (head) of the ped then use Native.function.call(hash.TASK_AIM_GUN_AT_COORD,Ped ped, float x, float y, float z, int time, BOOL p5, BOOL p6) to make your ped aim the gun at that bone location
@Enumerator Thanks for the advice but I know nothing about modding, if you do edit the file and give the link of the edited file to me I'll be grateful (or at least a video tutorial of how to do it)
@Jeka_82 If i ever make an aimbot i'll post it on here for you all.
@Enumerator thank you and good luck !
@Jeka_82 I just updated it with an aimbot, Have fun with it.
@Enumerator I knew it, you're insane. In a good way lol
@gilbert_at I'm releasing a dedicated Ped aimbot in a few minutes...
@Jeka_82 https://www.gta5-mods.com/scripts/enumerators-ped-aimbot
@Enumerator can you tell me the difference between hash and handle, and when to use them ?
@GeorgeZhang The handle is the unique identifier of which is currently rendering in the 3d world and using the handle you can manipulate the object to which the handle exists for.
The hashes are libraries of objects that can obtain handles automatically when rendered into the 30 world, you use hashes to create objects or to identify a type of object.
@Enumerator wow thanks man! I'm starting to get the feeling of it:)
@GeorgeZhang Good luck, It's really simple, Best thing to do is to sit down with a nice cup of coffee, a cigar and put ya mind to work, The limitations are only in your mind! :)
@Enumerator ok man, I'll do my best!
Is there a way to disable spacebar to spawn a ped, I disabled the mod using / but space still spawns a ped.
@Procrastinator Sal the source code is in this, just recompile it without the space bar (spawn ped) trigger
@Enumerator May I use your raycast method? I'll translate it myself, please?
I guess you won't see this until a very long time, so I just did it. if you don't like it tell me, I'll do as you say. BTW thanks a lot for the code it helps a lot, I credited you :)