Raised This Month: $ Target: $400
 0% 

Solved Shoot Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 06-21-2017 , 13:18   Re: Shoot Event
Reply With Quote #3

Playbackevent is called when a player shoots.
TraceAttack is called when a player shoots to other entity
TakeDamage is called when a player shoots and take damage to other entity
Be careful: TraceAttack and TakeDamage can be called by a plugin using ExecuteHam

You can use Ham_Weapon_PrimaryAttack too. But pay attention about 0 ammo and reloading

Last edited by baneado; 06-21-2017 at 13:21.
baneado is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:52.


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