|
楼主 |
发表于 2003-12-14 10:12:53
|
显示全部楼层
来自 中国–湖南–娄底
二。Steam (1.6) Shield restriction
#include <amxmod>
public shield_r(id) {
new team[32]
get_user_team(id,team,32)
if (equal(team,"CT")){
set_hudmessage(200, 100, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 3)
show_hudmessage(id,"Buying this item is currently restricted")
client_cmd(id,"echo Buying this item is currently restricted")
}
return PLUGIN_HANDLED
}
public plugin_init() {
register_plugin("Shield Restriction","1.0","[AoL]Demandred & Pimp Daddy (OoTOAoO)")
register_clcmd("shield","shield_r",-1,"shield")
server_cmd("amx_restrict item 8")
} |
|