Raised This Month: $ Target: $400
 0% 

[RESOLVED]deathmsg victim, never encountered?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 05-10-2010 , 03:24   Re: deathmsg victim, never encountered?
Reply With Quote #2

self resolved, removed the check, if user killerid was not alive, returning plugin_continue

Code:
 if (!is_user_alive(killerid) || !is_user_connected(victimid))
        return PLUGIN_CONTINUE
EDIT: still open, temporary fix, it isnt lasting

edit2: fixed, in my else case, I wasnt subtracting lifeloss if the player was dying
__________________
+|- KARMA Respectively


Last edited by HLM; 05-10-2010 at 03:40.
HLM is offline
 



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 03:37.


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