It really got my attention. How to make delay after weapon switch till first bullet shot faster?
I made some tests:
This weapon ent pdata values are next when you just switch:
PHP Code:
new g_iPDWeaponType 43 // -1.0 (same as when you can shoot (except awp/scout, and change doesn't help)
new g_iPDNextSecAttack 47 // 0.0 (same as when you can shoot (except awp/scout, and change doesn't help)
new g_iPD_SOMETHING_ 48 // 1.5 (starts at 1.5 and when reaches 0.0 it loops countdown from 60.0 to 0.0)
new g_iPDWhenSwitched 76 // Float:get_gametime() this is when weapon was switched to (still doesn't help)
new g_iPDFirstAwpShotAfterSwitch 132 // 1.45 (changing it to 0.0 still has the same 1.45 delay) [this is awp only]
So maybe anyone has any ideas?
// EDIT:
I assume that the only right way to change it, is when doing so pev_weaponanim is also effected by it... =P
__________________