Raised This Month: $51 Target: $400
 12% 

Change of user kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-21-2004 , 22:04   Change of user kill
Reply With Quote #1

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

Quote:
/* 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
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 03-21-2004 , 22:06  
Reply With Quote #2

Uhh... set_user_health(id,0)?
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode