11.03.2014, 03:07
Trying to check "weaponid" as 0 won't be working. AFAIK, weaponid 0 doesn't get called. Secondly, usage of pVars here are not necessary. You could use static arrays to store data than using pVars. Weapons like assault rifles or sub-machine guns can get fired in less than a second. "GetTickCount" would have been always better than "gettime" as it returns milliseconds passed by. Only the first part of the include seems to be like the one which you've specified, the other seems like it's rapid firing. For rapid fires, there's an include already released by me :
https://sampforum.blast.hk/showthread.php?tid=496637
However, you can get things released better than it. Lastly, I've seen that the callback isn't hooked. You've used the defines of hooking, but it hasn't been implemented on that callback too.
https://sampforum.blast.hk/showthread.php?tid=496637
However, you can get things released better than it. Lastly, I've seen that the callback isn't hooked. You've used the defines of hooking, but it hasn't been implemented on that callback too.

