下面是引用 es92105 于 2009-07-05 18:12 发表的 :
不懂
找到了那些后要干麻
直接把那个档案转成AMXX?
还事诊样
找到后改成你想要的数值,改了后再转成amxx
改红色的字
public plugin_init() {
register_plugin("ZoomGuns", "
1.0", "OneEyed")
if(!cvar_exists("zoom_on"))
register_cvar("zoom_on","1")
if(!cvar_exists("zoom_delay"))
register_cvar("zoom_delay","
0.4")
if(!cvar_exists("zoom_pistol"))
register_cvar("zoom_pistol","
65")
if(!cvar_exists("zoom_shotgun"))
register_cvar("zoom_shotgun","
60")
if(!cvar_exists("zoom_submachinegun"))
register_cvar("zoom_submachinegun","
50")
if(!cvar_exists("zoom_rifleone"))
register_cvar("zoom_rifleone","
45")
if(!cvar_exists("zoom_rifletwo"))
register_cvar("zoom_rifletwo","
50")
if(!cvar_exists("zoom_machinegun"))
register_cvar("zoom_machinegun","
55")