AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   How do I hook FireBullets? (https://forums.alliedmods.net/showthread.php?t=317966)

awyx 08-06-2019 14:59

How do I hook FireBullets?
 
How do I hook Firebullets? Ive been searching some stuff but didnt found anything that helps me... im really new into this.

thanks

andi67 08-07-2019 08:58

Re: How do I hook FireBullets?
 
SDKHook(client, SDKHook_FireBulletsPost, FireBulletsHook);

DeewaTT 03-19-2023 22:58

Re: How do I hook FireBullets?
 
Any idea why that hook wouldn't be called?
I've assigned it a PrintToChatAll("something"); and it doesn't get printed when firing a gun.

Drixevel 03-20-2023 09:46

Re: How do I hook FireBullets?
 
Quote:

Originally Posted by DeewaTT (Post 2801509)
Any idea why that hook wouldn't be called?
I've assigned it a PrintToChatAll("something"); and it doesn't get printed when firing a gun.

If you're on CSGO then just hook the 'weapon_fire' event.


All times are GMT -4. The time now is 00:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.