PHP- Kodu:
#include <amxmodx>

#define PLUGIN "REKLAMKO"
#define VERSION "2.0"
#define AUTHOR "patr1g swane / Prayer"

new gpc_adverttime
new gpc_timemsg

new gpcs_string

new s4et4ik 0

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
gpc_adverttime register_cvar("reklamko_time""40")
    
gpc_timemsg register_cvar("reklamko_time_msg""10")
    
    
gpcs_string register_cvar("reklamko""Telefon No : 05345140950^n FB.COM/oguzhan.joe")
}

public 
plugin_cfg()
{
    
set_task(get_pcvar_float(gpc_adverttime), "Advert"random(5000), ""0"b" )
}

public 
Advert()
{
    
s4et4ik 0
    
    set_task
(1.0"showAdvert"444000""0"b")
}

public 
showAdvert(pid)
{
    if(
s4et4ik <= get_pcvar_num(gpc_timemsg))
    {
        
set_hudmessage(02552550.020.1806.05.0)
        
        static 
msg[64]
        
get_pcvar_string(gpcs_stringmsgsizeof msg -1)
        
show_hudmessage(0"%s"msg)
        
        
s4et4ik++
    }
    else if(
task_exists(pid)) remove_task(pid)