IWannaWin Expert Cheater
Reputation: 0
Joined: 05 Aug 2007 Posts: 125
|
Posted: Fri Oct 24, 2008 11:09 am Post subject: Aimbot (For a flash game) |
|
|
I'm bored and I've decided to make an aimbot for a flash game since it's good practice for my math test. I've uploaded the SWF of it.
I just need to know the gravity since I've never learned how to find it.
Here's the fire() function:
| Code: | function fire()
{
testing = true;
_root.attachMovie(_root.weapons[_root["tank_" + tank_number].cur_gun][4], "strela", 1000);
if (_root["tank_" + tank_number].cur_gun != 0)
{
--_root["tank_" + tank_number].guns[_root["tank_" + tank_number].cur_gun];
if (_root["tank_" + tank_number].guns[_root["tank_" + tank_number].cur_gun] == 0)
{
_root["tank_" + tank_number].cur_gun = 0;
} // end if
} // end if
_root.strela._rotation = rotace - 90;
_root.strela._x = _x;
_root.strela._y = _y - 1;
_root.strela.strela.vo = power;
_root.strela.strela.owner = _root[_name];
_root[_name + "_hlaven"].play();
playing = false;
} // End of the function |
_________________
|
|