scsfqqssyy 发表于 2010-4-4 15:00:26

来个国外的奖励插件原代码

什么都不错就是不支持彩色文本,希望高手修改下

说明::

这个插件有以下功能,奖励埋雷,奖励C4爆炸成功,奖励第一、二、三个kill等等,不用的也可以禁止掉。也可以调节奖励金额。

Amx_bonus_planter "500 1" // Bonus for C4 planter.
Amx_bonus_explode "500 1" // Bonus for the planter when C4 was exploded.
Amx_bonus_defuser "1000 1" // Bonus for who defused C4 bomb.
Amx_bonus_headshot "200 1" // Bonus for player who headshot someone.
Amx_bonus_o4killer "200 1" // Bonus for player who killed someone by grenade.
Amx_bonus_9fkiller "5000 1" // Bonus for player who killed someone by knife.
Amx_bonus_1stkiller "1000 1" // Bonus for the first killer in a round. Set 0 to disable as well as tow cvars followed.
Amx_bonus_2ndkiller "500 1" // Bonus for the second killer in a round.
Amx_bonus_3rdkiller "300 1" // Bonus for the third killer in a round.

Amx_servertag "" // A tag displayed at the head of color message, Need restart to enable change.

Amx_setgmnum 200 500 1000 2000 5000 10000 // See command explaination





The format of 9 cvars below is: cvarname "<0|Bonus> <0|1>"(1st argument is bouns amount, set 0 to disable; 2nd argument control show chat msg or not, put nothing=1)
**NOTICE**
1. If set 2 arguments, double quotation is needed, even in console
2. DO NOT put too much blank between the two arguments, otherwise something bad will happen :D
**********
Amx_bonus_planter "500 1" // Bonus for C4 planter.
Amx_bonus_explode "500 1" // Bonus for the planter when C4 was exploded.
Amx_bonus_defuser "1000 1" // Bonus for who defused C4 bomb.
Amx_bonus_headshot "200 1" // Bonus for player who headshot someone.
Amx_bonus_o4killer "200 1" // Bonus for player who killed someone by grenade.
Amx_bonus_9fkiller "5000 1" // Bonus for player who killed someone by knife.
Amx_bonus_1stkiller "1000 1" // Bonus for the first killer in a round. Set 0 to disable as well as tow cvars followed.
Amx_bonus_2ndkiller "500 1" // Bonus for the second killer in a round.
Amx_bonus_3rdkiller "300 1" // Bonus for the third killer in a round.

Amx_servertag "" // A tag displayed at the head of color message, Need restart to enable change.

Amx_setgmnum 200 500 1000 2000 5000 10000 // See command explaination

scsfqqssyy 发表于 2010-4-4 15:03:31

另外高手告诉我下Amx_servertag "" // A tag displayed at the head of color message, Need restart to enable change.
是控制什么的

Amx_setgmnum 200 500 1000 2000 5000 10000 // See command explaination

是控制什么奖励的金钱

wk703 发表于 2011-8-7 09:51:36

奖励的金钱

673734294 发表于 2011-8-19 05:59:25

看看

Sara 发表于 2011-9-6 15:59:13

Kaleidoscopic.Team < #33

zhaosai8 发表于 2011-9-21 03:30:41

谢谢分享 我不会用哈哈

zww011 发表于 2012-1-28 16:24:04

全英文的么···
页: [1]
查看完整版本: 来个国外的奖励插件原代码