引用 | 編輯
tw2twtw
2010-11-18 21:37 |
樓主
▼ |
||
x0
我曾經這樣打過....但編譯時又說有錯誤~((不過能轉.. 錯誤的第4463行 cs_set_user_money(CS_TEAM_CT,cs_get_user_money(CS_TEAM_CT) +2000,1) 錯誤圖: x0
|
引用 | 編輯
i-c0112
2010-11-18 22:41 |
1樓
▲ ▼ |
warning還是可以編譯成功的
不過tag mismatch可能比較嚴重,因為是類型錯誤ex: 該放Float: 放成Bool: 估計是CS_TEAM_CT的被設了tag 話說大大的zombiehell怎麼這麼多行,我的才3744行而已 x0 |
引用 | 編輯
tw2twtw
2010-11-18 22:53 |
2樓
▲ ▼ |
||||||||||
總計4843行...
而且增到了20關....((加10關應該也不會多出1000多行吧...... 放出sma~ 希望有人能修正.....
x0 |
引用 | 編輯
tw2twtw
2010-11-18 23:33 |
4樓
▲ ▼ |
改完後我就到不了下一關了......怎麼殺都在同一關.......
注:編譯時無錯誤... else if (cts_num > 0) //回合結束時,只有倖存者的陣營有生還者. { set_hudmessage(0, 0, 200, -1.0, 0.17, 0, 0.0, 6.0, 2.0, 1.0, -1) ShowSyncHudMsg(0, g_hudSync2, "倖存者消滅了喪屍!") for (new id = 1; id <= 32; id++) { if (cs_get_user_team(id) == CS_TEAM_CT) cs_set_user_money(id, cs_get_user_money(id) + 2000) } log_amx("倖存者們殺光了殭屍,目前第%d局!",g_level +1) survivor_win() set_level(1) } x0 |
引用 | 編輯
tw2twtw
2010-11-20 18:12 |
7樓
▲ ▼ |
史萊姆大的改法...
我把 survivor_win() set_level(1) 移到前面後就可以換關.... 不過發現有個錯誤....((在殺完後會出現一次... L 11/20/2010 - 18:02:54: [CSTRIKE] Invalid player 13 L 11/20/2010 - 18:02:54: [AMXX] Run time error 10 (plugin "zombiehell20.amxx") (native "cs_get_user_money") - debug not enabled! L 11/20/2010 - 18:02:54: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). husano896大的編譯時有tag mismatch.... x0 |
引用 | 編輯
husano896
2010-11-20 19:47 |
8樓
▲ |
下面是引用 tw2twtw 於 2010-11-20 18:12 發表的 : tag mismatch理論上是不會影響的 不用太擔心 x0 |