/taser
#10

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
    if(
hittype==BULLET_HIT_TYPE_PLAYER && GetPlayerWeapon(playerid)==23){//colt
        
return 0//prevents player taking damage
    
}
    return 
1;

Use this, or set the both players in the same team in OnPlayerWeaponShop and set back in OnPlayerTakeDamage.
Reply


Messages In This Thread
/taser - by pollo97 - 21.10.2017, 17:05
Re: /taser - by TheRohlikar - 21.10.2017, 17:07
Re: /taser - by pollo97 - 21.10.2017, 17:17
Re: /taser - by TheRohlikar - 21.10.2017, 17:18
Re: /taser - by pollo97 - 21.10.2017, 17:49
Re: /taser - by GoldenLion - 21.10.2017, 18:17
Re: /taser - by jlalt - 21.10.2017, 18:24
Re: /taser - by Abagail - 21.10.2017, 18:41
Re: /taser - by CodeStyle175 - 21.10.2017, 20:07
Re: /taser - by Bruno13 - 21.10.2017, 22:19

Forum Jump:


Users browsing this thread: 2 Guest(s)