Raised This Month: $ Target: $400
 0% 

pulugins add enable disable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
the_raculaa
Junior Member
Join Date: Jan 2010
Old 08-16-2010 , 19:12   pulugins add enable disable
Reply With Quote #1

hello add to plugins enable disable?

amx_mapname 0

I am sory bad speek English

I am use google translate

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

#define PLUGIN    "Timeleft and map"
#define AUTHOR    "Emp`"
#define VERSION    "1.0"

new HUDSYNCmapname[64];

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
get_mapname(mapname,63);
    
set_task(1.0,"timer_task",_,"",0,"b");
    
HUDSYNC CreateHudSyncObj();
}

public 
timer_task() {

    static 
gmtmscoreboard[128];
    
gmtm get_timeleft();
    for(new 
i=1;i<=32;i++) {

        if(
is_user_connected(i) && is_user_alive(i) ) {
                
formatex(scoreboard127"| Kalan Sure: %02d:%02d |  Harita: %s |",(gmtm 60),(gmtm 60), mapname );
                
set_hudmessage(1901901900.25, -0.9701.01.750.10.1, -1);
                
ShowSyncHudMsgiHUDSYNCscoreboard );
        }
    }

the_raculaa is offline
 



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 10:43.


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