Raised This Month: $ Target: $400
 0% 

Help Scoreboard Teamdeathmatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bluelytning
Junior Member
Join Date: Oct 2010
Old 09-09-2012 , 10:06   Help Scoreboard Teamdeathmatch
Reply With Quote #1

how? to make this teamdeatchmatch scoreboard with spr sorry for asking again im a newbie im just learning script code im self study this is my start pls... help!!! like this http://i365.photobucket.com/albums/o...scoreboard.jpg


this is sample of normal scoreboard how to make a team deathmatch with spr?

PHP Code:
#include <amxmodx>
#include <cstrike>

#include <metahook>

new g_score_tg_score_ct

public plugin_init()
{
    
register_event("TeamScore""team_score""a")
    
set_task(1.0"show_score"___"b")
}
public 
team_score()
{
    new 
team[32]
    
read_data(1team31)
    if (
equal(team"CT"))
    {
        
g_score_ct read_data(2)
    }
    else if (
equal(team"TERRORIST"))
    {
        
g_score_t read_data(2)
    }
}
public 
show_score()
{
    for (new 
id 1id <= get_maxplayers();id++)
    {
        if (!
is_user_connected(id) || is_user_bot(id) || !MH_IsMetaHookPlayer(id)) continue;
        
        
        
MH_DrawScoreBoard(id"ScoreboardNomarl"g_score_tg_score_t+g_score_ctg_score_ctGetTotalPlayer(1), GetTotalPlayer(2), 1)
    }
}
GetTotalPlayer(team)
{
    static 
totalid
    total 
0
    
    
for (id 1id <= get_maxplayers(); id++)
    {
        if (
is_user_alive(id))
        {
            if (
            
team == && cs_get_user_team(id) == CS_TEAM_T ||
            
team == && cs_get_user_team(id) == CS_TEAM_CTtotal++
        }
    }
    
    return 
total;

bluelytning is offline
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 09-09-2012 , 11:28   Re: Help Scoreboard Teamdeathmatch
Reply With Quote #2

Not possible in CS 1.6.
gogicaa is offline
bluelytning
Junior Member
Join Date: Oct 2010
Old 09-09-2012 , 11:37   Re: Help Scoreboard Teamdeathmatch
Reply With Quote #3

yes i know it is possible i read some article using metahook i have metahook but i dont known to make kill death match score & how to adding sprite to make images of score board i need sample sorry im a newbie starting learning script
bluelytning is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-09-2012 , 13:50   Re: Help Scoreboard Teamdeathmatch
Reply With Quote #4

What's metahook?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
bluelytning
Junior Member
Join Date: Oct 2010
Old 09-09-2012 , 20:13   Re: Help Scoreboard Teamdeathmatch
Reply With Quote #5

metahook is a module for drawing spr object in the game(like the scoreboard, kill effect, etc)
bluelytning is offline
Infernuz
Member
Join Date: May 2011
Old 09-09-2012 , 21:15   Re: Help Scoreboard Teamdeathmatch
Reply With Quote #6

You can't without modifying players client files.

Last edited by Infernuz; 09-09-2012 at 21:15.
Infernuz is offline
Send a message via ICQ to Infernuz
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:22.


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