sebici555
Пользователь
- Регистрация
- 2 Авг 2022
- Сообщения
- 35
- Симпатии
- -4
Hi,
what should i change in the code to make this frag counter icon flashing/flickering for the first 3 seconds ? (Just like in cs the bomb icon on the bombsite of the TT player).
what should i change in the code to make this frag counter icon flashing/flickering for the first 3 seconds ? (Just like in cs the bomb icon on the bombsite of the TT player).
Код:
new iKillsNum = g_iKillStreak[pKiller]
if(0 < iKillsNum < 10) {
message_begin(MSG_ONE, g_iMsgID_StatusIcon, _, pKiller)
write_byte(0)
write_string(szSprites[iKillsNum - 1])
message_end()
}
iKillsNum = ++g_iKillStreak[pKiller]
message_begin(MSG_ONE, g_iMsgID_StatusIcon, _, pKiller)
write_byte(1)
if(iKillsNum < 10) {
write_string(szSprites[iKillsNum - 1])
write_byte(iRGB[iKillsNum - 1][R])
write_byte(iRGB[iKillsNum - 1][G])
}
else {
write_string("dmg_heat")
write_byte(225)
write_byte(0)
}
write_byte(0)
message_end()
}
Вложения
-
1,6 KB Просмотры: 2
Последнее редактирование: