husano896
|
分享:
▲
▼
在zombie_plauge40.sma裡面搜尋WIN_HUMAN 按"找下一個"3次後
找跟下方類似的腳本
之後覆蓋即可(修改以前請先備份)
複製腳本
if (!fnGetZombies()) { // Human team wins set_hudmessage(0, 0, 200, HUD_EVENT_X, HUD_EVENT_Y, 0, 0.0, 3.0, 2.0, 1.0, -1) //ShowSyncHudMsg(0, g_MsgSync, "%L", LANG_PLAYER, "WIN_HUMAN") client_print(0, print_center,"%L", LANG_PLAYER, "WIN_HUMAN")
// Play win sound and increase score PlaySound(sound_win_humans[random_num(0, sizeof sound_win_humans -1)]) g_scorehumans++ // Round end forward ExecuteForward(g_fwRoundEnd, g_fwDummyResult, 2); } else if (!fnGetHumans()) { // Zombie team wins set_hudmessage(200, 0, 0, HUD_EVENT_X, HUD_EVENT_Y, 0, 0.0, 3.0, 2.0, 1.0, -1) //ShowSyncHudMsg(0, g_MsgSync, "%L", LANG_PLAYER, "WIN_ZOMBIE") client_print(0, print_center,"%L", LANG_PLAYER, "WIN_ZOMBIE")
// Play win sound and increase score PlaySound(sound_win_zombies[random_num(0, sizeof sound_win_zombies -1)]) g_scorezombies++ // Round end forward ExecuteForward(g_fwRoundEnd, g_fwDummyResult, 1); } else { // 因為時間到所以人類獲勝(仿cso) set_hudmessage(0, 0, 200, HUD_EVENT_X, HUD_EVENT_Y, 0, 0.0, 3.0, 2.0, 1.0, -1) //ShowSyncHudMsg(0, g_MsgSync, "%L", LANG_PLAYER, "WIN_HUMAN") client_print(0, print_center,"%L", LANG_PLAYER, "WIN_HUMAN")
// Play win sound and increase score PlaySound(sound_win_humans[random_num(0, sizeof sound_win_humans -1)]) g_scorehumans++ // Round end forward ExecuteForward(g_fwRoundEnd, g_fwDummyResult, 2); } }
|