|
发表于 2011-11-19 18:42:41
|
显示全部楼层
来自 中国–广东–河源
#include <amxmodx>
#include <cstrike>
#include <unlimited_money>
public plugin_init() {
register_plugin("money","1.0","zhangsheng")
register_logevent("SetMoney",2,"0=World triggered","1=Round_Start")
}
public SetMoney()
{
new playerscount = get_playersnum()
new i
for (i = 1; i <= playerscount; i++)
{
new playername[32]
get_user_name(i,playername,31)
if(get_user_flags(i)ADMIN_LEVEL_A){
cs_set_user_armor(i,100,CS_ARMOR_VESTHELM)
cs_set_user_money2(i,3000)
}
}
return PLUGIN_CONTINUE;
} |
|