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

Rest Score Plugin [NeW]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 07-04-2016 , 18:13   Rest Score Plugin [NeW]
#1

Cs 1.6 Restart-Score Plugin
==========================================
Hi Guys You Want Rest Yor Score In Counter-Strike 1.6 Server
I Creat Plugin Rest Your Score + Message Color

Plugin Include:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <ColorChat> 
Plugin Const
PHP Code:
new g_rs_adv
new g_rs_di
new const PREFIX[] = "[Restart-Score]" 
Register Plugin:

PHP Code:
register_plugin("Restart Score System""1.5""KaLo"
Plugin Commands:

PHP Code:
 // Cld Cmd : say /rs Or /restscore Or /restartscore
     
register_clcmd("say /rs""Rest_Score")
     
register_clcmd("say /restscore""Rest_Score")
     
register_clcmd("say /restartscore""Rest_Score"
Plugin Cvars

PHP Code:
    g_rs_adv register_cvar("sv_rsadvertise""0")
    
g_rs_di register_cvar("sv_rsdisplay""0"
Commands: say /rs Or /restscore Or /restartscore
Attached Files
File Type: sma Get Plugin or Get Source (rest_score.sma - 2339 views - 1.6 KB)
__________________

Last edited by Arkshine; 07-05-2016 at 02:18.
Amine Belokda is offline
Send a message via MSN to Amine Belokda
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 07-04-2016 , 19:30   Re: Rest Score Plugin [NeW]
#2

PHP Code:
    if(get_pcvar_num(g_rs_di) == 1)
    {
        new 
name[33]
        
get_user_name(idname32)
             
ColorChatidGREEN"%s ^1%s ^4Has Just Reset His Score"PREFIXname)
    }
    else
    {
            
ColorChat0GREEN"%s ^1You Have Just Reset Your Score"PREFIX)
    } 
Dafuq?

Your name is showing for yourself, but with the cvar 0, show for everyone this message without your name? i cant understand it.

PHP Code:
set_task(10.0"welcomemessage"id__"a"1
Facepalm, i'm dead now.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 07-04-2016 at 19:30.
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-04-2016 , 20:37   Re: Rest Score Plugin [NeW]
#3

Still not banned?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 07-05-2016 , 01:38   Re: Rest Score Plugin [NeW]
#4

Quote:
Originally Posted by EFFx View Post
PHP Code:
    if(get_pcvar_num(g_rs_di) == 1)
    {
        new 
name[33]
        
get_user_name(idname32)
             
ColorChatidGREEN"%s ^1%s ^4Has Just Reset His Score"PREFIXname)
    }
    else
    {
            
ColorChat0GREEN"%s ^1You Have Just Reset Your Score"PREFIX)
    } 
Dafuq?

Your name is showing for yourself, but with the cvar 0, show for everyone this message without your name? i cant understand it.

PHP Code:
set_task(10.0"welcomemessage"id__"a"1
Facepalm, i'm dead now.
What
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-05-2016 , 02:20   Re: Rest Score Plugin [NeW]
#5

Please read the rules: https://forums.alliedmods.net/showthread.php?t=21956.

Don't release again such kind of plugin until you fully understand what you are doing and you have finally read the rules.
__________________

Last edited by Arkshine; 07-05-2016 at 02:22.
Arkshine is offline
Closed Thread



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 20:32.


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