any ideas how to make weapon to push zombie away.

I think somethink like this, but how to target zombie, not (m_pPlayer)

m_pPlayer->pev->velocity = m_pPlayer->pev->velocity + gpGlobals->v_forward
* 100;
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to