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

DeathMsg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
undead52
Senior Member
Join Date: Dec 2016
Old 12-11-2017 , 09:13   DeathMsg
Reply With Quote #1

it hook when player kill himself,how can i stop this ?
undead52 is offline
undead52
Senior Member
Join Date: Dec 2016
Old 12-11-2017 , 09:33   Re: DeathMsg
Reply With Quote #3

i dont mean block kill,

this event shouldnt work in suicide
PHP Code:
register_event("DeathMsg","event_death","a"

Last edited by undead52; 12-11-2017 at 09:40.
undead52 is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 12-11-2017 , 10:54   Re: DeathMsg
Reply With Quote #4

PHP Code:
if( read_data(1) == read_data(2) ) // killer == victim
    
return 0
__________________
My English is A0
E1_531G is offline
undead52
Senior Member
Join Date: Dec 2016
Old 12-11-2017 , 11:05   Re: DeathMsg
Reply With Quote #5

Quote:
Originally Posted by E1_531G View Post
PHP Code:
if( read_data(1) == read_data(2) ) // killer == victim
    
return 0
ty
undead52 is offline
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 20:28.


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