View Single Post
Manually killing in cs...
Old
  (#1)
AssasinoRuso
Member
 
Status: Offline
Posts: 8
Join Date: May 2005
Default Manually killing in cs... - 10-05-2005

I'm having trouble doing manual damage in cs.... if I remember correctly this code is enough to kill in half life but... it bugs out in cs....

pEntity->v.health = -1;

pEntity->v.deadflag = DEAD_DEAD;

pEntity->v.takedamage = DAMAGE_NO;


what happens is, the player takes the idle model animation... err the one where it's hands are sort of up with no weapon.... it becomes nonsolid, there is no death animation... if you do this to yourself then the death cam turns on.... but there is never a message or score changing or anything like that. And also you can't respawn :-/

plz help.
  
Reply With Quote