Raised This Month: $51 Target: $400
 12% 

(CSGO) Hitmarker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KillerHamster
New Member
Join Date: Jun 2015
Old 06-10-2017 , 12:55   (CSGO) Hitmarker
Reply With Quote #1

Hay guys i search a Hitmarker Plugin for csgo
Exaple video https://www.youtube.com/watch?v=NIVyhoGu5No
can anywhere help me ?
KillerHamster is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 06-10-2017 , 13:09   Re: (CSGO) Hitmarker
Reply With Quote #2

hook player_hurt and player_death
show overlay to attacker on both event
8guawong is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 06-10-2017 , 13:25   Re: (CSGO) Hitmarker
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?t=186663 and some others out there...
__________________
coding & free software
shanapu is offline
K1lleR_gamea
Junior Member
Join Date: Mar 2019
Location: Israel
Old 05-01-2020 , 11:04   Re: (CSGO) Hitmarker
Reply With Quote #4

Quote:
Originally Posted by KillerHamster View Post
Hay guys i search a Hitmarker Plugin for csgo
Exaple video https://www.youtube.com/watch?v=NIVyhoGu5No
can anywhere help me ?
PHP Code:
public void OnPluginStart(){
    
HookEvent("player_hurt"Event_PlayerHurtEventHookMode_PostNoCopy);
}

public 
void OnMapStart(){
    
PrecacheDecal("overlays/hitmarker/hitmarker.vtf"true);
    
PrecacheDecal("overlays/hitmarker/hitmarker.vmt"true);
    
AddFileToDownloadsTable("materials/overlays/hitmarker/hitmarker.vtf");
    
AddFileToDownloadsTable("materials/overlays/hitmarker/hitmarker.vmt");
}

public 
void Event_PlayerHurt(Event event, const char[] namebool dontBroadcast){
    
int client GetClientOfUserId(event.GetInt("attacker"));    
    if (!
client){
        return;
    }
    
    
HitMarker(client"overlays/hitmarker/hitmarker");
    
CreateTimer(0.5Timer_DisableHMclient);
}

public 
Action Timer_DisableHM(Handle timerany client){
    if (
IsClientInGame(client)){
        
HitMarker(client"");
    }
}

HitMarker(int client, const char[] szPath){
    
ClientCommand(client"r_screenoverlay \"%s\""szPath);

(made by Franc1sco)

Last edited by K1lleR_gamea; 05-01-2020 at 11:06.
K1lleR_gamea is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 05-01-2020 , 15:20   Re: (CSGO) Hitmarker
Reply With Quote #5

PM me on discord, i can show the version made by me
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Ez_Danny
New Member
Join Date: Aug 2019
Old 05-23-2020 , 21:54   Re: (CSGO) Hitmarker
Reply With Quote #6

Its possible to show the hitmarker to spectaters of attacker too?
Ez_Danny is offline
Reply



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 08:41.


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