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(PLUGIN, VERSION, AUTHOR);
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(i = 0; i <= iNum; i++){
new id = iPlayers[i];
if(!is_user_connected(id)) continue;
set_hudmessage(200, 0, 0, 0.80, 0.05, 1, 1.0, 1.5, 0.0, 0.0, 2);
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 }
*/