Raised This Month: $52 Target: $400
 13% 

Need This Scoreboard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Abdulrazzaq
Member
Join Date: Oct 2019
Location: NZ
Old 08-18-2020 , 11:53   Need This Scoreboard
Reply With Quote #1

Hi Guyz

I Need This Scoreboard for my Online Linux Server ....



i saw this in a cs version i downloaded .....it looks very cool

The score board file is attached

and then i searched a lot and found this too but acg module is required ...
i got the module for the cs windows version ..but didn't got it for the linux ...

so anyone can help me on this ?? ....man this one is awesome



Code:
#include <amxmodx>
#include <amxmisc>
#include <acg>

new ctwin = 0, twin = 0

public plugin_init() {
register_plugin("ScoreBoard", "0.1", "[email protected]")
register_event("TeamScore","calc_teamscore"," a")
set_task (2.0, "updatescoreboard", _, _, _,"b")
}

public plugin_precache()
{
precache_model("sprites/scoreboard.spr")
precache_model("sprites/scoreboard_text.spr")
}

public calc_teamscore()
{
new parm[16]
read_data(1,parm,charsmax(parm))
if (parm[0] == 'T')
twin = read_data(2)
else
ctwin = read_data(2)
}

public updatescoreboard()
{
new Players[32]
new cts, ts, total, i, id
get_players(Players, cts, "ae", "CT")
get_players(Players, ts, "ae", "TERRORIST")
get_players(Players, total, "c")
for (i=0; i<total; i++)
{
id = Players[i]
acg_updatescoreboard(id, twin, ctwin + twin, ctwin, ts, cts, 2)
}
}

public client_putinserver(id)
{
if (acg_userstatus(id))
set_task(2.0,"showsb",id)
}

public client_disconnect(id)
{
remove_task(id)
}

public showsb(id)
{
acg_setscoreboardspr(id, SB_NORMAL, SB_T_CT, SB_ROUND)
}

Attached Images
File Type: jpg acg_example.jpg (95.8 KB, 58 views)

Last edited by Abdulrazzaq; 08-18-2020 at 11:54.
Abdulrazzaq is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-18-2020 , 13:23   Re: Need This Scoreboard
Reply With Quote #2

So how can we help? Especially without the file you explicitly said is uploaded.
__________________


Dear admins. If somehow you managed to read this, plz fix.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-18-2020 , 13:35   Re: Need This Scoreboard
Reply With Quote #3

This looks like a client side modification, either directly in the client or with something like metahook. Not something you can do with a plugin alone(btw we do not support metahook here).
__________________
HamletEagle is offline
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 02:57.


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