帮忙做修改啰 某方胜利时会有闪闪发亮文字 (第一次改这种程式码 @@)
把这部份.....
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