AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Call TE_STREAKSPLASH (https://forums.alliedmods.net/showthread.php?t=321108)

Abhinash 01-25-2020 11:55

Call TE_STREAKSPLASH
 
Hey everyone there.
I wanna call the message TE_STREAKSPLASH when hit zombie head.
In classic cs it's called automatically but in zombie mode it's not called.
I want to call it when we hit bullet on zombie head.
How to do it ?
Note. ZP Version - 4.3

Abhinash 01-26-2020 15:03

Re: Call TE_STREAKSPLASH
 
Anyone please ?

OciXCrom 01-26-2020 15:07

Re: Call TE_STREAKSPLASH
 
https://forums.alliedmods.net/showthread.php?t=310276

te_create_tracer_shower()

Abhinash 01-27-2020 11:00

Re: Call TE_STREAKSPLASH
 
Quote:

Originally Posted by OciXCrom (Post 2681742)

Can you make me a complete plugin ?
Please ?

OciXCrom 01-27-2020 13:19

Re: Call TE_STREAKSPLASH
 
This is not the requesta section. Try doing it yourself first and post the code if you have any issues.

LordDeath 01-27-2020 17:01

Re: Call TE_STREAKSPLASH
 
Code:

        RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")
Code:

public fw_TakeDamage(victim, inflictor, attacker, Float:damage)
{       
const m_LastHitGroup = 75;
if (get_pdata_int( victim , m_LastHitGroup ) == HIT_HEAD)
{
//your_code()
}
}



All times are GMT -4. The time now is 02:41.

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