AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   client_death not working (https://forums.alliedmods.net/showthread.php?t=197117)

avril-lavigne 09-29-2012 01:20

client_death not working
 
whats wrong ? I dont see client_print


PHP Code:

public client_death(killer,victim,wpnindex,hitplace,TK) {

        if ((
wpnindex == CSW_C4) || TK || is_user_bot(killer) || killer == victim) return
        new 
headshot = ( hitplace == HIT_HEAD ) ? 1:0
        
if (!headshot) return
        
client_print(killer,3,"Tb1 OTEC  BLA!")



avril-lavigne 09-29-2012 01:40

Re: client_death not working
 
forget // I used event damage

Bos93 09-29-2012 03:03

Re: client_death not working
 
stupid function,use Ham_TakeDamage

client_print(killer,3,"Tb1 OTEC BLA!") - LOL!

fysiks 09-29-2012 03:22

Re: client_death not working
 
Quote:

Originally Posted by avril-lavigne (Post 1808675)
forget // I used event damage

Quote:

Originally Posted by Bos93 (Post 1808697)
stupid function,use Ham_TakeDamage

client_print(killer,3,"Tb1 OTEC BLA!") - LOL!

Damage != Death . . .

Bos93 09-29-2012 03:29

Re: client_death not working
 
oops,sorry

Ham_Killed

Arkshine 09-29-2012 13:30

Re: client_death not working
 
Quote:

dont want to create another thread.
You will create a new thread. Not sure how you can say that when the original thread has nothing to do with your question. We are lucky all people don't do ask random questions in random threads like you... :roll:

ConnorMcLeod 09-29-2012 13:39

Re: client_death not working
 
About your question, be sure you have included <csx>
About the other one, create a new thread.


All times are GMT -4. The time now is 08:18.

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