Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma semicolon 1
- #include <sourcemod>
- public OnPluginStart()
- {
- HookEvent("player_hurt", OnPlayerHurt);
- }
- public Action:OnPlayerHurt(Handle:event, const String:name[], bool:dontBrodcast)
- {
- if(GetEventBool(event, "headshot"))
- {
- return Plugin_Handled;
- }
- return Plugin_Continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment