Code:
stock set_animation(id, anim) {
set_pev(id, pev_weaponanim, anim)
message_begin(MSG_ONE, SVC_WEAPONANIM, {0, 0, 0}, id)
write_byte(anim)
write_byte(pev(id, pev_body))
message_end()
}
from gabenmod
you can set a weapon animation for this
so if you do set_animation(id, 4) itll show the reload animation for the m4a1
__________________
All you need to change the world is one good lie and a river of blood