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); } }
|