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

ScoreBoard Refresh


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 07-01-2018 , 21:06   ScoreBoard Refresh
Reply With Quote #1

I want score board refresh code...if any one have plz share i want to refresh score board for all
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-01-2018 , 21:26   Re: ScoreBoard Refresh
Reply With Quote #2

What are you trying to do? The scoreboard is updated on several different events during gameplay. Also, you can search the forums for this stuff. A simple search in Scripting Help (the proper place to ask this type of question) for "refresh scoreboard" gives two answers.
__________________

Last edited by fysiks; 07-01-2018 at 21:31.
fysiks is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 07-01-2018 , 21:33   Re: ScoreBoard Refresh
Reply With Quote #3

i want to refresh score board when i want....
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 07-01-2018 , 21:37   Re: ScoreBoard Refresh
Reply With Quote #4

here i want to refresh score board..this function exec after 15 rounds re-store player score

PHP Code:

public Addscore()
{
    new 
PlayersMAX_PLAYERS ], numuser;
    
get_players(Playersnum"h");

    for(new 
0numi++) 
    {
        
user Players[i];

        if(
is_user_connected(user))
        {
            
set_entvaruservar_fragsfragsuser ] );
            
set_memberuserm_iDeathsdeathsuser ] );

        }

    }

soumyadip77 is offline
Send a message via Skype™ to soumyadip77
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 07-02-2018 , 00:06   Re: ScoreBoard Refresh
Reply With Quote #5

Check reset score plugin.
Execute it on 16th round start or 15th round end!
__________________
CrAzY MaN is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 07-02-2018 , 03:42   Re: ScoreBoard Refresh
Reply With Quote #6

you r LOL
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 07-02-2018 , 06:17   Re: ScoreBoard Refresh
Reply With Quote #7

PHP Code:
get_user_msgid("ScoreInfo"

Last edited by instinctpt1; 07-02-2018 at 06:34.
instinctpt1 is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 07-02-2018 , 10:48   Re: ScoreBoard Refresh
Reply With Quote #8

Give more description.
I can't understand you.
__________________
CrAzY MaN is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 07-03-2018 , 15:05   Re: ScoreBoard Refresh
Reply With Quote #9

I believe, he want a plugin, which resets everyone score and deaths during any time of the game.

Like: amx_resetscore @all
Alber9091 is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 07-03-2018 , 15:55   Re: ScoreBoard Refresh
Reply With Quote #10

Try this:

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

#pragma semicolon 1

#define MAX_PLAYERS 32
#define ADMIN_FLAGS ADMIN_BAN

new g_Msg_ScoreInfo;

public 
plugin_init( ) 
{
    
register_plugin"Reset Score""1.0""maqi" );
    
    
register_clcmd"amx_resetscores""Cmd_ResetScores"ADMIN_FLAGS"< Resets everyones scores >" );
    
    
g_Msg_ScoreInfo get_user_msgid"ScoreInfo" );
}

public 
Cmd_ResetScoresiIndexiLeveliCid )
{
    if( !
cmd_accessiIndexiLeveliCid) )
        return 
PLUGIN_HANDLED;
        
    new 
iPlayers[MAX_PLAYERS], iNumget_playersiPlayersiNum );
    
    for( new 
0iNumi++ )
        
ResetUserScoreiPlayers[i] );
        
    
console_printiIndex"Successfully cleared all scores!" );
    
    return 
PLUGIN_HANDLED;
}

ResetUserScoreiIndex )
{
    if( !
is_user_connected(iIndex) )
        return;

    
cs_set_user_deathsiIndex);
    
set_user_fragsiIndex);
        
    
message_beginMSG_BROADCASTg_Msg_ScoreInfo );
    
write_byteiIndex );
    
write_short);
    
write_short);
    
write_short);
    
write_shortget_user_team(iIndex) );
    
message_end( );

__________________
stuff

Last edited by maqi; 07-03-2018 at 16:21.
maqi 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 15:50.


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