SA-MP Forums Archive
Anti Inv - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti Inv (/showthread.php?tid=472760)



Anti - invulnerable - KlooP - 30.10.2013

Hello guys, I'm trying to make Anti-Inv and I'm using OnPlayerShootPlayer include by Wubs.

Here is my code:
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
	if(!HealthLost || !ArmourLost)
	{
		Kick(Target);
	}
    return 1;
}
Thanks for help Cheers!


Re: Anti Inv - iJumbo - 30.10.2013

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

Try use this callbacks.. and what is anti-inv?


Re: Anti Inv - KlooP - 30.10.2013

Quote:
Originally Posted by iJumbo
Посмотреть сообщение
I meant anti-invulnerable ^^


Re: Anti Inv - KlooP - 31.10.2013

BUMP, almost third page


Re: Anti Inv - iJumbo - 31.10.2013

Whats the problem? use the function that i send