This forum is designed for this board cs 1.6.Na our servers and our server rules and stuff.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [Plugin]Say Open Motd

Go down 
AuthorMessage
Dakiz
Admin


Posts : 7
Points : 24
Join date : 2013-01-30

PostSubject: [Plugin]Say Open Motd   Thu Jan 31, 2013 3:55 pm

Say Open Motd



Ovaj plugin sluzi da kad igrac kuca da mu se pojavi MOTD prozor on izgleda ovako



Evo kod plugina pa ga complile

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

#define PLUGIN "MOTD poruke"
#define VERSION "1.0"
#define AUTHOR "Massive Boredom"


 
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
   
    register_clcmd("say /cene","slot")
    register_clcmd("say_team /cene","slot")

    register_cvar("Advertise","90")
    set_task(get_cvar_float("Advertise"),"advertise" , _ , _ , _ , "b") 
}



public  slot(id,level,cid)
{
    new configsdir[200]
    new MOTDfile[200]
   
    get_configsdir(configsdir,199)
    format(MOTDfile,199,"%s/motd/uplate.html",configsdir)
   
    show_motd(id,MOTDfile)
   
    return PLUGIN_HANDLED
}


public advertise()
{
    client_print(0,print_chat,"Napisite /cene da vidite kolko kosta admin i kako da uplaitte.")
    return PLUGIN_HANDLED
}

Stisni na link za complile Complile
Back to top Go down
View user profile http://heavens-gameing.wow3.info
 
[Plugin]Say Open Motd
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Heaven Gaming :: cs 1.6 :: Plugini-
Jump to: