幫忙做修改囉 某方勝利時會有閃閃發亮文字 (第一次改這種程式碼 @@)
把這部份.....
switch (team)
{
case WIN_HUMANS: zp_set_user_ammo_packs(i, zp_get_user_ammo_packs(i)+get_pcvar_num(g_pCvarAmmo[0]))
case WIN_ZOMBIES: zp_set_user_ammo_packs(i, zp_get_user_ammo_packs(i)+get_pcvar_num(g_pCvarAmmo[1]))
}
換成...... (用複製貼上)switch (team)
{
case WIN_HUMANS:
{
zp_set_user_ammo_packs(i, zp_get_user_ammo_packs(i)+get_pcvar_num(g_pCvarAmmo[0]))
set_hudmessage(32, 123, 223, 0.05, 0.45, 1, 0.0, 5.0, 1.0, 1.0, -1)
show_hudmessage(0, "每個人類獲得 %d 彈藥包", get_pcvar_num(g_pCvarAmmo[0]))
}
case WIN_ZOMBIES:
{
zp_set_user_ammo_packs(i, zp_get_user_ammo_packs(i)+get_pcvar_num(g_pCvarAmmo[1]))
set_hudmessage(240, 71, 15, 0.05, 0.45, 1, 0.0, 5.0, 1.0, 1.0, -1)
show_hudmessage(0, "各喪屍獲得 %d 彈藥包", get_pcvar_num(g_pCvarAmmo[1]))
}
}
記得存成UTF-8格式 在轉成utf8nobom後再去compile