|
public plugin_init() {
register_plugin("Fireworks++","2.5","Twilight Suzuka")
register_menucmd(register_menuid("Fireworks Menu:"),1023,"fireworks_keys")
register_think("nrm_fireworks","fireworks_think");
register_think("firework_rc","fireworks_think");
register_think("firework_rv","fireworks_think");
register_think("firework_normal","fireworks_think");
register_touch("*","firework_rc","fireworks_touch");
register_touch("*","firework_rv","fireworks_touch");
register_touch("*","firework_normal","fireworks_touch");
register_touch("*","nrm_fireworks","fireworks_touch");
register_concmd("say","handle_say")
register_srvcmd("set_lights","changelights")
register_concmd("firework","spawn_firework")
register_concmd("firework_rv","spawn_firework")
register_concmd("firework_rc","spawn_firework")
register_concmd("firework_shooter","spawn_shooter")
register_concmd("shoot_fireworks","shoot_firework")
register_concmd("fireworks_password","check_password")
register_concmd("remove_fireworks","remove_fireworks")
register_concmd("remove_shooters","remove_shooters")
register_concmd("amx_remove_fireworks","amx_remove_fireworks")
register_concmd("amx_remove_shooters","amx_remove_shooters")
register_cvar("fireworks_enable","1")
register_cvar("fireworks_flare_count","30")
register_cvar("fireworks_maxcount","4")
register_cvar("fireworks_amaxcount","16")
register_cvar("fireworks_colortype","0")
register_cvar("fireworks_multiplier","2")
register_cvar("fireworks_xvelocity","100")
register_cvar("fireworks_yvelocity","100")
register_cvar("fireworks","tsx") |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|