Raised This Month: $ Target: $400
 0% 

ResetScore Optimizing/Remove Fakemeta


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 09-29-2012 , 10:21   Re: ResetScore Optimizing/Remove Fakemeta
Reply With Quote #1

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

#define PLUGIN "Reset Score" 
#define VERSION "0.0.1" 

public plugin_init()  

    
register_pluginPLUGINVERSION"kostov" 
    
    
register_clcmd("say /rs""Cmd_ResetScore"
    
register_clcmd("say_team /rs""Cmd_ResetScore"
    
register_clcmd("say /resetscore""Cmd_ResetScore"
    
register_clcmd("say_team /resetscore""Cmd_ResetScore"


public 
Cmd_ResetScore(id)  

    
set_user_frags(id0
    
cs_set_user_deaths(id0
    
    new 
szName[33
    
get_user_name(idUserNamecharsmax(szName))
    
    
client_print(0print_chat"%s has just reset his score"szName


public 
client_putinserver(id)  

    
set_task(10.0"ResetScoreMsg"id


public 
ResetScoreMsg(id)  

    if ( 
is_user_connectedid ) ) 
    { 
        
client_print(0print_chat"To restart your score just write /rs or /resetscore"
    } 

__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 09-29-2012 at 10:25.
pokemonmaster 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 22:10.


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