[已解决]去掉拆包、装包奖励3人修正版for1.75a[附源码]
set_user_frags// 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
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
是发布还是?看上去这代码没问题。。
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
Post by AE86set_user_frags
// 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", &qu...
我这里也有一个,是国外网站上找的。很奇怪总是时有效时无效,在amxx1.71,和amxx1.75a下都可以编译成功。
// 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>
#include <fun>
public plugin_init(){
register_plugin("NoBombScore", "1.0", "MistaGee")
}
public bomb_explode(planter, defuser){
if(is_running("cstrike")) set_user_frags(planter, get_user_frags(planter) - 3);
return PLUGIN_CONTINUE;
}// Funktion :: Bomb exploded
public bomb_defused(defuser){
if(is_running("cstrike")) set_user_frags(defuser, get_user_frags(defuser) - 3);
return PLUGIN_CONTINUE;
} // Funktion :: Bomb defused
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
是的编译不成功,在1.75下回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
Post by AE86是的编译不成功,在1.75下
给你源码,应该可以编译成功的。
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
哦要加这个#include <fun>
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
Post by pop781哦要加这个
#include <fun>
还要if(is_running("cstrike"))
小轩那个可用
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
Post by AE86还要if(is_running("cstrike"))
小轩那个可用
AE86,你测试了吗?感觉怎么样。是不是有时有用有时还会奖励放包成功或者拆包成功者呢?
回复: 求去掉拆包、装包奖励3人修正版for1.75a[附源码]
Post by AE86还要if(is_running("cstrike"))
小轩那个可用
这是防止使用在其他MOD才用得,可以不要的,对函数不了解的要去查
回复: [已解决]去掉拆包、装包奖励3人修正版for1.75a[附源码]
恩..............还行~~~~~~~~~~~~~~
页:
[1]
2