PDA

View Full Version : Change of user kill


devicenull
03-21-2004, 22:04
Currently it just exec's kill on the player - I suggest modifying it to do like 999999999 damage to the player - as mods (like Natural Selection) that have "kill" blocked/delayed cause problems with this

/* Kills player. When flag is set to 1 then death won't decrase frags. */
native user_kill(index,flag=0);
Or make flag a bitmask
1 = dont decrease frags
2 = do massive damage w/ frag decrease
3 = do massive damage w/out frag decrease

IceMouse[WrG]
03-21-2004, 22:06
Uhh... set_user_health(id,0)?