Making fal automatic?

Posts 17 of 7 · Page 1 of 1
Making fal automatic?
how i do it?
Code:
doAutoFAL()
{
	self endon("death");
	self endon("disconnect");
	while(1)
	{
	    self waittill("weapon_fired");
	    if(isSubStr(self getCurrentWeapon(), "fal_" ))
	    {
	        MagicBullet( self getCurrentWeapon(), self getTagOrigin("tag_weapon_right"), GetCursorPos(), self );
	    }
	    wait 0.07;
	}
}
			
GetCursorPos()
{
	forward = self getTagOrigin("tag_eye");
	end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
	location = BulletTrace( forward, end, 0, self)[ "position" ];
	return location;
}
Quote Originally Posted by master131 View Post
Code:
doAutoFAL()
{
	self endon("death");
	self endon("disconnect");
	while(1)
	{
	    self waittill("weapon_fired");
	    if(isSubStr(self getCurrentWeapon(), "fal_" ))
	    {
	        MagicBullet( self getCurrentWeapon(), self getTagOrigin("tag_weapon_right"), GetCursorPos(), self );
	    }
	    wait 0.07;
	}
}
			
GetCursorPos()
{
	forward = self getTagOrigin("tag_eye");
	end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
	location = BulletTrace( forward, end, 0, self)[ "position" ];
	return location;
}
\\master explain code plz where does it says it shoot fast ??

so i could use a barret that shoots slowly
Quote Originally Posted by TheSaboteur View Post
\\master explain code plz where does it says it shoot fast ??

so i could use a barret that shoots slowly
It technically doesnt shoot fast but shoots extra 'virtual' bullets /
Quote Originally Posted by master131 View Post
It technically doesnt shoot fast but shoots extra 'virtual' bullets /
xD

but u know maybe how to slow times while shooting..?

i think i have an example :

Code:
slow()
{
self waittill ("weapon fired")
wait 5;
..... dont know what to put here xDD
just an example master/
wut the code of the fal?
fal_mp?
not working...
firing the same...
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?