下面是引用 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")