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

[L4D1/2] Assistance System v.2


Post New Thread Reply   
 
Thread Tools Display Modes
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 03-10-2022 , 12:42   Re: [L4D1/2] Assistance System v.2
Reply With Quote #21

Frags message spams every X minutes instead of only at end of the round as the cvar description says. How I can change this?

EDIT: I found the code:

public void OnMapStart()
{
CreateTimer(180.0, Timer_ShowFrags, _, TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT);
}

I've changed 180 to 600, so now it's fine to me

Last edited by Toranks; 03-10-2022 at 12:52.
Toranks is offline
loio
Member
Join Date: Apr 2022
Old 04-30-2022 , 17:42   Re: [L4D1/2] Assistance System v.2
Reply With Quote #22

Quote:
Originally Posted by Toranks View Post
Frags message spams every X minutes instead of only at end of the round as the cvar description says. How I can change this?

EDIT: I found the code:

public void OnMapStart()
{
CreateTimer(180.0, Timer_ShowFrags, _, TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT);
}

I've changed 180 to 600, so now it's fine to me
can you tell me how to change the counting color to grey?
loio is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 04-30-2022 , 17:55   Re: [L4D1/2] Assistance System v.2
Reply With Quote #23

Quote:
Originally Posted by loio View Post
can you tell me how to change the counting color to grey?
Using {grey} on translation file, I think
Toranks is offline
loio
Member
Join Date: Apr 2022
Old 04-30-2022 , 19:32   Re: [L4D1/2] Assistance System v.2
Reply With Quote #24

Quote:
Originally Posted by Toranks View Post
Using {grey} on translation file, I think
this where is FRAGS_STRING?

"FRAGS_STRING"
{
"#format" "{1:s},{2:s},{3:d}"
"en" "{1}{blue}{2} - {3}{grey}"
"ru" "{1}{blue}{2} - {3}{grey}"
}

So?
loio is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 04-30-2022 , 20:11   Re: [L4D1/2] Assistance System v.2
Reply With Quote #25

Quote:
Originally Posted by loio View Post
this where is FRAGS_STRING?

"FRAGS_STRING"
{
"#format" "{1:s},{2:s},{3:d}"
"en" "{1}{blue}{2} - {3}{grey}"
"ru" "{1}{blue}{2} - {3}{grey}"
}

So?
Yes but put color before
Quote:
"FRAGS_STRING"
{
"#format" "{1:s},{2:s},{3:d}"
"en" "{1}{blue}{2} - {grey}{3}"
"ru" "{1}{blue}{2} - {grey}{3}"
"es" "{1}{blue}{2} - {grey}{3}"
}
Toranks is offline
loio
Member
Join Date: Apr 2022
Old 04-30-2022 , 23:19   Re: [L4D1/2] Assistance System v.2
Reply With Quote #26

Quote:
Originally Posted by Toranks View Post
Yes but put color before
i did it this so

FRAGS_STRING"
{
"#format" "{1:s},{2:s},{3:d}"
"en" "{1}{blue}{2} {3}"
"ru" "{1}{blue}{2} {3}"
}

and deleted
if (!IsFakeClient(attacker)) PrintHintText(attacker, "%t", "FRAGS_HINT", Frags[attacker]);

now a very good plugin, similar even to jony(counter)

syntax already old truth...
loio 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 00:49.


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