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

humans are dying


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
M4M1.
Junior Member
Join Date: Jan 2019
Old 09-25-2019 , 07:54   humans are dying
Reply With Quote #1

If a human is stabbed by the zombie, he dies and is reborn as a zombie.



how can i fix it, i've researched a lot but i can't find it.

Sorry for my english

Last edited by M4M1.; 09-25-2019 at 07:54.
M4M1. is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 09-26-2019 , 17:58   Re: humans are dying
Reply With Quote #2

Log errors? game? plugins list?
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
M4M1.
Junior Member
Join Date: Jan 2019
Old 09-27-2019 , 04:44   Re: humans are dying
Reply With Quote #3

csgo, no logs, I've just tried with the zombie reloaded and still have the same problem.
maybe it's just because I'm compiling.

can you do infect.inc change for me and compile plugin and send it to me?

if (ZRIsClientValid(attacker))
{
// Create and send custom player_death event.
new Handle:event = CreateEvent("player_death");
if (event != INVALID_HANDLE)
{
SetEventInt(event, "userid", GetClientUserId(client));
SetEventInt(event, "attacker", GetClientUserId(attacker));

if (g_Game == Game_CSGO)
{
SetEventString(event, "weapon", "zombie_walking_csgo");
}
else
{
SetEventString(event, "weapon", "zombie_claws_of_death");
}

FireEvent(event, false);
}

// Apply score and health gain.
InfectUpdateScore(attacker, client);
}
M4M1. is offline
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 18:59.


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