[FilterScript] M's Headshot System
#7

https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage

Good luck

PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    if(
issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9)
    {
    
SetPlayerHealth(playerid0);
    
GameTextForPlayer(issuerid,"~r~Headshot",2000,3) && GameTextForPlayer(playerid,"~r~Headshot",2000,3);
    
PlayerPlaySound(playerid178020.00.00.0)  && PlayerPlaySound(issuerid178020.00.00.0);
    }
    return 
1;

Reply


Messages In This Thread
M's Headshot System - by Fancy - 02.08.2015, 19:15
Re: M's Headshot System - by HydraHumza - 03.08.2015, 08:41
Re: M's Headshot System - by maxQ - 03.08.2015, 12:23
Re: M's Headshot System - by RedLabel - 04.08.2015, 12:19
Re: M's Headshot System - by Dokins - 04.08.2015, 16:42
Re: M's Headshot System - by SpikY_ - 04.08.2015, 16:59
Respuesta: M's Headshot System - by INKISICION - 05.08.2015, 18:41
Re: M's Headshot System - by DarkLored - 05.08.2015, 19:06
Re: M's Headshot System - by Variable™ - 05.08.2015, 19:13
Re: M's Headshot System - by Fancy - 05.08.2015, 19:31

Forum Jump:


Users browsing this thread: 2 Guest(s)