[求助]埋包拆包自动奖励插件
public plugin_init(){register_plugin("NoBombScore", "1.0", "MistaGee | 奔の驰")
}
public bomb_explode(planter, defuser){
set_user_frags(planter, get_user_frags(planter) - 3);
return PLUGIN_CONTINUE;
}// Funktion :: Bomb exploded
public bomb_defused(defuser){
set_user_frags(defuser, get_user_frags(defuser) - 3);
return PLUGIN_CONTINUE;
} // Funktion :: Bomb defused
这个是取消埋包拆包 自动奖励三人插件里的代码.
怎么改才可以把它改为加300HP和5000$呢?
回复: 插件求助
把这个set_user_frags(planter, get_user_frags(planter) - 3);
改成加血
set_user_health
Fun (fun.inc)
Description
set_user_health - Sets player health.
Syntax
set_user_health ( index, health )
Type
Native
Notes
index is a player index from 1 to 32.
和这个加钱
cs_set_user_money
Cstrike (cstrike.inc)
Description
cs_set_user_money - Sets a user's money count.
Syntax
cs_set_user_money ( index , money, [ flash = 1] )
Type
Native
Notes
index is a player index from 1 to 32.
If flash is set to 0, the difference between the old and new money will NOT flash
回复: 插件求助
麻烦给个改好的源代码出来好吗,谢谢~~:)回复: 插件求助
全部复制????可以把改过的全文贴上来吗?
我不会看那些代码.谢谢!
回复: 插件求助
好像看明白了...是不是将set_user_frags(planter, get_user_frags(planter) - 3);
替换成您提供的代码即可?
谢谢
回复: 插件求助
最近我也在找这个插件,原插件挂上了也没什么用处,该奖励还是奖励的楼主可不可以发一个只奖励3000元的插件呢,谢谢了
回复: 插件求助
都是高手阿:super: 强回复: [求助]埋包拆包自动奖励插件
哪位高人可不可以发一个nobombscore.amxx插件,设置为放包成功和拆包成功不奖励杀人数,就单纯的奖励3000元的wp这里提供源码回复: [求助]埋包拆包自动奖励插件
// Don't Count three Fragz on Bomb explosion / defusal// Coded by MistaGee, requested in the "german" forum by the_venom
#include <amxmodx>
#include <amxmisc>
#include <csx>
public plugin_init(){
register_plugin("NoBombScore", "1.0", "MistaGee | 奔の驰")
}
public bomb_explode(planter, defuser){
set_user_frags(planter, get_user_frags(planter) - 3);
return PLUGIN_CONTINUE;
}// Funktion :: Bomb exploded
public bomb_defused(defuser){
set_user_frags(defuser, get_user_frags(defuser) - 3);
return PLUGIN_CONTINUE;
} // Funktion :: Bomb defused
回复: [求助]埋包拆包自动奖励插件
二楼的可以给解释的明白些么?要不直接发个改好的源码也行呀!
页:
[1]
2