Raised This Month: $32 Target: $400
 8% 

Solved client_death are not called


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Receiver
New Member
Join Date: Jan 2021
Old 01-04-2021 , 09:17   client_death are not called
Reply With Quote #1

Hello, everybody! client_death are not called when i killing podbots, but it is triggered when i suicide. did not find analogs, with getting the hitplace. help solve the problem or find an alternative, pls
plugin for tests:
PHP Code:
#include <amxmodx>
#include <csx>

public plugin_init()
{
    
register_plugin("unk""0x999""unk");
}

public 
client_death(killervictimweaponhittk)
{
    new 
killer_name[32], victim_name[32];
    
get_user_name(killerkiller_name32);
    
get_user_name(victimvictim_name32);

    
server_print("%s kill %s"killer_namevictim_name);


Last edited by Receiver; 01-04-2021 at 09:31.
Receiver is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-04-2021 , 09:20   Re: client_death are not called
Reply With Quote #2

show meta list output
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Receiver
New Member
Join Date: Jan 2021
Old 01-04-2021 , 09:22   Re: client_death are not called
Reply With Quote #3

Receiver is offline
Receiver
New Member
Join Date: Jan 2021
Old 01-04-2021 , 09:25   Re: client_death are not called
Reply With Quote #4

ahahah, omg, i'm idiot, and added cstrike & csx in metamod plugins.ini file. when i removed it problem solved. thank you bro, if you hadn't asked to see the meta list, I wouldn't have guessed

Last edited by Receiver; 01-04-2021 at 09:26.
Receiver is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-04-2021 , 09:34   Re: client_death are not called
Reply With Quote #5

change the cvar csstats_rankbots => 1


Quote:
Originally Posted by Receiver View Post
ahahah, omg, i'm idiot, and added cstrike & csx in metamod plugins.ini file. when i removed it problem solved. thank you bro, if you hadn't asked to see the meta list, I wouldn't have guessed


that's not the problem...!

you need to change csstats_rankbots to 1 inorder for the CSX functions/forwards to work for bots.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-04-2021 at 09:40.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply


Thread Tools
Display Modes

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 22:25.


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