i think it is something like this
PHP Code:
#include <amxmodx>
#include <colorchat>
#define PLUGIN "ARMY_ENGINE"
#define VERSION "1.0"
#define AUTHOR "PAWN++ Team"
public plugin_init() {
register_plugin ( PLUGIN, VERSION, AUTHOR );
}
public client_putinserver(id)
{
set_task(0.1,"welcome",id)
}
public welcome(id)
{
console_print(id, "[DEBUG]: Debug start");
new szHostname [ 128 ];
get_cvar_string ( "hostname" , szHostname , charsmax ( szHostname ) );
ColorChat ( id, GREEN, "^x03SERVER:^x01 Bun venit pe ^x03%s^x01.", szHostname );
console_print(id, "[DEBUG]: Debug end");
}
__________________