Raised This Month: $ Target: $400
 0% 

[CS:GO] Score Display


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chasin
Junior Member
Join Date: Sep 2015
Old 11-05-2019 , 06:12   [CS:GO] Score Display
Reply With Quote #1

Hi,

I'm searching for a plugin that display the score after the end of each match round.
Example like eBot: https://ibb.co/pbpRGZX

Can someone make this for me?
I would really appreciate this.
Chasin is offline
Mr.Freeman
Senior Member
Join Date: Nov 2013
Location: Canada
Old 11-05-2019 , 10:48   Re: [CS:GO] Score Display
Reply With Quote #2

I believe both Get5 and PugSetup have that in them already. Let me know if you cant find them it shouldnt be hard to find the values.
__________________
Feel Free to PM me about any questions, I'll do my best to help
Mr.Freeman is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-05-2019 , 13:22   Re: [CS:GO] Score Display
Reply With Quote #3

Quote:
Originally Posted by Mr.Freeman View Post
I believe both Get5 and PugSetup have that in them already. Let me know if you cant find them it shouldnt be hard to find the values.
I would also like to know about this function.
gildevanaraujo is offline
Chasin
Junior Member
Join Date: Sep 2015
Old 11-07-2019 , 04:07   Re: [CS:GO] Score Display
Reply With Quote #4

Someone available to make this function? There is demand for this
Chasin is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 11-08-2019 , 09:41   Re: [CS:GO] Score Display
Reply With Quote #5

PHP Code:

#include <sourcemod>
#include <sdktools>
#include <cstrike>

#pragma newdecls required

public void OnPluginStart()
{
    
HookEvent("round_end"Event_RoundEnd);
}

public 
void Event_RoundEnd(Event event, const char[] namebool dontBroadcast)
{
    if (
IsWarmupPeriod())
    {
        return;
    }
    
    
char terroristsName[64], ctsName[64];
    
GetTeamName(CS_TEAM_TterroristsNamesizeof(terroristsName));
    
GetTeamName(CS_TEAM_CTctsNamesizeof(ctsName));

    
int terroristsScore GetTeamScore(CS_TEAM_T);
    
int ctsScore GetTeamScore(CS_TEAM_CT);

    
PrintToChatAll("%s \x04%d\x01 - \x04%d\x01 %s"terroristsNameterroristsScorectsScorectsName);
}

bool IsWarmupPeriod()
{
    return 
view_as<bool>(GameRules_GetProp("m_bWarmupPeriod"));

__________________
Ilusion9 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 09:40.


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