Raised This Month: $32 Target: $400
 8% 

Solved [CSGO] plugin req


Post New Thread Reply   
 
Thread Tools Display Modes
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 06-13-2018 , 02:04   Re: [CSGO] print damage in hud
Reply With Quote #11

Quote:
Originally Posted by sHoC View Post
its possible to make a text in hud too under the crosshair. when you kill someone ELIMINATED Francisco
can you add this function too? you forgot about this
__________________
sHoC is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-13-2018 , 11:17   Re: [CSGO] print damage in hud
Reply With Quote #12

Quote:
Originally Posted by sHoC View Post
can you add this function too? you forgot about this
Added -> https://github.com/Franc1sco/Franug-...mageAsFortnite


Screenshot: https://steamcommunity.com/sharedfil...?id=1410680028
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 06-13-2018 , 12:25   Re: [CSGO] print damage in hud
Reply With Quote #13

but I wanted it same as in fornite.. the text “ELIMINATED” is white and the name of the enemy is red
__________________
sHoC is offline
LenHard
Senior Member
Join Date: Jan 2016
Old 06-13-2018 , 23:10   Re: [CSGO] print damage in hud
Reply With Quote #14

Quote:
Originally Posted by sHoC View Post
but I wanted it same as in fornite.. the text “ELIMINATED” is white and the name of the enemy is red
Change this
PHP Code:
if(iHp 1)
{
    
SetHudTextParams(-1.0, -0.452.02552552552001);
    
    
ShowHudText(iAttacker4"ELIMINATED %N"iVictim);

To
PHP Code:
if (iHp 1)
{
    
SetHudTextParams(0.370.452.02552552552001);
    
ShowHudText(iAttacker1"ELIMINATED");
    
    
SetHudTextParams(0.510.452.0255002001);
    
ShowHudText(iAttacker4"%N"iVictim);

At line #77
__________________

Last edited by LenHard; 06-13-2018 at 23:27.
LenHard is offline
sHoC
Senior Member
Join Date: Nov 2015
Location: Italy
Old 06-14-2018 , 01:15   Re: [CSGO] print damage in hud
Reply With Quote #15

Quote:
Originally Posted by LenHard View Post
Change this
PHP Code:
if(iHp 1)
{
    
SetHudTextParams(-1.0, -0.452.02552552552001);
    
    
ShowHudText(iAttacker4"ELIMINATED %N"iVictim);

To
PHP Code:
if (iHp 1)
{
    
SetHudTextParams(0.370.452.02552552552001);
    
ShowHudText(iAttacker1"ELIMINATED");
    
    
SetHudTextParams(0.510.452.0255002001);
    
ShowHudText(iAttacker4"%N"iVictim);

At line #77
thank you sir
__________________
sHoC is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-15-2018 , 07:13   Re: [CSGO] plugin req
Reply With Quote #16

@LenHard its should be -0.45 and not 0.45 for be under the crosshair.


Plugin posted here -> https://forums.alliedmods.net/showthread.php?p=2597075
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Reply


Thread Tools
Display Modes

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


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