Raised This Month: $ Target: $400
 0% 

static data and time bar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 06-12-2011 , 09:48   static data and time bar
Reply With Quote #1

Hello, I need to leave the banner of a time and date equal to the static score, because it is disappearing and appearing as other messages are displayed.

Thanks.



date_and_time .sma:

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

#define PLUGIN    "DATA E HORAS"
#define VERSION    "1.0"
#define AUTHOR    "AUTOR"

#define UPDATE_RATE 1.0

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);
    
set_task(UPDATE_RATE,"data_e_horas",_,_,_,"b");
}
    public 
data_e_horas(){

    new 
iPlayers[32],iNum,i;
    
get_players(iPlayers,iNum,"c");
    new 
Time[54];
    
get_time(".::<SeMxOrA>::.^nData:%d/%m/%Y^nHorario:%H:%M:%S",Time,53);
    for(
0<= iNumi++){
        new 
id iPlayers[i];
        if(!
is_user_connected(id)) continue;
        
set_hudmessage(200000.800.0511.01.50.00.02);
        
show_hudmessage(id"%s"Time);
    }
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1046{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/ 
rodrigo286 is offline
 


Thread Tools
Display Modes

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 23:26.


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