CodeSnippet : Aiming @ Entities
First of all I don't need scripting help, I want to provide something helpfull.
I developed and coded a function that allows Small Scripters to set the aiming of a Player to another one or an Object in the world in actualy any HL MOD. Testet on Earth's Special Forces and The Specialists. If you are not familiar with amx scripting just close this topic. :roll: And yes it is absolutly possible to write a Aimbot with it. :twisted: I did it, with autosho... but it only works "nice" if you are a listenserver. So this Function can be used for focusing weapons on ground, next enemy ermmm... etc. I released this Function, because I think it can't be missused on dedicated Servers. >> ServerFrames are to low >> the TimeDelay( Ping depending ) between Aimset and a FireCommand allows no accuratly shooting // yes I tested it ^^ The Function should actualy be clear how it works. With Admin / MoD permission I may release the rest of my AimingDaemon :twisted: >> Update v2 untested but should work ^^ Code:
|
Quote:
Thanks :) |
Sounds interesting, i'd give it a go
|
heh, ur good enough to write a hack :shock:
|
Thats an achevement, well done :up:
|
Quote:
Actually what is written above you is called a Function, not a plugin. And by definition cannot be considered a hack. Had you spent twenty seconds (and actually had the know how) you may realize this function does nothing more than adjust your aim.... it does not in anyway act as an aimbot.... mainly because no function alone ever could. Maybe not the most usefull function to most with limited imaginations, and maybe it would be a hack if someone with as limited of an imagination as you were to come by and make it that, but it is still just a function..... not a hack. Lastly, it does not even have the potential to ever be a hack as written above... but we wouldnt count on people in a forum to read before accuseing people of hacking would we? no that would be downright intelligent. Quote:
|
dude i was just playin around..
|
This could be veeeery helpfull in one of my plugins, But could you be son kind as to provide a example on how to use the functions ?
|
which, MoveEnts? :D
|
To make the aiming angle dependent, simply make it so that when you do the "Float:AimOffset[3]" make it only two variables.
See, the angle vector for an entity is, like you typed, two floats. So simply pass +/- longitude +/- latitude. Add that number to the 'h-aim' and 'v-aim' Since h-aim and v-aim are vectors that represent points on a sphere, adding or subtracting changes the angle. |
| All times are GMT -4. The time now is 17:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.