查看: 2545|回复: 26

[源码]被人打死以后自曝插件

[复制链接]
发表于 2014-12-7 16:41:16 | 显示全部楼层 |阅读模式
        new origin[3]
        get_user_origin(id, origin)
        new blast_cir = get_pcvar_num(g_cvar_radius)
       
        // blast circles
        message_begin(MSG_PAS, SVC_TEMPENTITY, origin)
        write_byte(TE_BEAMCYLINDER)
        write_coord(origin[0])
        write_coord(origin[1])
        write_coord(origin[2] - 16)
        write_coord(origin[0])
        write_coord(origin[1])
        write_coord(origin[2] - 16 + blast_cir)
        write_short(m_iSpriteTexture)
        write_byte(0) // startframe
        write_byte(0) // framerate
        write_byte(6) // life
        write_byte(16) // width
        write_byte(0) // noise
        write_byte(188)
        write_byte(220)
        write_byte(255)
        write_byte(255) //brightness
        write_byte(0) // speed
        message_end()
       
        message_begin(MSG_PAS, SVC_TEMPENTITY, origin)
        write_byte(TE_BEAMCYLINDER)
        write_coord(origin[0])
        write_coord(origin[1])
        write_coord(origin[2] - 16)
        write_coord(origin[0])
        write_coord(origin[1])
        write_coord(origin[2] - 16 + blast_cir / 2)
        write_short(m_iSpriteTexture)
        write_byte(0) // startframe
        write_byte(0) // framerate
        write_byte(6) // life
        write_byte(16) // width
        write_byte(0) // noise
        write_byte(188)
        write_byte(220)
        write_byte(255)
        write_byte(255) //brightness
        write_byte(0) // speed
        message_end()
       
        // random explosions
        message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
        write_byte(TE_EXPLOSION) // This just makes a dynamic light now
        write_coord(origin[0] + random_num(-100, 100))
        write_coord(origin[1] + random_num(-100, 100))
        write_coord(origin[2] + random_num(-50, 50))
        write_short(g_sModelIndexFireball)
        write_byte(random_num(20, 40)) // scale * 10
        write_byte(12) // framerate
        write_byte(TE_EXPLFLAG_NONE)
        message_end()
       
        // lots of smoke
        message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
        write_byte(TE_SMOKE)
        write_coord(origin[0] + random_num(-100, 100))
        write_coord(origin[1] + random_num(-100, 100))
        write_coord(origin[2] + random_num(-50, 50))
        write_short(g_sModelIndexSmoke)
        write_byte(60) // scale * 10
        write_byte(10) // framerate
        message_end()
       
        set_task(0.5, "bum", id)
}

被人打死以后自曝.rar

1.25 KB, 下载次数: 12

售价: 2 金钱  [记录]

发表于 2014-12-7 16:41:47 | 显示全部楼层
人气还要再提高  
发表于 2014-12-7 17:39:00 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2014-12-7 19:15:09 | 显示全部楼层
什么东东啊这是
发表于 2014-12-7 19:36:04 | 显示全部楼层
疯油精 发表于 2014-12-7 16:41
人气还要再提高

风油精好久没看见你玩了!
发表于 2014-12-7 20:07:00 | 显示全部楼层
人之所以能,是相信能。  
发表于 2014-12-8 00:45:03 | 显示全部楼层
这贴?不回都不行啊  
发表于 2014-12-9 12:09:22 | 显示全部楼层
顶一下吧。
发表于 2015-1-9 09:53:27 | 显示全部楼层
我卷了~~~~~~~  
发表于 2015-2-14 14:56:39 | 显示全部楼层
一楼的位置好啊..  
您需要登录后才可以回帖 登录 | 中文注册

本版积分规则