View Single Post
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 04-02-2009 , 16:11   Re: Permanent message
Reply With Quote #8

i have a question...

i used for a long time.. this:

PHP Code:
// credits: Emp`, dor123

#include <amxmodx>
#include <amxmisc>

#define PLUGIN    "Timeleft mapname & web"
#define AUTHOR    "Alucard"
#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"| TL: %02d:%02d | www.nv-arg.com.ar | Map: %s |",(gmtm 60),(gmtm 60), mapname );
                
set_hudmessage(808080, -1.00.0200.02.00.00.22);
                
ShowSyncHudMsgiHUDSYNCscoreboard );
    }
    }

what plugin is better?

well, i know that the "Permament message" independent have more things, cvars, etc... but i am asking about the way to do a PERMANENT MESSAGE...

thx

good plugin (:
Alucard^ is offline
Send a message via Skype™ to Alucard^