Autopistol help

Posts 1–4 of 4 · Page 1 of 1
Autopistol help
Hello guys, i have a autopistol added to my hack, but the problem its supposed to be AUTOPISTOL but it works for all weapons, like ak47 etc. So i wondered, how would i make something like Is fire weapon check

Here is the code:
Code:
 	if (pCmd->buttons & IN_ATTACK)
			{
				static bool bAttack = false;
				if (bAttack)    pCmd->buttons |= IN_ATTACK;
				else
					pCmd->buttons &= ~IN_ATTACK;
				bAttack = !bAttack;
			}
		}
Just check if your player is holding a pistol?
Quote Originally Posted by gtaplayer2 View Post
Just check if your player is holding a pistol?
how ///////////////////2sh0rtewrino
LocalPlayer + CurrentWeapon?

Then compare if it is a pistol .-.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us