查看: 2882|回复: 26

[源码]boss插件

[复制链接]
发表于 2012-12-9 06:03:24 | 显示全部楼层 |阅读模式
The boss event is when one player is given extra power and is enemy of all other players. (This is not similar to the Predator Mode plugin.)
An admin ("slay" access level required) makes a player the boss (console command amx_boss <name or #userid> <power>). Power is the amount of HP given to the boss and should be in the range from 201 to 999 (if you specify less than 201, it will be 201; if you specify higher than 999, it will be 999). Two players can't be both bosses at the time.
So, after the player was assigned the boss, he becomes terrorist; all other players (except for spectators) become counter-terrorists. Auto team balance is disabled. The game is restarted. Times are changed: round time set to 9 minutes, buy time set to 12 seconds, freeze time set to 12 seconds. Start money is set to 16000 to allow players buy enough equipment to annihilate the boss; as for the boss, he can buy something, but on the 13th second he is stripped all his equipment and given: <power> HP; 100 AP; knife; machinegun (m249) with full ammo. The boss glows bright red.
When boss dies, as well as when he wins the round, the boss event is automatically finished. I.e., all changed cvars (auto team balance, times, start money) are restored; boss is removed his glow shell; and the game is restarted. An admin (with "slay" access level) can also stop the boss event with amx_unboss console command at any time.
If the player whos had been assigned the boss disconnected before the 12 freeze seconds end, the boss event is automatically finished. If the boss disconnected during the boss event round, the boss event is not automatically ended, but an admin can safely issue the amx_unboss command to finish the event.



boss插件.rar

11.43 KB, 下载次数: 16

售价: 2 金钱  [记录]

发表于 2012-12-13 06:29:01 | 显示全部楼层
做一个,做好了,请看  
发表于 2012-12-14 10:06:30 | 显示全部楼层
(*^__^*) 嘻嘻……   
发表于 2012-12-15 20:59:35 | 显示全部楼层
不错不错.,..我喜欢  
发表于 2013-9-1 15:34:45 | 显示全部楼层
虽然不知道是什么样的BOSS
发表于 2013-9-1 15:35:57 | 显示全部楼层
还是下载来看看吧
发表于 2014-10-1 16:36:09 | 显示全部楼层
没有医保和寿险的,天黑后请不要见义勇为……  
发表于 2014-12-14 23:03:44 | 显示全部楼层
抢座位来了  
发表于 2015-1-10 00:37:46 | 显示全部楼层
真的有么  
发表于 2015-2-15 03:11:07 | 显示全部楼层
在线等在线等  
您需要登录后才可以回帖 登录 | 中文注册

本版积分规则